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
rasul moh
NA
79
85.2k
I have some problem in sqlcommand where condition to implement the c# coding
Nov 21 2012 1:41 AM
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ccc"].ConnectionString); con.Open(); SqlCommand cmd = new SqlCommand("select [Town Name] from town where '" + DropDownList1.SelectedItem.Text + "' <= '" + TextBox1.Text + "'", con); //ListBox1.Text = cmd.ExecuteScalar().ToString(); TextBox4.Text = cmd.ExecuteScalar().ToString(); con.Close(); In This coding after Where condition not use to textbox,label,dropdownlist,etc how can I use textbox,label,dropdownlist,etc send me answer quickly to
[email protected]
Reply
Answers (
2
)
How to generate Dropdownlist Dynamically
redirecting page even validattion fails