Hi guys, im new to ASP.Net and was wondering what the code was to display a Access DB

Also does anyone have any good easy to follow tutorials which will show me how to manipulate the data etc - edit, delete, add

Thanks :)

Recommended Answers

All 2 Replies

Hi guys, im new to ASP.Net and was wondering what the code was to display a Access DB

Also does anyone have any good easy to follow tutorials which will show me how to manipulate the data etc - edit, delete, add

Thanks :)

To get data from database in asp.net you have to do some simple things
first of all

take ur query in a string
take a connection odbc or oledb
then make a adapter giving it the connection and query
create a dataset
fill the dataset with the adapter
and finaly bound ur controls to the dataset

same way for insertion and updation
write query execute it through adapter to insert or update or fill

for more details if u dont understand then gimme ur mail i will send you the code file
regards
sami:mrgreen:

Well it is much easier to use AccessDataSource and it's wizard. :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.