A
Agnes
My design is - load a blank form which got over 30 textbox to be filled int.
The user press "new" button, input the data, After he/she press "SAVE"
I will insert the new data into tables,
Now, some textbox got several ways to do.
Case As) by using datareader.
Dim str as string ="insert mytables into xxx values(.....)"
dim drReader as reader
dim cmd as new sql command( str,conn)
Case B ) use store procedure....
Now. my problem is i need to insert over 100 fileds in a single row.
Which way is better ?
Thanks for your advice.
The user press "new" button, input the data, After he/she press "SAVE"
I will insert the new data into tables,
Now, some textbox got several ways to do.
Case As) by using datareader.
Dim str as string ="insert mytables into xxx values(.....)"
dim drReader as reader
dim cmd as new sql command( str,conn)
Case B ) use store procedure....
Now. my problem is i need to insert over 100 fileds in a single row.
Which way is better ?
Thanks for your advice.