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.