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
sandeep kumar
NA
58
12.7k
Sql Command Error with where condition
Jun 19 2018 4:13 PM
I tried using the below sqlcommand statement throwing error at where condition. What's wrong with the statement. Can any one help me please.
SqlCommand sqlcmd = new SqlCommand("insert into Database1(ProdcutReleaseDate) values('"+DateTime.Now+"') where [property address]='" + ComboBox1.SelectedValue+"'", sqlcon);
Thanks
sandeep
Reply
Answers (
4
)
Validation part
take backup of selected tables of database using C #