Sep 16, 2010, 1:45 PM
[CLOSED] Dynamic Labels Grid/Reader/Store
Hello,
is it somehow possible to implement a Grid which uses a DataTable/ SqlDataSource.Command/.. whatever and which
generates the Columns and Colum-Namings by itself?
For example:
Regards,
Martin
is it somehow possible to implement a Grid which uses a DataTable/ SqlDataSource.Command/.. whatever and which
generates the Columns and Colum-Namings by itself?
For example:
SELECT column1 AS NAME, colum2 AS STREET, column3 AS PHONE FROM table;
This should create a grid with Name, STreet and Phone:Name | Street | Phone |
---------------------------------------------
I am sure it can be implemented in codebehind by parsing the SQL-Select to get out Name, Street, Phone and so on via Search/Split/...-Operations. Should I do it like that or are there easier ways?Regards,
Martin
Last edited by geoffrey.mcgill; Dec 13, 2010 at 6:41 PM.
Reason: please use [CODE] tags, [CLOSED]