staticstringconstr=ConfigurationManager.ConnectionStrings["tblConnectionString"].ConnectionString.ToString();SqlConnectionconn=newSqlConnection(constr);conn.Open();SqlCommandcmd=newSqlCommand("select*fromtblgy",conn);SqlDataAdapteradp=newSqlDataAdapt