Hello, I use a drop downlist "txtmajor" to retrieve data from sql server.
txtmajor.Items.clear()
While reader.Read()
txtmajor.Items.Add(reader.Item("No") & "/" & reader.Item("Subject"))
End While
But when I use txtmajor.SelectedItem.Text.ToString to show the selected item, it is always the...
Hello, I have code as following. But there are more than three items in the drop downlist. What 's the problem ? (The dropdown list is 1,1,1,1,1,2,3,1,2,3,1,2,3)
<html>
<head>
<title>Ch6-3-5.aspx</title>
<script language="VB" runat="Server">
Sub Page_Load()
Ship.items.add("1")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.