for those with the same question here's the answer:
Code:
SqlCommand cmd = new SqlCommand("SELECT * FROM [LnkClientDb] WHERE [DbID]=" + index.ToString() + ";", dbConn);
SqlDataAdapter data = new SqlDataAdapter(cmd);
data.Fill(temp);
foreach (DataRow row in temp.Tables[0].Rows)
Leave a comment: