Click here to Skip to main content
15,883,705 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to retain Dropdownlist value after selectedindexchanged and postback?? Pin
lan160729-Jul-14 14:01
lan160729-Jul-14 14:01 
GeneralRe: How to retain Dropdownlist value after selectedindexchanged and postback?? Pin
Member 924543130-Jul-14 0:38
Member 924543130-Jul-14 0:38 
GeneralRe: How to retain Dropdownlist value after selectedindexchanged and postback?? Pin
lan160730-Jul-14 19:35
lan160730-Jul-14 19:35 
Questiontag clipboard text Pin
Jassim Rahma27-Jul-14 11:59
Jassim Rahma27-Jul-14 11:59 
AnswerRe: tag clipboard text Pin
Garth J Lancaster27-Jul-14 13:20
professionalGarth J Lancaster27-Jul-14 13:20 
Questionhow do i get a table in gridview according to combobox fields? Pin
Sajeev Unni27-Jul-14 7:29
Sajeev Unni27-Jul-14 7:29 
AnswerRe: how do i get a table in gridview according to combobox fields? Pin
Pete O'Hanlon27-Jul-14 8:09
mvePete O'Hanlon27-Jul-14 8:09 
AnswerRe: how do i get a table in gridview according to combobox fields? Pin
Swinkaran28-Jul-14 19:09
professionalSwinkaran28-Jul-14 19:09 
Mate, I assume that you need show the related employees in the gridview as per the combobox selection.
It is just the matter of reading the selected value from the combobox,
C#
selectedItem = comboBox1.SelectedItem; // something like this


Pass this selected value to filter the Employee table and read the results.
Finally, Rebind(); the gridview.

This is the basic logic. Try the above(There are plenty of resources online). If you get any real problem after your own attempt, post them in Questions area. Good luck.
QuestionMVC unit testing Pin
Marsh8727-Jul-14 3:09
Marsh8727-Jul-14 3:09 
AnswerRe: MVC unit testing Pin
Pete O'Hanlon27-Jul-14 3:41
mvePete O'Hanlon27-Jul-14 3:41 
AnswerRe: MVC unit testing Pin
Marsh8727-Jul-14 8:52
Marsh8727-Jul-14 8:52 
GeneralRe: MVC unit testing Pin
Pete O'Hanlon27-Jul-14 10:02
mvePete O'Hanlon27-Jul-14 10:02 
GeneralRe: MVC unit testing PinPopular
Dave Kreskowiak27-Jul-14 10:03
mveDave Kreskowiak27-Jul-14 10:03 
GeneralRe: MVC unit testing Pin
User 571134828-Jul-14 0:54
User 571134828-Jul-14 0:54 
QuestionMouse set in the form Pin
PozzaVecia27-Jul-14 1:47
PozzaVecia27-Jul-14 1:47 
AnswerRe: Mouse set in the form Pin
Pete O'Hanlon27-Jul-14 1:53
mvePete O'Hanlon27-Jul-14 1:53 
GeneralRe: Mouse set in the form Pin
PozzaVecia27-Jul-14 2:13
PozzaVecia27-Jul-14 2:13 
AnswerRe: Mouse set in the form Pin
OriginalGriff27-Jul-14 2:34
mveOriginalGriff27-Jul-14 2:34 
AnswerRe: Mouse set in the form Pin
User 873938130-Jul-14 23:44
User 873938130-Jul-14 23:44 
GeneralProblem with Windows forms monthcalendar control Pin
Member 1094245026-Jul-14 19:17
Member 1094245026-Jul-14 19:17 
GeneralRe: Problem with Windows forms monthcalendar control Pin
OriginalGriff26-Jul-14 21:33
mveOriginalGriff26-Jul-14 21:33 
GeneralRe: Problem with Windows forms monthcalendar control Pin
Pete O'Hanlon27-Jul-14 1:44
mvePete O'Hanlon27-Jul-14 1:44 
GeneralRe: Problem with Windows forms monthcalendar control Pin
OriginalGriff27-Jul-14 2:29
mveOriginalGriff27-Jul-14 2:29 
GeneralRe: Problem with Windows forms monthcalendar control Pin
Member 1094245027-Jul-14 7:00
Member 1094245027-Jul-14 7:00 
GeneralRe: Problem with Windows forms monthcalendar control Pin
OriginalGriff27-Jul-14 21:09
mveOriginalGriff27-Jul-14 21:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.