|
-
August 20th, 2006, 11:50 AM
#1
Send data to SqlCommand
i have an textbox named 'Chapter' that its string must send az parameter
to a 'int' database field. :
sqlCommand->Parameters->Item[S"@Chapter"]->Value=Convert::ToInt32(chapter->Text)
.
an error displayed: "cannot convert from int to __gc* type.
how must i save int type to sql server database
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|