TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ta mu
NA
201
82.2k
return value of sql querry
Sep 3 2013 12:54 PM
SqlCommand cmd = new SqlCommand("SELECT (MAX[Account_No] + 1) FROM addcustomer ", my);
cmd.ExecuteScalar();
int result = ((int)cmd.ExecuteScalar());
textBox1.Text =Convert.ToString( result);
i want to save the return value of this query in a integer like abve but nothing displayed on textbox.
Reply
Answers (
2
)
Check if date.now goes into New year
How to send email with images (embedded) in Gmail?