Dim strSql As String
strSql = " Select * from quazatoknitting where yarn_recchno= '" & txtchno.Text & "'"
Dim strSql1 As String
'strSql1 = " Select rec_qty from recfromknitting where yarn_recchno= '" & txtchno.Text & "'"
Dim da As New SqlDataAdapter(strSql + strSql1, objconnection)
Dim dt As New DataTable
da.Fill(dt)
If dt.Rows.Count > 0 Then
grd1.DataSource = dt
'Elsegrd1.DataSource = dt1
' MessageBox.Show("No records found ", "No Records Found", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
i am using above code to display multiple table records into datagrid but it was displaying only one table records(quazatoknitting)