Hi, I am trying to fill in a dictionary with data from SQL server 2008 , this is my code : Query = "select frameID, siftSize from framesDef" 'Query of selection cmd.CommandText = Query Dim res = cmd.ExecuteReader() While res.Read() sic.Add(res("frameID"), res("siftSize")) res_lab.Text = sic.Count 'Just to test the dictionary End While it is displaying an error someone help please ?
Пікірлер: 4