ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  VB.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
how to connect crystal report with vb.net ?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to connect crystal report with vb.net ?
Answer
# 1
Click on Project menu
then Click Add New Item
Choose Crystal Report
Give the name of the report that you want to give
Click on Add Report
 
Is This Answer Correct ?    4 Yes 1 No
Ranjith
 
  Re: how to connect crystal report with vb.net ?
Answer
# 2
Take crystal report from toolbox .Take New form (I named it 
frmRpt)Then take crystal report Viewer from tool box and 
place it on new form(frmRpt) I named crystal report Viewer 
as crptVW 
double click on newform(frmRpt) and place this code---

Public Class frmRpt
    Public strRptName As Object
    Public strRptFilter As String
    Private Sub frmRpt_Load(ByVal sender As System.Object, 
ByVal e As System.EventArgs) Handles MyBase.Load
        If strRptFilter <> "" Then
            crptVW.SelectionFormula = strRptFilter
        End If
        crptVW.ReportSource = strRptName
        crptVW.Show()
    End Sub
End Class


now if u want to call it on button_click then paste this 
code on that button_click event ------

Dim objRpt As New frmRpt
        objRpt.strRptName = New crList
        ' objRpt.strRptFilter = "{ConsultantMaster.ConId}=" 
& cboConIDX.SelectedValue 'if want to filter
        objRpt.Show()

'now u can open as many crystal report just paste code 
above on button_click()
 
Is This Answer Correct ?    2 Yes 0 No
Kafeel Ahmad
 
 
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
Why Datareader is useful?  5
What is the Difference between Web User Control and Web Custom Control?  5
What is the difference between Dataset and Recordset?  7
how to get sum of two numbers in vb.net?  2
What is the difference b/w Readonly Variable and Constant Variable? Sonata5
sql satement for 2nd maximum value NIIT10
hi dear ? MY problem is that i m developing software for Library. and i want to connect a third party software with my VB.net program in order to calculate DDC number.I dont know how to do this if any body can help me please?  1
in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?  1
what r the properties should be given to set method? PSI-Data-Systems2
How do you do multithreading application in VB ? Satyam4
How to Insert a TextBox value in to Sql database using VB.Net coding?  3
Is VB.NET object oriented? What are the inheritances does VB.NET support ? Digital-GlobalSoft11
What is the Difference between Overriding and overloading?  11
what do you mean by .Net Framework Guru-Tech11
Do event have return type?  7
when a program of vb.net is written in notepad it occupies always 1kb of memory why?  1
What is versioning in .NET?  2
What is the Difference between CLR & CTS?  2
Advantage of vb.net over vb ? Digital-GlobalSoft5
How do you validate Date by using which validation Control? HCL3
 
For more VB.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com