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
PANKAJ DURVE
NA
17
13.8k
Why are use ToString method ?
Sep 9 2014 1:14 AM
Why are use ToString method ?
For example
cmd =
new
SqlCommand
(
"Delete from Emp where Empid="
+ DataGrid1.DataKeys[e.Item.ItemIndex].ToString(), con);
but not use in VB
cmd =
New
SqlCommand(
"Update Emp Set Empname='"
& name.Text &
"',EmpAdd ='"
& add.Text &
"'where Empid="
& DataGrid1.DataKeys(e.Item.ItemIndex), con)
Reply
Answers (
1
)
dropdownlist inside the gridview
Stackoverflow Exception was unhandled