I am trying to insert alot of new data into a database.
I have used INSERT ...VALVES on a smaller query but this table has 32 feilds and it keeps erroring.
I use a stringbuilder to build the statment which seems correct.
I was wondering is there an easier way to do this giving each field a valve then updating i.e
username = textbox1.text
modify_date = data.now
so I can list all the fields and assign the commands then run the insert.
I have used INSERT ...VALVES on a smaller query but this table has 32 feilds and it keeps erroring.
I use a stringbuilder to build the statment which seems correct.
I was wondering is there an easier way to do this giving each field a valve then updating i.e
username = textbox1.text
modify_date = data.now
so I can list all the fields and assign the commands then run the insert.