Hi,
I use the telerik GridView and read datas from a XML in this. Now I will write an XML from the GridView. I will read it same as a normaly windows list view element so this code i used for this:
So my question how can I read this with a teleric grid view?
foreach (GridDataItem item in RadGrid1.Items)
{
}
doesn´t run. I got the error:The type or namespace name 'GridDataItem' could not be found (are you missing a using directive or an assembly reference?)
Thanks for help
Thomas
I use the telerik GridView and read datas from a XML in this. Now I will write an XML from the GridView. I will read it same as a normaly windows list view element so this code i used for this:
foreach
(ListViewItem lvi
in
lvPending.Items)
{
writer.WriteStartElement(
"transaction"
);
writer.WriteStartElement(
"eventId"
);
writer.WriteString(lvi.SubItems[0].Text);
writer.WriteEndElement();
//eventID
writer.WriteStartElement(
"orderNumber"
);
writer.WriteString(lvi.SubItems[1].Text);
foreach (GridDataItem item in RadGrid1.Items)
{
}
doesn´t run. I got the error:The type or namespace name 'GridDataItem' could not be found (are you missing a using directive or an assembly reference?)
Thanks for help
Thomas