| | |
How to connect data base to reportviewer control
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2007
Posts: 66
Reputation:
Solved Threads: 12
Hi,
Use the following code...
Pls. mark as solved if it helps you!!!
Use the following code...
ASP.NET Syntax (Toggle Plain Text)
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim dsTemp As New ProductGridDS obj = New InventoryBusiness.ProductBusiness dsTemp = obj.GetProductInfo() 'retrieve your data here in dataset Dim rds As ReportDataSource rds = New ReportDataSource("ProductGridDS_ProductGridInfo", dsTemp.Tables(0)) 'report name =ProductGridDS_ProductGridInfo ReportViewer1.LocalReport.DataSources.Clear() ReportViewer1.LocalReport.DataSources.Add(rds) ReportViewer1.LocalReport.Refresh() End Sub
Pls. mark as solved if it helps you!!!
![]() |
Similar Threads
- how to connect with data base add data (Visual Basic 4 / 5 / 6)
- data base connection using java script (JavaScript / DHTML / AJAX)
- Access Data Base in VC++ 6 (C++)
- how to connect my data base in vb.net (VB.NET)
- conversion of text file into data base file (Visual Basic 4 / 5 / 6)
- decrementing values in data base (ASP)
- Program Problem with a select statement to access Data base (C)
- Need to make program access a data base primary key number entered by user (C)
Other Threads in the ASP.NET Forum
| Thread Tools | Search this Thread |
.net activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox class click commonfunctions control countryselector dataaccesslayer database datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iframe iis javascript listbox login microsoft mono mouse mssql news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers





