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
Akhter HUssain
720
1.3k
101.2k
How to add Data in gridview from Dropdownlist ?
Aug 6 2019 9:37 AM
I want to add data from dropdown list to gridview ,,,
here my code
con.Open();
SqlDataAdapter adpr1 =
new
SqlDataAdapter(
"select * from ItemMasterFile "
, con);
DataSet dspr1 =
new
DataSet();
adpr1.Fill(dspr1);
DropDownList1.DataSource = dspr1.Tables[0];
DropDownList1.DataTextField =
"Descriptionitem"
;
DropDownList1.DataValueField =
"Codeitem"
;
DropDownList1.DataBind();
i want to insert Datatextfield and Datavalue into gridview...
Reply
Answers (
5
)
RequiredField Validation controls then execute TextChanged
IE taking too long to open a page