Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie: Help me!

Status
Not open for further replies.

Sarky78

Programmer
Oct 19, 2000
878
GB

Rite then, I have been using ASP.Net for about two days now and have managed to create a form, with various fields on it, some with drop down menus with data in them, that i am using as a form for users to enter information into a database. I was thinking this is going far too well, and i was right

I have now started to look at how to allow users to edit this information and this is where i am having the problem!

First off, we are using an Access database (ech! not happy about that, but there we go) all of the example that I keep seeing are setup for use with SQL Server, which is fine, but we don't have it and the MSDN refuses to cooperate!

Can someone provide me with a really simple way of retrieving some information out of a database, and assigning that information to a text field. what i am trying to do is to use the same aspx page for the add and edit, just looking for a param in the page_load event, if it exists then populate the text fields with the data from the Access db.

Any helps would be appreciated

Tony
 
With whatever examples you have on hand that connect to SQL server, simply change all namespaces referencing SQL to OleDB. Connection string might be different, but perhaps you may use the connection wizard to build the connection string for you.

Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top