<%
@ Register assembly="Telerik.ReportViewer.WebForms, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>
<%
@ Import Namespace="System.Collections.Generic" %>
<%
@ Import Namespace="System.Data" %>
<%
@ Import Namespace="System.Data.sqlClient" %>
<%
@ Import Namespace="Telerik.Reporting" %>
<%
@ Import Namespace="Telerik.ReportViewer.WebForms" %>
<%
@ Import Namespace="UnityTelerik" %>
page load code:
Con.Close()
Con.Open()
Dim dts As New DataSet
da =
New SqlDataAdapter("select * from purchase order by lot_no", Con)
da.Fill(dts,
"purchase")
Dim objectDataSource As New
objectDataSource.DataSource = dts.Tables(0)
Dim c As New Report1
c.DataSource = objectDataSource
ReportViewer1.Report = c
ReportViewer1.RefreshReport()
Please advice me. to see my uploaded page visit telerik.mallikasoft.com