ReportParameter Datatype Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sun919 via DotNetMonster.com

    #1

    ReportParameter Datatype Problem

    Hi there,
    I have a problem regarding selecting datatype in ReportParameter in C#
    I ve create Reportparameter but I want the value to be integer not String.
    This are my coding

    ReportParameter[] p = new ReportParameter[20];
    p[0] = new ReportParameter ("NewMale", newpm, true);
    p[1] = new ReportParameter ("NewFemale" , newpf, true);

    Note: if newpm.ToString( ); it works fine but I want the input to be integer
    not String inorder to pass value to Report


    For ReportParameter in the Report,DataType is set to Integer so i think all
    i need is how to create new ReportParameter in interger from the form
    (since i need to added value up across various places)

    many thanks
    sun

    --
    Message posted via DotNetMonster.c om
    Best online pokies for real money in Australia and learn about safety and game mechanics in this comprehensive guide.


Working...