coro

I am trying to access the value field which could be 1,2,3,4,5,6 or 7 depending on the selected day mon,tue,…sun using request[“day”] on the server side. But the problem is that i get the day names instead of the ids. How can i get the ids instead of the name?



Day

while (DataReader.Read())

{

<option value="" + DataReader[“dayID”] + “”>" + DataReader[“DayName”] + "

}



get text label of option
    grid.cells(i,j).getText()
get ID behind the text
    grid.cells(i,j).getValue()

where i,j - row id and column index of cell in question