Click here to Skip to main content
15,921,113 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 3:17
All Time Programming3-Feb-11 3:17 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 2:56
All Time Programming3-Feb-11 2:56 
GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 3:06
mveOriginalGriff3-Feb-11 3:06 
GeneralRe: How to run a Command and retrieve data from it ? [modified] Pin
All Time Programming3-Feb-11 3:27
All Time Programming3-Feb-11 3:27 
AnswerRe: How to run a Command and retrieve data from it ? Pin
PIEBALDconsult3-Feb-11 1:44
mvePIEBALDconsult3-Feb-11 1:44 
QuestionPrint Settings for ReportViewer pogrammatically Pin
freshonlineMax2-Feb-11 18:24
freshonlineMax2-Feb-11 18:24 
GeneralRe: Print Settings for ReportViewer pogrammatically Pin
Praveen Raghuvanshi2-Feb-11 19:07
professionalPraveen Raghuvanshi2-Feb-11 19:07 
GeneralRe: Print Settings for ReportViewer pogrammatically Pin
freshonlineMax2-Feb-11 19:46
freshonlineMax2-Feb-11 19:46 
Thank you.
I created my Report and i can see it at run time, But for printing, everytime user should open printer settings and change the paper size.
i want to set paper size at design time and print the report programmatically.
I wrote below code (doesnt work):
this.reportViewer1.PrinterSettings.DefaultPageSettings.PaperSize.Height = 1169;
this.reportViewer1.PrinterSettings.DefaultPageSettings.PaperSize.Kind = PaperKind.A4Extra;   //Error, Kind is Read-Only
this.reportViewer1.RefreshReport();

Also i couldn't find PrintReport option for ReportViewer.
Question[Solved] Drag'N'Drop to and on control [modified] Pin
lukeer2-Feb-11 4:04
lukeer2-Feb-11 4:04 
AnswerRe: Drag'N'Drop to and on control Pin
Henry Minute2-Feb-11 9:25
Henry Minute2-Feb-11 9:25 
GeneralRe: Drag'N'Drop to and on control Pin
lukeer4-Feb-11 0:17
lukeer4-Feb-11 0:17 
Questionbound datagridview new row problem Pin
Erdinc272-Feb-11 2:22
Erdinc272-Feb-11 2:22 
AnswerRe: bound datagridview new row problem Pin
Not Active2-Feb-11 3:47
mentorNot Active2-Feb-11 3:47 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 4:13
Erdinc272-Feb-11 4:13 
GeneralRe: bound datagridview new row problem Pin
Not Active2-Feb-11 14:57
mentorNot Active2-Feb-11 14:57 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 20:48
Erdinc272-Feb-11 20:48 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 23:45
Erdinc272-Feb-11 23:45 
QuestionBind Combo Box with current year months Pin
sumit70341-Feb-11 23:19
sumit70341-Feb-11 23:19 
AnswerRe: Bind Combo Box with current year months Pin
Abhinav S2-Feb-11 0:07
Abhinav S2-Feb-11 0:07 
QuestionC# Movment Pin
C.CoderCreator1-Feb-11 22:22
C.CoderCreator1-Feb-11 22:22 
AnswerRe: C# Movment Pin
Thomas Krojer1-Feb-11 22:35
Thomas Krojer1-Feb-11 22:35 
AnswerRe: C# Movment Pin
Pete O'Hanlon1-Feb-11 23:05
mvePete O'Hanlon1-Feb-11 23:05 
GeneralRe: C# Movment Pin
C.CoderCreator1-Feb-11 23:10
C.CoderCreator1-Feb-11 23:10 
AnswerRe: C# Movment Pin
OriginalGriff1-Feb-11 23:40
mveOriginalGriff1-Feb-11 23:40 
AnswerRe: C# Movment Pin
RobCroll1-Feb-11 23:44
RobCroll1-Feb-11 23:44 

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.