I have a data set with about 15 columns, and I also have an ASP.net gridview. I was wondering if any one knew how I can populate the gridview with the dataset, but the issue is I just want a few of the columns from the dataset.
at the moment I'm just doing
GridView1.DataSource = ds;
GridView1.DataBind();
but this obviously binds all the columns from the dataset to the gridview.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…