dim str as new string str="select table1.*,table2.* from table2 inner join table1 on table1.id=table2.code where table1.id=1500 Dim mycmd As New SqlCommand mycmd.Connection = roConform mycmd.CommandText = StrSQl mycmd.CommandType = CommandType.Text Dim myda As New SqlDataAdapter Dim myds As New DataSet myda.SelectCommand = mycmd myda.Fill(myds, "table") Dim crptReport As New CryFamilyMembers1 crptReport.SetDataSource(myds) CRViewer.ReportSource = crptR
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)