SqlConnection CON1 = new SqlConnection(); CON1.ConnectionString = DATAPROVIDER.DataProvider.ConnectionString; CON1.Open(); SqlCommand b21 = new SqlCommand("select * from " + DetailTableName); GridEXTable _table1 = ((GridEX)ChildControl).RootTable; SqlDataAdapter sda1 = new SqlDataAdapter(b21.CommandText, CON1); SqlCommandBuilder cmb1 = new SqlCommandBuilder(sda1); cmb1.GetDeleteCommand(); sda1.Update(table); CON1.Close();
table
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)