I'm attempting to replace the "listbox1" in this code with a "DataGrid".
foreach(DataRow dataRow in dataSet1.Tables["result"].
Rows)
{
listBox1.Items.Add(dataRow
["ArticleU
rl"].ToStr
ing()); //Displays results from SQL statement
}
Q. How would I code using a DataSet?
Q. How would I code using a DataReader?
Start Free Trial