Hi,
I am trying to fetch the data corresponding to the dropdown box and then filling textbox with the value from database.
Code:
set Dropdownvalue = Request.Form("Select1")
if Dropdownvalue <> "--Select--" Then
striSQL = "SELECT Stu_Name FROM tbl_College where Stu_Name = '" & Dropdownvalue& "' "
oRsss.Open striSQL, conn
The "--Select--" is not available in the database, I am putting that in the dropdown box.
I am getting the following error:
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
How to fix this?
Thank you