I am displaying i number of rows with 3 columns (1 sno 2 description 3 category) . the category is in listbox. and i am generating new row for the entry after display. S.No will be generated. Description will be typed by the user. in category list box i am displaying the existing categories. and i want to make last selected category (in row i) should be selected here. how to do it.
The following code is not working for me...
<option <% if rs2("category") = Request.Form("CboCategory"&i) then %> selected <%end if %> value ="<%=rs2("category")%>"> <%=rs2("category")%></option>
please help me....
samy