Hi Team,
I am working in asp.net use gridview control with checkbox and link button . I wan to one thing when we are retriving record in gridview from database
after check on checkbox and click on link button then update one row record only .
Note: I want to update one record only after click on checkbox inside gridview please suugest how can do this?

Shubham KumarRank #621 · 3.8K reputationPosted Feb 1, 2016, 10:46 PM EST
--your chkbox goes here
on c# codebehind::
protected void grd_RowCommand(object sender, GridViewCommandEventArgs e)
{
try
{
if (e.CommandName == "recUpd")
{
//your logic for update like if checkbox is checked so update data if not whatever
}
}
catch
{
//your exception
}
}
Shubham KumarRank #621 · 3.8K reputationPosted Feb 1, 2016, 8:43 PM EST
Davin MartynRank #285 · 8.8K reputationPosted Feb 1, 2016, 9:30 PM EST
Shubham KumarRank #621 · 3.8K reputationPosted Feb 1, 2016, 9:38 PM EST
Davin MartynRank #285 · 8.8K reputationPosted Feb 1, 2016, 9:50 PM EST
Davin MartynRank #285 · 8.8K reputationPosted Feb 3, 2016, 7:40 PM EST