Hi All,
I'm trying to get data (2 columns) from SQL Server 2000 database (it sounds ok) to a datatable and adding these data to a hashtable for lookup and add one column to a combo box. when an item is selected from the combo box it get to the appropriate referenced value from the hash table. But when I'm going to run it, an error is occurred at the marked area. I'm sure I've done a greate mistake. Please help me to get rid of this.

VB Code:
  1. Private Sub PopulateCustomer()
  2.         '//This procedure retriews all customers
  3.         Dim SelectProducts = New SqlClient.SqlCommand
  4.         Dim myReader As SqlDataReader
  5.         MyConnection = New SqlConnection(MyCONNECTIONSTRING)
  6.         SelectProducts = New SqlClient.SqlCommand("SELECT Name, DCLink FROM Client Order By Name", MyConnection)
  7.         MyConnection.Open()
  8.         myReader = SelectProducts.ExecuteReader()
  9.         myDataColumn = New DataColumn
  10.         myDataColumn.DataType = System.Type.GetType("System.Int16")
  11.         myDataColumn.ColumnName = "id"
  12.         myDataColumn.ReadOnly = True
  13.         myDataColumn.Unique = True
  14.         tblCustomer.Columns.Add(myDataColumn)
  15.         '==>>>
  16.         myDataColumn = New DataColumn
  17.         myDataColumn.DataType = System.Type.GetType("System.String")
  18.         myDataColumn.ColumnName = "CustomerName"
  19.         myDataColumn.AutoIncrement = False
  20.         myDataColumn.Caption = "Customer Name"
  21.         myDataColumn.ReadOnly = False
  22.         myDataColumn.Unique = False
  23.         tblCustomer.Columns.Add(myDataColumn)
  24.  
  25.         If myReader.HasRows Then
  26.             Do While myReader.Read()
  27.                 myDataRow = tblCustomer.NewRow()
  28.                 myDataRow("id") = myReader.GetValue(1)
  29.                 myDataRow("CustomerName") = myReader.GetString(0)
  30.                 tblCustomer.Rows.Add(myDataRow)
  31.             Loop
  32.         Else
  33.             MsgBox("Customer Database is empty", MsgBoxStyle.Information + MsgBoxStyle.OKOnly, "Load Customer")
  34.         End If
  35.         MyConnection.Close()
  36.         MyConnection = Nothing
  37.         myReader = Nothing
  38.         Dim Lookup As New Hashtable
  39. <'--This is the area the error is occurred
  40.        [COLOR=DarkOrange] For Each Row As DataRow In tblCustomer.Rows  
  41.             Lookup.Add("id", "CustomerName")
  42.             cboCustomer.Items.Add("CustomerName")
  43.         Next[/COLOR]
  44.   '--This is the area, the error is occurred>
  45.     End Sub