How to create dynamic gridview?



How to create dynamic gridview?..

Answer / Mudassar Hasan

To create a dynamic GridView, you can bind it to a DataTable that is dynamically populated with data. This can be achieved using code-behind or in the ASPX markup by setting the DataSource property of the GridView and calling the DataBind() method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

Describe datareader object of ado.net with example.

1 Answers  


How can I retrieve two tables of data at a time by using data reader?

1 Answers  


Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?

1 Answers  


How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

1 Answers   SwanSoft Technologies,


Explain how to call the sql commands asynchronously in ado.net version 2.0?

0 Answers  


what is data access layer?

2 Answers   Honeywell,


how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

1 Answers  


What is a string variable?

1 Answers  


what is clustered index?why is it created?

4 Answers   Microsoft, Wipro,


Give few examples of datareader that is used in different dataproviders.

1 Answers  


What does ado stand for in ado.net?

1 Answers  


What is the namespace in which .NET has the data functionality classes?

5 Answers   eMantras,


Categories