Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,
Happy christmas to all.

i want to create the form at run time and display the structures from database table.for eg.
take the table name called "tblemployee".i want to display this table structure in the form at runtime.

can anybody help me please.urgent
Posted

wrote:
can anybody help me please.urgent


If it's so urgent, why don't you just buy a book and learn C# for yourself ?

You don't say if it's a web form or a windows form, but the gridview can be pointed to any data source, and shows all the data in it automatically. Of course, I can't imagine what use such a generic form would be, or how it could be urgent.
 
Share this answer
 
You can use a DataGridView to display table data in a Windows Forms application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900