|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Linking XML File to a DatagridCan anyone suggest how I might set the property "Visible=False" of a datagrid's column. Important : We are using a DataSet intialized with an XML File, to feed the Datagrid. The debugger shows this error : << Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index >> Thanks in advance,Best Regards, Kenoben Hi Kenoben,
You can use c# datagrid.Columns[col_index].Visible = false VB.NET datagrid.Columns(col_index).Visible = False It doesn't matter you use XML, db, or other data source to fill dataset as datagrid's data source. HTH Elton Wang elton_w***@hotmail.com >-----Original Message----- property "Visible=False" of a >Hi, > >Can anyone suggest how I might set the >datagrid's column. File, to feed the > >Important : We are using a DataSet intialized with an XML >Datagrid. than the size of the > >The debugger shows this error : ><< >Index was out of range. Must be non-negative and less Show quoteHide quote >collection. Parameter name: index >>> > >Thanks in advance, > >Best Regards, > >Kenoben > >. >
ASP.NET - How to bind() a dataset to a datagrid using javascript from the client
Pop-up Message Box binding ArrayLists to DataGrids-- how to name the columns? Subclassing a DataGrid control Newbie: Datagrid Comes Up Blank?!? trying to display header only HOWTO: Bring that row back into focus ... Wrong window gets the content Two questions: datagrid with string[] and how to differentiate between columns using datagrid |
|||||||||||||||||||||||