I have following requirement.
I have 2 tables
Student
ID(PK), Name, Gender(FK), Stream(FK) ( FK are referenced to Options table)
Options
ID(PK), Name, Value
Sample Values
Options
ID Name Value
1 Gender Male
2 Gender Female
3 Stream MCA
4 Stream MBA
Student
ID Name Gender Stream
1 ABC 1 3
2 DEF 1 4
3 GHI 2 3
4 JKL 2 4
I have 2 pages
1) Add New Record
- For Gender & Stream will have dropdowns and values will be loaded from database.
2) Search
- Filter panel with data in Grid below.
- Filter panel contains Name(Textbox), Gender (DDlist), Stream(DDlist). When user select the proper search criteria and say search the grid will updated with corresponding records.
This is needed without EDM
Please provide me code sample for this.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 4, 2014, 12:25 AM EST
To get started,
http://www.c-sharpcorner.com/tags/1/MVC
SIVARank #2,303 · 613 reputationPosted Feb 4, 2014, 12:47 AM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 10, 2014, 1:31 AM EST
http://www.c-sharpcorner.com/tags/1/MVC