If it's not already apparent, I'm new to .NET. So thanks for being patient.
1. Ok that's what I thought I needed, just not sure how to do it. Do I need to save the XML back to a Session variable to obtain the persistance? Is there a better way than that such as a way to persist the dataset?
2. Adding the row with:
oRow=oDataSet.Table[0].NewRow();
oRow["column1"] = "somedata"....
oDataSet.Table[0].Rows.Add(oRow);
DataControl.DataBind();
Thanks,
>Richard,
>
>Two questions:
>
>1) How are you persisting your data? Are you saving it in a Session variable?
>
>2) How are you adding the new row?
>
>Post a few code snippets as to how you're doing this. That might trigger a few ideas as to what you're missing.
>
>~~Bonnie
>
>
>>I have gotten a fairly basic ASPx to work. It runs against a VFP8 COM control and pulls in XML. I use a stringreader to read the data into a DataSet and populate a Table. This part all works with no real problems (except perhaps speed but that is for a later time).
>>
>>Now I'm trying to add rows to the end of the table. I have a button that will add a single row to the end of the table with a counter in the Session. It works for a single row. When I hit the button to add a second new row it simply repopulates the row that I've already added with the next counter in the key field. I have reviewed some of the articles in the .Net docs but am finding other examples to be rare. I do NOT want to save the data back to the database before adding the row. Any thoughts?
>>
>>TIA
>>Richard
State of Florida, DCF