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 BantheswaranPosted Feb 10, 2014, 6:31 AM
http://www.c-sharpcorner.com/tags/1/MVC
SIVAPosted Feb 4, 2014, 5:47 AM
Jaganathan BantheswaranPosted Feb 4, 2014, 5:25 AM
To get started,
http://www.c-sharpcorner.com/tags/1/MVC