hi,
I have been searching around for working with access in .Net for a while now as I am producing my first .net application since I am used to nworking in vb6.
Im hoping to try and get data from certain fields in access to be displayed in a text box.
This is probably an easy task, but I have seen posts about this on the forum refering to using the .net method instead of the .com.
So far I have successfully filled a listbox with database contents, and now I am wondering how I should be connecting to my access database correctly as I can now refer to my allready established oledb adapter. - should i br refrencing this in a connection string?
Anyway, Im hoping someone can provide me with some code, or a shove in the right direction on creating a database connection, and then filling a text box with a value for when a button is pushed,
Many thanks
Si
I have been searching around for working with access in .Net for a while now as I am producing my first .net application since I am used to nworking in vb6.
Im hoping to try and get data from certain fields in access to be displayed in a text box.
This is probably an easy task, but I have seen posts about this on the forum refering to using the .net method instead of the .com.
So far I have successfully filled a listbox with database contents, and now I am wondering how I should be connecting to my access database correctly as I can now refer to my allready established oledb adapter. - should i br refrencing this in a connection string?
Anyway, Im hoping someone can provide me with some code, or a shove in the right direction on creating a database connection, and then filling a text box with a value for when a button is pushed,
Many thanks
Si