Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass long query string
Message
 
 
To
21/01/2013 18:43:33
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01563515
Message ID:
01563569
Views:
51
>Then you are using a Parameters object.
>
>>
>>SqlCommand sqlCommand = new SqlCommand();
>>                    sqlCommand.CommandText = sqlStatement;
>>                        
>>                    sqlCommand.CommandType = CommandType.Text;
>>
>>                    // Add the query parameters
>>                    sqlCommand.Parameters.Add("@CardNum", SqlDbType.Int).Value = CardNum;
Right, I am.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform