Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Working with data base Pin
PIEBALDconsult22-Dec-12 12:58
mvePIEBALDconsult22-Dec-12 12:58 
GeneralRe: Working with data base Pin
jschell22-Dec-12 14:05
jschell22-Dec-12 14:05 
GeneralRe: Working with data base Pin
Simon_Whale23-Dec-12 0:05
Simon_Whale23-Dec-12 0:05 
AnswerRe: Working with data base Pin
Abhinav S25-Dec-12 4:49
Abhinav S25-Dec-12 4:49 
Questionhow to mark my location and my neighbor location in sample map(not google map) ? Pin
Deenuji22-Dec-12 2:15
Deenuji22-Dec-12 2:15 
AnswerRe: how to mark my location and my neighbor location in sample map(not google map) ? Pin
Simon_Whale22-Dec-12 4:15
Simon_Whale22-Dec-12 4:15 
GeneralRe: how to mark my location and my neighbor location in sample map(not google map) ? Pin
Deenuji23-Dec-12 19:02
Deenuji23-Dec-12 19:02 
Questionmultiple user chat appliction Pin
minu r21-Dec-12 20:56
minu r21-Dec-12 20:56 
AnswerRe: multiple user chat appliction Pin
Simon_Whale21-Dec-12 21:33
Simon_Whale21-Dec-12 21:33 
QuestionHow to make .net DLL to reference its dependent DLLs present in other folder. Pin
KASR121-Dec-12 19:57
KASR121-Dec-12 19:57 
Questionweb content management system Pin
nishant231021-Dec-12 6:51
nishant231021-Dec-12 6:51 
AnswerRe: web content management system Pin
Pete O'Hanlon21-Dec-12 9:53
mvePete O'Hanlon21-Dec-12 9:53 
GeneralRe: web content management system Pin
nishant231026-Dec-12 5:39
nishant231026-Dec-12 5:39 
Questionam i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:29
crohnsandme21-Dec-12 5:29 
AnswerRe: am i doing something wrong with the and operator? Pin
PIEBALDconsult21-Dec-12 5:32
mvePIEBALDconsult21-Dec-12 5:32 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:44
crohnsandme21-Dec-12 5:44 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:47
crohnsandme21-Dec-12 5:47 
GeneralRe: am i doing something wrong with the and operator? Pin
PIEBALDconsult21-Dec-12 7:12
mvePIEBALDconsult21-Dec-12 7:12 
AnswerRe: am i doing something wrong with the and operator? Pin
Richard MacCutchan21-Dec-12 6:27
mveRichard MacCutchan21-Dec-12 6:27 
GeneralC# and PostgreSQL Pin
tashee21-Dec-12 2:22
tashee21-Dec-12 2:22 
GeneralRe: C# and PostgreSQL Pin
Keith Barrow21-Dec-12 3:02
professionalKeith Barrow21-Dec-12 3:02 
QuestionC#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
S Akshay20-Dec-12 23:54
S Akshay20-Dec-12 23:54 
I am doing hospital project(desktop application)
I am using SAP crytal reports for prescription & certificates.

Here is my code:

ReportDocument cryRpt = new ReportDocument();
cryRpt.Load(@"D:\Paranjpe_Hospital\Paranjpe_Hospital\CrtlRpt_OPD_pres_gen.rpt");
cryRpt.SetDataSource(ds.Tables[0]); //check it by writing only ds
Print_All_Certificates opd_pres = new Print_All_Certificates();
opd_pres.crystalReportViewer_all_certificates.Refresh();
opd_pres.crystalReportViewer_all_certificates.DataBindings.Clear(); //check it
opd_pres.crystalReportViewer_all_certificates.ReportSource = cryRpt;
opd_pres.Show();

Here problem is that ,when I printing prescription,it is always showing 1st prescription.

So,everytime I have to click on > ("Go to last page") in cryatal report viewer then it shows current prescription & then I am printing it.

How can I print current prescription without clicking on > ("Go to last page") in cryatal report viewer?

Please tell me solution of this problem.
AnswerRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
Dave Kreskowiak21-Dec-12 4:12
mveDave Kreskowiak21-Dec-12 4:12 
GeneralRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
S Akshay21-Dec-12 4:42
S Akshay21-Dec-12 4:42 
GeneralRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
Dave Kreskowiak21-Dec-12 4:53
mveDave Kreskowiak21-Dec-12 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.