How to Binding data to datagridview
Are you looking for a way to Binding data to datagridview ? then read this thread to know how to bind it
I am trying to bind the data into Datagridview.
I have written the below code for Binding the data to DataGridview, but I cant see the SQL output in DataGridview Control.
SqlDataAdapter sda = new SqlDataAdapter(loSql, scon)
DataSet ds = new DataSet()
bindingSource1.DataSource = ds.Tables["Fase2"]
dataGridView1.DataSource = bindingSource1
Can you please help here to display the content in dataGridView1?