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
Ashu grover
NA
2
481
Syntax problem in C#
Jun 1 2018 10:34 PM
var temp = ConfigurationManager.ConnectionStrings["connectionStr"].ConnectionString;
conn = new SqlConnection(temp);
conn.Open();
// Create the command
SqlCommand command = new SqlCommand("SELECT * FROM View_Patients", conn);
command.Connection = conn;
RecCount = Convert.ToInt32(command.ExecuteScalar());
last line giving the error "Input String was not in a correct format"
Reply
Answers (
2
)
WeebHook Read the Contents
JqueryDatatable