No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
Re: I also had the same problem. This is how i solved my problem. Try this. [code=csharp] ReportDocument cryRpt = new ReportDocument(); cryRpt .DataSourceConnections[0].SetConnection(Path, "", false); crystalReportViewer1.ReportSource = cryRpt; [/code] where Path - is the path of your database. false - if you are not using IntegratedSecurity or true if you … | |
hi, I want to add the same ReportViewer control to the different PlaceHolders. This is what i tried [CODE] PlaceHolder placeHolderDate = (PlaceHolder)TCMain.FindControl("TP" + monitoringObjectName).FindControl("TCInner"+monitoringObjectName).FindControl("TPDate"+monitoringObjectName).FindControl("PHDate"+monitoringObjectName); DropDownList DDLDate = (DropDownList)TCMain.FindControl("TP" + monitoringObjectName).FindControl("TCInner" + monitoringObjectName).FindControl("TPDate" + monitoringObjectName).FindControl("DDLDate" + monitoringObjectName); PlaceHolder placeHolderWeek = (PlaceHolder)TCMain.FindControl("TP" + monitoringObjectName).FindControl("TCInner" + monitoringObjectName).FindControl("TPWeek" + monitoringObjectName).FindControl("PHWeek" + monitoringObjectName); DropDownList … | |
In my projects I have several ListView . I ListView I have Checked Boxes ( I have made the CheckBoxes property true in my ListViews.) I can select multiple items in my ListView. What i Want to do now is when i select multiple Items i want to marked those … | |
Re: Try This Code and see [code=csharp] if(user.Equals("Admin")) btnAdmin.Enabled = true; else btnAdmin.Enabled = false; [/code] | |
I am facing problem with crystal reprot when i run that report on to the other machine and the database source is not the same as the machine where the reprots where created. It gives a logon Failed Message. I tried the following code as well but still it give … | |
Re: use the following code. Here StockReport is my CrystalReport and i am using a dataset to fill my CrystalReport I assume you know how to do that so i have not include the code of it. [code=csharp] StockReport = new StockReport(); string Path = Application.StartupPath + "\\InventoryControl.mdb"; StockReport.DataSourceConnections[0].SetConnection(Path,"", false); StockReport.SetDataSource(dataSet); … | |
Re: This Link may be usefull [url]http://msdn.microsoft.com/en-us/library/8wch342y.aspx[/url] | |
I want to use a crystal report in my application. When i create crystal report using the standard report wizard I gave the database as the `InventoryControl\bin\Debug\InventoryControl.mdb` it works fine when i debug the program. But if i exe file and the database file and copy it to another machine … |