Michel,
>>Isn't this approach primitive? With all I heard about .NET, isn't there a way to use EOF approach and scan within a normal way? Basically, anything simple such as Visual FoxPro?<Well, I don't see what's the big deal or what's so primitive about it ... there are the same number of lines of code between this:
>For i = 0 To loData.Tables("Temp").Rows.Count - 1 Step i + 1
> Response.Write("<LI>" + loData.Tables("Temp").Rows(i)("UserGroup"))
>Next
and this:
select MyTable
scan
put your code here
endscan
Actually, that's not true ... there's one more line of code with VFP if you need to make sure your table's selected first.
~~Bonnie
>>You can do foreach in C#, I'm not sure if one is available in VB.NET, I don't believer there is.
>>
>>DataSet ds = new DataSet();
>>
>>string Response = "";
>>foreach(DataRow row in ds.Tables["Temp"]) {
>> Response += row["UserGroup"].ToString():
>>}
>>
>
>Isn't this approach primitive? With all I heard about .NET, isn't there a way to use EOF approach and scan within a normal way? Basically, anything simple such as Visual FoxPro?