catch (Exception ex) { lblstatus.Text = ex.Message; } finally { SqlDataAdapter daa = new SqlDataAdapter("select * from GRADBULD ORDER BY CODE1", sqlCon); DataSet dsas = new DataSet(); daa.Fill(dsas, "GRADBULD"); GridView1.DataSourceID = "SqlDataSource1"; GridView1.DataBind(); sqlCon.Close(); btn_Add.Enabled = true; } ///DELETE END }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)