Click here to Skip to main content
16,007,687 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello Sir,
I have to insert dynamic generated HTML Rows data in database.
should i directly insert it into database or should i take one grid put it below that HTML table.

Suppose I have 2 records in the HTML Table then should i store that data into grid and then save it into database ?

what should i do ?
Posted
Updated 17-Nov-11 18:41pm
v2

Populate gridview with Textbox column, accept input from user and strore it in database.
 
Share this answer
 
Yes, you can populate grid view using dataset,
change few rows in the editable grid.

Update your datset using dataadapter.update(ds)

the return type ss Integer. If you assign this to Integer value , you will get the number of rows updated.

You can call the Dataset.GetChanges to get the exact rows inserted/deleted/update or modified.

Hope this will help you to resolve your issue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900