Hi,
Having spent way too long on this, what has to be done to switch autogenerated columns OFF on the GridView? The property seems to be getting ignored, whether I set it in codebehind or in the propertymanager.
I've defined my columns through the collection in Vis Studio, and then call
SqlConnection cn = new SqlConnection(feedsSvr);
cn.Open();
SqlCommand cmd = new SqlCommand("ASP_GetDeltas", cn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@FeedGUID", feedGUID);
SqlDataReader dr = cmd.ExecuteReader();
radGridView1.MasterGridViewTemplate.AutoGenerateColumns = false;
radGridView1.MasterGridViewTemplate.LoadFrom(dr);
Thanks for your help!!
Paul
Having spent way too long on this, what has to be done to switch autogenerated columns OFF on the GridView? The property seems to be getting ignored, whether I set it in codebehind or in the propertymanager.
I've defined my columns through the collection in Vis Studio, and then call
SqlConnection cn = new SqlConnection(feedsSvr);
cn.Open();
SqlCommand cmd = new SqlCommand("ASP_GetDeltas", cn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@FeedGUID", feedGUID);
SqlDataReader dr = cmd.ExecuteReader();
radGridView1.MasterGridViewTemplate.AutoGenerateColumns = false;
radGridView1.MasterGridViewTemplate.LoadFrom(dr);
Thanks for your help!!
Paul