DataGrid (Grid view) Question:
Download Questions PDF

How do you hide the columns?

DataGrid (Grid view) Interview Question
DataGrid (Grid view) Interview Question

Answer:

One way to have columns appear dynamically is to create them at design time, and then to hide or show them as needed. You can do this by setting a column’s Visible property.

Download DataGrid (Grid view) Interview Questions And Answers PDF

Previous QuestionNext Question
How do you display an editable drop-down list?How do you apply specific formatting to the data inside the cells?