Hi experts,
I am taking parameters from user for report and storing them
in a
string. After that I am doing some operation on that, now I
want to
convert that string in to parameter (ii is a object of
ReportarameterValue []). My code is compiling successfully
but when I
am passing values it is throwing exception that I cant not
cast it.
My code is like this....
String paraVal = paraVal.Substring(0,
paraVal.LastIndexOf(":;:"));
object obj = (object)paraVal;
parameter = (ParameterValue[])obj;
in last line it is giving error.
Any help will be appreciated.
Thanks and Regards
Dinesh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "DotNetDevelopment, VB.NET, C# .NET,
ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting"
group.
To post to this group, send email to DotNetDevelopment googlegroups.com
To unsubscribe from this group, send email to
DotNetDevelopment-unsubscribe googlegroups.com
For more options, visit this group at
http:
//cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---
|