How to insert html table values into database table?
As I am fetching datas from sql server and displaying in html table. And Now I want to insert html table values into database.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Arunava BhattacharjeeRank #635 · 3.8K reputationPosted Sep 30, 2014, 1:30 AM EDT
sujay anand104 reputationPosted Sep 30, 2014, 1:56 AM EDT
sujay anand104 reputationPosted Sep 30, 2014, 1:56 AM EDT
sujay anand104 reputationPosted Sep 30, 2014, 1:56 AM EDT
sujay anand104 reputationPosted Sep 30, 2014, 1:56 AM EDT
Arunava BhattacharjeeRank #635 · 3.8K reputationPosted Sep 30, 2014, 2:45 AM EDT
You need to bind the datasource first for repeater control and then in the ItemTemplate you need to add an edit Link Button for the editing for the primary key or the composite key which uniquely identifies your table:
CommandName="edit">Edit
Then you need your update/delete code in the "edit" command. That's how I would have done it.
http://www.dotnetfunda.com/blogs/atuldhiman/3364/aspnet-using-csharp-repeater-control-editupdatecancel-and-delete
Accept the answer if this is what you need.
sujay anand104 reputationPosted Sep 30, 2014, 2:50 AM EDT
Arunava BhattacharjeeRank #635 · 3.8K reputationPosted Sep 30, 2014, 3:56 AM EDT
Arunava BhattacharjeeRank #635 · 3.8K reputationPosted Sep 30, 2014, 3:56 AM EDT
sujay anand104 reputationPosted Sep 30, 2014, 4:03 AM EDT