Dear freinds i want to get specific data in gridview specifc cell with the help of sql query from sql table
i put the following query but it doesn't work
Sql = "select e.item_no from nitmtbl e,purchaseitem g where e.item_name=g.item_name and g.item_name='grovita sp'"
Da = New SqlDataAdapter(Sql, Class1.Connection)
Da.SelectCommand.ExecuteNonQuery()
Dim ds As New DataSet
Da.Fill(ds, "nitmtbl")
DataGridView1.Rows(0).Cells(0).Value = ds.Tables("nitmtbl")
kindly help me