regd Datagrid
-
I told you how the last time you asked this: by extending the
DataGridColumnStyle
with your own class nad overriding the necessary properties and methods. You must then define yourDataGridTableStyle
s andDataGridColumnStyle
s explicitly. SeeDataGrid.TableStyles
in the .NET Framework SDK documentation for more information.Microsoft MVP, Visual C# My Articles
-
the following article in CP, will guide you in achieving the goal Changing the background color of cells in a DataGrid[^] Please revert back whether you could achieve the functionality or not? Regards, Jay
-
the following article in CP, will guide you in achieving the goal Changing the background color of cells in a DataGrid[^] Please revert back whether you could achieve the functionality or not? Regards, Jay
Hi, I do not know the number of coulmns in the table or name of the columns. I am dynamically reading the table data from the database. In that case how can I set the mappingname,column name etc... Is there a way to get these while reading data from database. KArteek
-
Hi, I do not know the number of coulmns in the table or name of the columns. I am dynamically reading the table data from the database. In that case how can I set the mappingname,column name etc... Is there a way to get these while reading data from database. KArteek
DataSetObject.Tables[0].Columns
gives you the collection of the columns, you can set mapping name to any string value (like someName+ i // i is the column number). I think u need to solve the problem logically (I guess, not sure)