U'r question is already in dropdwonlist so you can get question on your question textbox and in the event of dropdwonlist_selectindexchanged you get your answer from database and assign it to answer textbox event dropdwonlist_selectindexchanged txtquest.text=dropdwonlist.selecteditem Nand Nand
N
Nand Kumar Das
@Nand Kumar Das
Posts
-
Error: Dropdown list -
append the listitems as a comma seperated stringFirst u should convert list items into one string seperated by comm(,) and stored it in a string type variable with concatenation. and then stored the variable into datbase field. Use this code for converting global decalartion dim i as int dim st as string for i=0 to i<=ListBox1.item.count-1 if i<>ListBox1.item.count-1 then st +=ListBox1.item(i) & "," else st +=ListBox1.item(i) End if Next BY Nand Nand
-
Communication Between asp.net fileswell i have tested this code it really works great
-
SqlDataSource Select statementI used following code and i get result u can try it -- modified at 6:47 Wednesday 1st August, 2007 Nand Kumar das
-
how to pass variable value to image control property:-DUse string type variable and assign it to image control property (it means take i as a string type varible) Nand Kumar Das