Simple Insert String

Rose

New Member
Hey all...<BR><BR>Okay, so you all probably know how to use the good 'ol insert string:<BR><BR> myCommand = New OleDbCommand( "Insert INTO info ( Name, Email, ScreenName ) Values ( 'Lor', '[email protected]', 'Brrred' )", myConnection )<BR><BR>Now, here's the question. In regular asp you could use ADO to grab the values of the textboxes, AS WELL as the names of the columns in the database (so if you have a database with 20 million fields to be filled in you don't have to type all of them out in the Values/Into part of the SQL statement). Is there any way to do this in ASP.Net?
 
Back
Top