Insert multiple rows into Database
-
Please help i have a customer id in textbox, a listview listing 2 to 3 items. So what i want is to insert this into a database with out the id on the textbox changing. Which means i want to add 3 rows at the same time, without changing the id in the textbox. ID on TextBox = 1 Sample on ListView Name Descr Amount Mouse Black 20 Keyboard Black 30 USB 256MB 200 This is what i want the output to be like sample on Database 1 Mouse Black 20 1 Keyboard Black 30 1 USB 256MB 200 Please Back of i'm coding!!!!
-
Please help i have a customer id in textbox, a listview listing 2 to 3 items. So what i want is to insert this into a database with out the id on the textbox changing. Which means i want to add 3 rows at the same time, without changing the id in the textbox. ID on TextBox = 1 Sample on ListView Name Descr Amount Mouse Black 20 Keyboard Black 30 USB 256MB 200 This is what i want the output to be like sample on Database 1 Mouse Black 20 1 Keyboard Black 30 1 USB 256MB 200 Please Back of i'm coding!!!!
Suppose: Text Box = tb List Box = lb Pseudo code : for(int i=0; i
-
Suppose: Text Box = tb List Box = lb Pseudo code : for(int i=0; i
-
Thanks I understand this using a listbox, but i'm using a ListView with 3 column and 2 rows. So what i want is get Cell1, cell2, and cell3 at the same time and insert them Aints never sleep at all, so why should I?
hi make dataset of ur data... and update like this dataadapter.update(dataset); i.e. da.update(ds);
-
hi make dataset of ur data... and update like this dataadapter.update(dataset); i.e. da.update(ds);