I am making a small project in mvc
i have the following fields :
Id,Name,Age,Gender
I am using LINQ to SQL
Everything is working fine but in Edit mode how do i retrieve the selected Gender
My Index action,create action,Edit action are working fine but in edit mode how do i retrieve the selected gender...?? I am using RadiobuttonFor , for gender
Bhuvanesh MohankumarPosted May 29, 2016, 6:55 AM
Enumtype and U have written value for radio button isstringtype. So please just change "Male" to 0 and "Female" to 1.