Retrieve and edit checkbox in gridview (data stored in db)JEJoseph Eldho9yAsked Aug 11, 2017, 11:35 PM EDTSolvedShareLinkedInXCopy linkSaveAble to store and retrive data but not able to edit and save checkbox in asp.net c#
Retrieve and edit checkbox in gridview (data stored in db)JEJoseph Eldho9yAsked Aug 11, 2017, 11:35 PM EDTSolvedShareLinkedInXCopy linkSaveAble to store and retrive data but not able to edit and save checkbox in asp.net c#
Ravi SangtaniRank #1,947 · 751 reputation9y agoPosted Aug 11, 2017, 11:41 PM EDT✓ Accepted answer+4Hi Joseph You have to store checkbox value in database TRUE/FALSE.If checked then TRUE otherwise FALSE.You have to check condition if it is Checked or not. +4
Zakir AhamedRank #1,544 · 1K reputation9y agoPosted Sep 12, 2017, 4:31 AM EDT+4Check this Url: http://www.c-sharpcorner.com/UploadFile/jayendra/inline-editing-and-updating-in-gridview-with-check-box/ https://stackoverflow.com/questions/36929502/store-checked-checkbox-in-gridview-in-database-asp-net-c-sharp https://stackoverflow.com/questions/42366523/how-to-check-checkbox-based-on-database-values-in-c-sharp https://forums.asp.net/t/2026171.aspx?How+to+save+checked+state+of+check+box+in+repeater+ +4
JEJoseph Eldho177 reputation9y agoPosted Aug 13, 2017, 10:54 PM EDT+1I have solved the checkbox problem.The problem with my code was that I have used nested gridview in that I used Style="display: none"so thats why not working OnRowDataBound="OnRowDataBound" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black" GridLines="Vertical" ShowFooter="true" Width="100%" CssClass="ChildGrid">............. +1JEJoseph Eldho177 reputation8y agoPosted Feb 7, 2018, 2:11 AM EST0k0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravi SangtaniRank #1,947 · 751 reputationPosted Aug 11, 2017, 11:41 PM EDT
Zakir AhamedRank #1,544 · 1K reputationPosted Sep 12, 2017, 4:31 AM EDT
Joseph Eldho177 reputationPosted Aug 13, 2017, 10:54 PM EDT
Joseph Eldho177 reputationPosted Feb 7, 2018, 2:11 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts