![]() ![]() ![]() I need to set the file summary information such as Author,Ttitle,Comments etc dynamically to the exported file How can we set the file Summary information (Summary tab-Document properties) dynamically for the exported file. ![]() The application generates reports using crystal reports. object of datatable same name as database haveĭ("customerid", GetType(Integer))ĭ("Name", GetType(String))ĬmdSelect = New SqlCommand("SELECT * from tblCustomer", Cn)ĭrSA("customerid") = rdrSelect("customerid") I have an application which uses Crystal reports and VB.NET. rptDataset is object of dataset which u have already created above dataset1 have to create object of ReportDocument,ReportDocument is build in class Using Cn As New SqlConnection(strConnection) StrConnection = "Data Source=10.20.14.157\SQLEXPRESS MultipleActiveResultSets = True Initial Catalog=trial User id=sa Password=#tiger786 " Connection string as trial is database name Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load Imports Ĥ)Have to give call to display report function,on load i have given a call Add Crystal Report Viewer to the window form. Add a Crystal Report item to the project. Create a new project using ' Crystal Reports Application ' as template, named ' BarcodeforCrystalReports '. Generate a Report using Crystal Reports in Visual Studio 2010Ģnd add dataset by right click on the project and add new item Dataset then one dataset will be added now add columns to dataset for that right click on the datatable add column ,add same no of column and same name of column as database haveģrd now import 3 namespaces , Create Barcode Image in Crystal Report for WinForms using VB.NET Create a new Windows Application Project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |