• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

asp.net 2.0 and databases

Node_Pointer

Limp Gawd
Joined
Mar 26, 2002
Messages
313
I see a ton on information on how to retrieve and display data from a database. However, i want to add data to a database and cannot find any information. Can someone help me out? How do I add data to a database? What controls, if any, are used?

thanks in advanced
Node
 
What database in particular? If it's the Microsoft variety, then MS's "TechNet" site is a start. A better option would be to goto the nearest Border's store, and get any Dot Net books that say "Professional" or "Advanced". Other DB connections are almost as easy using ODBC objects, and Google is your friend for finding these examples.

If you could provide more details (such as database being hit, sample code blocks, etc.), then you may get some answers closer to what you need.
 
Well this is what i am doing.
I have a database with name and address fields.
I can display all the data in the table but want to populate the table with data.
I have a form with a name and address textbox. I want to press a submit button and have the data in the textboxes inserted into the database.
 
Going back to the first question -- What database are you using? Access, Sql Server 2000, Sql Server 2005, MySQL, SQLite, etc.? This can make a difference on the preferred object instantiation and methods used.

Aside from this technical question, your goal is nothing out of the ordinary and spending 10 minutes searching Google or the nearest book store will give you the answers to the general questions you are asking. If you have a specific problem with a specific piece of code that you are working on, then please post that so you can get more specific answers.
 
Back
Top