Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# Type Cast Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
C# Type Cast Question
Miscellaneous
Thread ID:
01079396
Message ID:
01079396
Views:
53
I'm trying to cast a textbox value to int;
Can someone help me out please?
// Define the port number variable
int iPortNo = 0;

// Read in the port number from the textbox
iPortNo = (int)txtPort.Text;
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform