Hi
How to hide GridView column if Autogenerate columns = true. Below is my code. But i want to read its value
SQLUtility sQLUtility = new SQLUtility(); DataTable dt = sQLUtility.GeBookPlanningRecommendation(vRpl, BookCollection, StudentCollection).Tables[0]; if (dt != null) { //DataColumn Remarks = new DataColumn("Remarks", typeof(string)); //dt.Columns.Add(Remarks); DataColumn Dates = new DataColumn("Date", typeof(DateTime)); dt.Columns.Add(Dates); grdPlanning.DataSource = dt; grdPlanning.DataBind(); }
Thanks