Hi all
I seem to have everything working but I just cant get my DGV to load
I think I might be missing something but I'm not sure
c# Code:
DataSet ds = new DataSet(); SqlConnection conn = new SqlConnection("Server=gci-mocsqdb01;Database=mdb_rpt;Uid=caiahd_rpt;Pwd=dashboard;");//Driver={SQL Server}; String SelectCmdString = "select * from gci_requests where (gci_requests.group_name='USAT-Publishing Solutions')"; SqlDataAdapter da = new SqlDataAdapter(SelectCmdString, conn); da.Fill(ds, "gci_requests"); MessageBox.Show("done loading"); dataGridView1.DataSource = ds;
Thanks for takeing a look




Reply With Quote