SuperBrain
SuperBrain
CC#
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
CC#
Created by Paula on 6/2/2024 in #help
hi
53 replies
CC#
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
CC#
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
CC#
Created by Paula on 6/2/2024 in #help
hi
Specifically, you should be using OLE DB provider.
53 replies
CC#
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
CC#
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
CC#
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
CC#
Created by Paula on 6/2/2024 in #help
hi
First, don't mix terminology.
53 replies
CC#
Created by Yordle_Breeder 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
CC#
Created by Yordle_Breeder 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
CC#
Created by Yordle_Breeder 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
CC#
Created by Yordle_Breeder 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
CC#
Created by Yordle_Breeder 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
CC#
Created by Yordle_Breeder on 2/24/2024 in #help
Elements of my child view do not show on my main view
Something like that.
98 replies
CC#
Created by Yordle_Breeder 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
CC#
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
CC#
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
CC#
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
CC#
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