Bind GridView Column

How will you bind gridview particular column in datatable using windows application?

Questions by ganesh2005

Showing Answers 1 - 3 of 3 Answers

Hope we can bind a particular column in a GridView by writing the code for Connection and DataAdapters in Sql or Oledb Connection and then adding the code,
GridView1.DataSource=ds.Tables[0].DefaultView;
GridView1.Columns[1].DataBind();
Try whether it works.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions