C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




HOW TO CREATE A CRYSTAL REPORT IN VB.NET?


Posted Date: 27 Jan 2008    Resource Type: Articles    Category: .NET Framework

Posted By: arijit chowdhury       Member Level: Bronze
Rating:     Points: 7



Introduction


TO CREATE CRYSTAL REPORT THESE ARE THE FOLLOWING STEPS:

Paragraph Heading 1



1.ON WINDOWS FORM, DRAG THE CRYSTAL REPORT VIEWER FROM THE TOOLBOX.
2.CLICK PROJECT MENU -> ADD NEW ITEM.
3.SELECT CRYSTAL REPORT -> OPEN -> CLICK ON REGISTER LATER.
4.SELECT BLANK REPORT -> CLICK OK.
5.RIGHT CLICK ON THE DATABASE FIELD(FIELD EXPLORE).
6.ADD/REMOVE DATABASE.
7.DOUBLE CLICK ON THE OLEDB(ADO) .
8.SELECT PROVIDER(MICROSOFT.JET.4.0 OLEDB PROVIDER).
9.ENTER DATABASE NAME -> OPEN -> NEXT
10. OLEDB SERVICE ->FINISH -> RIGHT CLICK THE FIELDS ON THE DETAIL SECTION.
11.SELECT EXPERT (SPECIFY CRITERIA) -> OK.

**THEN WRITE THE FOLLOWING CODE UNDER FORM_LOAD OR BUTTON_CLICK EVENTS.**


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
try
Dim c as new CrystalReport1
CrystalReportViewer1.ReportSource=c
Catch ex as Exception
MsgBox("ex.String")
EndTry
EndSub





Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Vb.net  .  Crystal report  .  Create  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Abstract or MustInherit classes in VB.Net
Previous Resource: Dependencies in cache and types of dependencies
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

Help Desk

Contact Us    Privacy Policy    Terms Of Use