I am converting an asp page to asp.net and I am one section away from getting it to work.
Here is what I have...
Do Until rs.EOF
HttpContext.Current.Response.Write("<option value=""" & rs(0) & """>" & rs(1) & "</option>" & vbCrLf)
rs.MoveNext()
Loop
I get an error that says Cast from type 'Field' to type 'String' is not valid. Not sure what is wrong.
Thanks for the help.
Here is what I have...
Do Until rs.EOF
HttpContext.Current.Response.Write("<option value=""" & rs(0) & """>" & rs(1) & "</option>" & vbCrLf)
rs.MoveNext()
Loop
I get an error that says Cast from type 'Field' to type 'String' is not valid. Not sure what is wrong.
Thanks for the help.