Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~3K People Reached
Favorite Tags

8 Posted Topics

Member Avatar for itslucky

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 …

Member Avatar for S.L.KEER
0
2K
Member Avatar for hemaljoes

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 …

0
102
Member Avatar for hemaljoes

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 …

Member Avatar for serkan sendur
0
115
Member Avatar for Rhuntsman21

Try This Code and see [code=csharp] if(user.Equals("Admin")) btnAdmin.Enabled = true; else btnAdmin.Enabled = false; [/code]

Member Avatar for hemaljoes
0
165
Member Avatar for hemaljoes

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 …

Member Avatar for DdoubleD
0
166
Member Avatar for Lakshith

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); …

Member Avatar for hemaljoes
0
83
Member Avatar for Dimansu

This Link may be usefull [url]http://msdn.microsoft.com/en-us/library/8wch342y.aspx[/url]

Member Avatar for sknake
0
97
Member Avatar for hemaljoes

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 …

0
53