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
saurabh tadvi
NA
7
2.6k
System.Data.SqlClient.SqlException: Incorrect syntax near '=
Aug 27 2017 2:45 AM
DropDownList4.Items.Clear()
DropDownList4.Items.Add("--Select City--")
Dim st As String
st = "select * from tbl_city where State_ID=" + DropDownList3.SelectedItem.Value
Dim cm As New SqlCommand(st, con)
Dim da As New SqlDataAdapter(cm)
Dim d As New DataTable()
da.Fill(d)
DropDownList4.DataSource = d
DropDownList4.DataBind()
this is my code i got error
Incorrect syntax near '='.
please help me
i got error at this line
da.Fill(d)
thanks in advance
please reply fast
i really want help
Reply
Answers (
5
)
How to deploy c# app on client computer
in dataTable using vb.net