Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Issues Setting DateTime Parameter Value

$
0
0

Hi Dell,

 

Yes it does but the point is defining the type by using this:

 

Convert.ToDateTime()

 

So you should be using that property for any type:

 

rpt.SetParameterValue("pcname", Convert.ToDateTime(parmPCname));

rpt.SetParameterValue("pcname", Convert.ToDecimal(parmPCname));

rpt.SetParameterValue("pcname", Convert.ToInt32(parmPCname));

rpt.SetParameterValue("pcname", Convert.ToString(parmPCname));

 

Hope that helps?

 

Don


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>