Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Knowing the type of a parameter
Message
From
19/02/2008 17:22:42
 
 
To
19/02/2008 17:17:55
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01294028
Message ID:
01294032
Views:
18
This message has been marked as the solution to the initial question of the thread.
Michel, here's a (very) quick and dirty way...
     int x = 0;

            if (x is System.String)
                MessageBox.Show("this is a string");

            if (x is System.Int32)
                MessageBox.Show("this is an int");
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform