Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by chu2654

  1. chu2654

    Why does the dropdownlist always select the same item ?

    I set the dropdownlist in page_load. Your method still doesn't work. Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) dim username as string Call Show_Subject() End Sub Sub Show_Subject() Dim SelectCmd As String Dim reader As sqlDataReader SelectCmd = "select...
  2. chu2654

    Why does the dropdownlist always select the same item ?

    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...
  3. chu2654

    Why are there more than three items in the dropdown list ?

    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")...
  4. chu2654

    How can I copy a sql server 2000 database to another site ?

    Thanks for reply. I backup the database to a test.mdf file. Then, when I try to restore it, how can I load the test.mdf. I use backup in sql enterprise manager, but I can't find the function to load the file. What's detach and attach ?
  5. chu2654

    How can I copy a sql server 2000 database to another site ?

    How can I copy a sql server 2000 database to another site ?

Part and Inventory Search

Back
Top