How to insert a new column in anywhere of DataSet?
-
DataSet allow me to add a new column to the end of DataSet . But , I want to add a new column to the first (or anywhere) of DataSet . How to insert a new column in anywhere of DataSet? Thanks a lots if you help me . imagic
Hello, First of all you can not add column in a
DataSet
. You can do it in aDataTable
. Can you explain why do you want to insert column at a specified index? Maqsood Ahmed - MCAD.net Kolachi Advanced Technologies http://www.kolachi.net -
Hello, First of all you can not add column in a
DataSet
. You can do it in aDataTable
. Can you explain why do you want to insert column at a specified index? Maqsood Ahmed - MCAD.net Kolachi Advanced Technologies http://www.kolachi.netBecase those columns aren't in database . But , I want them appear in DataGrid (in specified position) . Is DataTable allow me to insert a new column in anywhere ? Or you want me to add column sequently ? imagic -- modified at 5:19 Saturday 11th February, 2006
-
Becase those columns aren't in database . But , I want them appear in DataGrid (in specified position) . Is DataTable allow me to insert a new column in anywhere ? Or you want me to add column sequently ? imagic -- modified at 5:19 Saturday 11th February, 2006
Hello, You can add columns sequentially. You can use DataGridTableStyles for displaying column in whatever sequence you want. HTH. Cheers. Maqsood Ahmed - MCAD.net Kolachi Advanced Technologies http://www.kolachi.net
-
Hello, You can add columns sequentially. You can use DataGridTableStyles for displaying column in whatever sequence you want. HTH. Cheers. Maqsood Ahmed - MCAD.net Kolachi Advanced Technologies http://www.kolachi.net