Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
SuperBrain
Posts
Comments
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
As far as I can tell, it seems like they show everything you need to do to connect to your database.
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
Did you properly follow all the steps explained here?
https://learn.microsoft.com/en-us/visualstudio/data-tools/connect-to-data-in-an-access-database-windows-forms?view=vs-2022
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
For reference, there are 2 MS Access database formats: -
mdb
- which is the old format -
accdb
- the new file format which is used today
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
You'll have to figure out the correct connection string specific to
accdb
database format.
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
Specifically, you should be using OLE DB provider.
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
As already stated, MS Access is old tech, which means you got to use "old tech" methods to work with it.
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
Second, I'm not sure where you got the idea to use
Microsoft.Data.SqlClient
, but that isn't going to work.
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
You're not trying to connect Access to Visual Studio, you are trying to access MS Access database in
accdb
format from your Windows Forms C# project.
53 replies
C
C#
•
Created by Paula on 6/2/2024 in
#help
hi
First, don't mix terminology.
53 replies
C
C#
•
Created by Kingdawanage on 2/24/2024 in
#help
Elements of my child view do not show on my main view
Does that make more sense?
98 replies
C
C#
•
Created by Kingdawanage on 2/24/2024 in
#help
Elements of my child view do not show on my main view
You need to properly assign (as in "pass" a reference) child control's DataContext to one that is already instantiated in parent.
98 replies
C
C#
•
Created by Kingdawanage on 2/24/2024 in
#help
Elements of my child view do not show on my main view
Your child wants to use a ViewModel which is instantiated in parent.
98 replies
C
C#
•
Created by Kingdawanage on 2/24/2024 in
#help
Elements of my child view do not show on my main view
In your case, you have a parent and child control.
98 replies
C
C#
•
Created by Kingdawanage on 2/24/2024 in
#help
Elements of my child view do not show on my main view
Basically, what you need to understand is, in XAML (WPF), there's 2 standard ways of assigning a DataContext - in XAML or in code. You should use only one and never both.
98 replies
C
C#
•
Created by Kingdawanage on 2/24/2024 in
#help
Elements of my child view do not show on my main view
Something like that.
98 replies
C
C#
•
Created by Kingdawanage on 2/24/2024 in
#help
Elements of my child view do not show on my main view
@Yordle_Breeder do you know what an instance is? 👀
98 replies
C
C#
•
Created by MarcoART_ on 1/15/2024 in
#help
How to insert an image from a MediaPicker into my database in C# (MAUI)
Paths stored in database should point to images stored there.
20 replies
C
C#
•
Created by MarcoART_ on 1/15/2024 in
#help
How to insert an image from a MediaPicker into my database in C# (MAUI)
So that's where you should be uploading the images too.
20 replies
C
C#
•
Created by MarcoART_ on 1/15/2024 in
#help
How to insert an image from a MediaPicker into my database in C# (MAUI)
Or does every device have their own database?
20 replies
C
C#
•
Created by MarcoART_ on 1/15/2024 in
#help
How to insert an image from a MediaPicker into my database in C# (MAUI)
Is it on the server somewhere?
20 replies