Forum Rules Today's Posts Mark Forums Read Social Groups Donate
Go Back   PinoyXtreme > PX Technology > Programming Related > Visual Basic 6/VB.NET

Reminders on Coding Sections





Reply
 
Thread Tools
Old 08-06-2012, 01:28 PM   #1
Using Report Viewer vb.Net
emman emman is offline 08-06-2012, 01:28 PM

Help naman po sa vb.net

pano po ilagay ung value ng textbox.text na galing sa ibang form sa report viewer??

kunwari merong form1 tas pag nag lagay ako sa textbox nun

pag pinrint ko kung ano ung nakalagay sa textbox ididisplay nea sa reportviewer.

gamit ko po visual studio 10 mamatx.

 
emman's Avatar
emman
Junior Member
Join Date: Aug 2011
Posts: 31



Views: 141
Reply With Quote

 Re: Using Report Viewer vb.Net
Old 08-06-2012, 03:50 PM   #2
 
CodeWarrior's Avatar

CodeWarrior
5th Division Elite-Hacker
CodeWarrior is offline
Posts: 3,788
PX Cash: 9,974
CodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond reputeCodeWarrior has a reputation beyond repute
Rep Power: 322
Default Re: Using Report Viewer vb.Net

Originally Posted by emman [Only Registered Users Can See LinksClick Here To Register]
Help naman po sa vb.net

pano po ilagay ung value ng textbox.text na galing sa ibang form sa report viewer??

kunwari merong form1 tas pag nag lagay ako sa textbox nun

pag pinrint ko kung ano ung nakalagay sa textbox ididisplay nea sa reportviewer.

gamit ko po visual studio 10 mamatx.

This Code is compatible to VB.2010 hindi ko alam sa 2008

vbnet Code:
Imports Microsoft.Reporting.WinForms Public Class Form1     Friend ReportViewer1 As New Microsoft.Reporting.WinForms.ReportViewer With {.Parent = Me, .Dock = DockStyle.Fill}     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         Dim myTitleBox As New TextBox With {.Text = "CodeWarrior Toturial"}         Me.ReportViewer1.LocalReport.ReportEmbeddedResource = "ReportTest.Report1.rdlc"         Dim Param() As Microsoft.Reporting.WinForms.ReportParameter = _         {New Microsoft.Reporting.WinForms.ReportParameter("Report_Parameter1", myTitleBox.Text)}         Me.ReportViewer1.LocalReport.SetParameters(Param)         Me.ReportViewer1.RefreshReport()     End Sub End Class  
  Reply With Quote
The Following User Says Thank You to CodeWarrior For This Useful Post:

 Re: Using Report Viewer vb.Net
Old 08-06-2012, 07:11 PM   #3
 
emman's Avatar

emman
Junior Member
emman is offline
Posts: 31
PX Cash: 672
emman is on a distinguished road
Rep Power: 92
Default Re: Using Report Viewer vb.Net

wala po bang step by step procedure? newbie lang po kasi sa vb.net mamatx po
  Reply With Quote
Reply

Bookmarks


Facebook Comments

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Your Ad Here


All times are GMT +8. The time now is 05:18 AM.


Powered by: vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Disclaimer: None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site’s users. All references are copyright to their respective owners. Pinoyxtreme.com is not responsible for what its users post, or any other actions of its users. Pinoyxtreme.com is not responsible for the accuracy, compliance, copyright, legality, decency, or any other aspect of the content of other linked sites. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms.