public void gridbind() { DataSet ds = new DataSet(); Master_Select objmaster = new Master_Select(); objmaster.Select_Master(ds); GridView1.DataSource = ds; GridView1.DataBind(); } public void searchbind(string search_txt, string search_type) { if (search_type == "Name") { DataSet ds = new DataSet(); //ds.Tables[0].Rows.Clear(); Master_Search obj_search = new Master_Search(); obj_search.Search_select_Master(ds_search, search_txt); GridView1.DataSource = ds_search; GridView1.DataBind(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)