Help in replacing table of web in Windows application
-
Hi! I m building a windows application in visual studio.net 2003....i want to display my data in the format like we can display in table control of asp.net web application. Basically i want to read one row from database and display it like its first column in first row of control,second column in second row of control and so on alongwith their column names as its heading. Can u help me in this context or can u give me the control name in which i can access its particular cell like we can in table of asp. i tried datagrid but first problem is that its displays one row of database in row format and secondly i can't format its one cell acc to my requirement like making that cell's text bold etc. Thanx
-
Hi! I m building a windows application in visual studio.net 2003....i want to display my data in the format like we can display in table control of asp.net web application. Basically i want to read one row from database and display it like its first column in first row of control,second column in second row of control and so on alongwith their column names as its heading. Can u help me in this context or can u give me the control name in which i can access its particular cell like we can in table of asp. i tried datagrid but first problem is that its displays one row of database in row format and secondly i can't format its one cell acc to my requirement like making that cell's text bold etc. Thanx
I'm not an expert on Winforms, but once you have a DataSet, shouldn't you be able to manipulate it the way you want?
EEmaan wrote:
secondly i can't format its one cell acc to my requirement like making that cell's text bold etc
Have you checked out a DataGrid's events?
Cheers, Vıkram.
Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password:
byalmightybob