foreach (GridViewRow gvrow in gvPM.Rows) { int usrid = Convert.ToInt32(gvPM.DataKeys[gvrow.RowIndex].Value); sqlDataSource.DeleteParameters["messageID"].DefaultValue = usrid.ToString(); sqlDataSource.Delete(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)