Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
9
Answers
Convertion of object type data into Integer
Aleena Saviour
8y
416
1
Reply
How to convert object to integer.?
object result = cmd.ExecuteScalar();
int id = Convert.ToInt32(result);
this code gives me error..
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