Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
9
Reply
Convertion of object type data into Integer
Aleena Saviour
Nov 3 2016 7:15 AM
391
Reply
How to convert object to integer.?
object result = cmd.ExecuteScalar();
int id = Convert.ToInt32(result);
this code gives me error..
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
9
)
Next Recommended Forum
Exception while assigning cmd.ExecuteReader() to a variable
how to get google map on normal view page in mvc