Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm creating dynamic RDLC report I create 3 textbox and assign to report all are working fine but when i apply style on thoes textbox that create error. I share my style code.

StyleType stylPayee = new StyleType();
            stylPayee.FontFamily = "Arial";
            stylPayee.FontSize = "10pt";
            stylPayee.FontWeight = "Bold";
           // stylPayee.BorderWidth.Default = "=IIf(Fields!AccountType.Value = "+1, 2pt, 1pt)";//"2cm"; //"1pt"; // "1pt, , , 10pt, 10pt";
            //stylPayee.BorderWidth.Top = "5pt";
           // stylPayee.BorderStyle.Top.
            //stylPayee.BorderStyle.Bottom = "Solid";
            //stylPayee.BorderStyle.Top 


Commented area creating problem other is fine
Posted
Updated 12-Oct-15 22:09pm
v2
Comments
Palash Mondal_ 13-Oct-15 10:26am    
What error message are you getting?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900