hi Vickey F,
i convert the code which given earlier from C# to vb.net
but i receive error in some lines and how i can the dataset in crystal reportviewer......
Dim dt As New DataTable()
dt.Columns.Add("col1")
dt.Columns.Add("col1")
Dim r As DataRow = dt.NewRow()
r(0) = lbl.Text
r(1) = txt.Text
dt.Rows.Add(r)
'Now assign this dt to crystal report as datasource.
Dim RptDoc As New ReportDocument()
RptDoc.Load(Server.MapPath("~/CrystalReport.rpt")) \\i receive error on the syntax Server
RptDoc.SetDataSource(dt)
CrystalReportViewer1.ReportSource = RptDoc
CrystalReportViewer1.DataBind() \i receive error on the syntax .databind
how i can call the dataset in the crystal report under database field
........