Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Arne #1
Creating Datarow
I can add a datacolumn to a datarow at any time.
How can I add a datarow to a table in a dataset?
Arne Guest
-
DataRow
hello all, are the datarow index mantained when DataTable is sorted by clicking on the column header? that is .. if the first row is index 1,... -
Using Datarow, how do I get the data out of each
column in the current row? For example, I have a datagrid filled up with a database and the user clicks on the edit button. I want to go to another... -
Is e.Item.DataItem (DataRow) available on postback??
Hi, I'm having trouble accessing e.Item.DataItem on postback, specifically in the ItemCommand event. e.Item.DataItem is returned as null. I... -
DataRow, WebService question
I am writing a WindowsForms based application that uses WebServices to add records to a SQL Server database, and later query those, and other... -
Convert DataRow content to bool
Hi Have you tried (bool)dr ? If field is of type bool it should be ok. Hope this help, -- Ignacio Machin, -
Elton Wang #2
Re: Creating Datarow
DataColumn col = New DataColumn("colName",Type.GetType("System.String") ;
datatable.Columns.Add(col);
DataRow row = datatable.NewRow();
// assign data to the row
datatable.Rows.Add(row);
HTH
"Arne" <Arne@discussions.microsoft.com> wrote in message
news:E8D17EBA-C4D4-4FCB-BC80-207ADE037CDC@microsoft.com...>I can add a datacolumn to a datarow at any time.
> How can I add a datarow to a table in a dataset?
Elton Wang Guest



Reply With Quote

