16,004,686 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Shanmugam Rathakrishnan (Top 11 by date)
Shanmugam Rathakrishnan
8-Feb-13 4:28am
View
Thanks for your reply, but i have solved it by the below solution...
Shanmugam Rathakrishnan
24-Jan-13 5:52am
View
refer my solution...
Shanmugam Rathakrishnan
24-Jan-13 1:10am
View
Normally You don't need it. but, you can do this by reloading the Form_load of the form...
Shanmugam Rathakrishnan
24-Jan-13 1:02am
View
\d is a digit, + is 1 or more numbers, so a sequence of 1 or more digits
Shanmugam Rathakrishnan
18-Jun-12 5:29am
View
hi, Thanks for ur reply...
i tried by what u said above but the problem is not solved yet...
i am using 2 tables in my report both r individual tables and both r mentioned in sub-reports(subrep1,subrep2) of cryatalreport1.
i also using record selection formula for both sub-reports.
So i wrote the by this...
rd.Load(AppDomain.CurrentDomain.BaseDirectory + "CrystalReport1.rpt");
ConnectionInfo coninfo = new ConnectionInfo();
coninfo.DatabaseName = "Stock.mdb";
coninfo.ServerName =Application.StartupPath;
coninfo.UserID = "u1";
coninfo.Password = "pwd";
TableLogOnInfo tableconinfo = new TableLogOnInfo();
tableconinfo.ConnectionInfo = coninfo;
CrystalReport1 cr1 = new CrystalReport1();
cr1.Subreports[0].Database.Tables[0].ApplyLogOnInfo(tableconinfo); cr1.Subreports[1].Database.Tables[0].ApplyLogOnInfo(tableconinfo);
pls guide me is that right r wrong...
Shanmugam Rathakrishnan
27-Feb-12 4:45am
View
k la...
For the final make sure ur Application's target framework is pointing to ".Net Framework 4"...
Shanmugam Rathakrishnan
27-Feb-12 4:30am
View
sry yar i dont know...(archive ur project and send to me i will show to my friends and solve it for u...) if u wish....
Shanmugam Rathakrishnan
27-Feb-12 4:06am
View
make sure u added the following references in solution Explorer ...
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.InfoStore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
Microsoft.ReportViewer.Common
Microsoft.ReportViewer.Common
Shanmugam Rathakrishnan
27-Feb-12 3:39am
View
ReportDocument rd = new ReportDocument();
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter();
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["sql"].ConnectionString);
rd.Load("E:\\DotNet Projects\\SmsTest\\SmsTest\\CrystalReport1.rpt");
SqlCommand cmd = new SqlCommand("Select * from ClientTable",con);
con.Open();
da = new SqlDataAdapter(cmd);
da.Fill(ds);
crystalReportViewer1.ReportSource = rd;
crystalReportViewer1.Refresh();
code like the above format....
Shanmugam Rathakrishnan
27-Feb-12 1:27am
View
Please show ur full code... i will try and tell u the solution...
Shanmugam Rathakrishnan
7-Feb-12 23:41pm
View
hi in my program the registry key deleted at uninstall. so if i reinstall my program trial is continue to next 30 days. how to solve this problem.
Show More