Can you manually populate a datagrid? I want to put info in it that's not coming from a database.<BR><BR>Thanks for any help!<BR>Erica
Are you binding any data to the datagrid at all? the easiest way I have found is to build a datatable, add you rows that you want formatted how you want, then bind the datatable to the datagrid
No, it wasn't going to come from a database at all, just some rows they've entered info in on a form. But I suppose I can store it in an xml string and then put it in the datagrid. Any clue how to bind a datagrid control to an xml string?
dim objDS as dataset = new Dataset()<BR>dim xmlSR As System.IO.StringReader = New System.IO.StringReader(strXML)<BR>objDS.ReadXml(xm lSR)<BR>dgOut.datasource = objDS<BR>dgOut.DataBind()