locked
Crystal reports and multiple tables in asp.net RRS feed

  • Question

  • User533542888 posted

    Please help me to access this asp.net code for crystal report. it is working with vb.net but not with asp.net

    dim dts as integer=1
    Dim ds As New DataSet
    Dim da As New SqlDataAdapter("select * from Billinfo b, Item_Sold i where b.iBill_no=IBill_No and b.iBill_no = " & dts, conn)
    Openconnection()
    
    da.Fill(ds, "Item_Sold")
    
    Dim obj As New TransactionReportPrint
    obj.Database.Tables(0).SetDataSource(ds.Tables("Item_Sold"))
    CrystalReportViewer1.ReportSource = obj
    conn.Close()

    Thursday, January 15, 2015 3:11 PM

All replies