hello
GridViewRow row = IsUnsettled.NamingContainer as GridViewRow;
HiddenField hdfID = row.FindControl("hdfID") as HiddenField;
TextBox txtResult = row.FindControl("txtResult") as TextBox;
string id = hdfID.Value;
var update = (from t1 in db.tbl_BetSlipEvents where t1.EventId == id select t1).FirstOrDefault();
update.IsWinning = 1;
update.Result = txtResult.Text;
db.SubmitChanges();
my code...
i want to update multiple in the same time if have the same eventid
Go to the complete details ...