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
Bineesh Viswanath
NA
1k
777.6k
combobox Selected Item to be display in DatagridView
Jul 8 2013 1:51 AM
Sir, I am doing a ADO.NET Program at the moment.
In my form, there is form named frmTeacher.
I filled its table called tbl_Teacher using frmTeacher form.
there is another form called frmTeacherSearch.
this form is for viewing the data of tbl_teacher(using condition where employeeId=@employeeId)
this form has a combobox and a gridview.
this is my form:-
The purpose of this form:-
combobox: employeeId from tbl_Teacher to be filled in it on form_LoadEvent().
You can see i did the code for load the employeeId.
Now my need is to fill datagridview1 with the related data that I select in combobox.
i.e , when I select 1, datagridview1 to be filled the combobox selected index's employeeName,joiningDate and Designation.
please help me in this topic.
Reply
Answers (
6
)
how to fetch last inserted record?
FileUpload - ImageButton - FilePath on ImageButton