tag:blogger.com,1999:blog-651515751490497815.post7131621869143456806..comments2024-03-26T21:44:14.022-07:00Comments on Aspdotnet-Kishore: How to bind the data to DropDownList from database in ASP.NET MVC 4 razor using C#Kishorehttp://www.blogger.com/profile/14419080585613916760noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-651515751490497815.post-15623219000788728892014-06-13T20:43:53.274-07:002014-06-13T20:43:53.274-07:00Thank You Santosh Siva Kumar.
Thank You Santosh Siva Kumar.<br /> Kishorehttps://www.blogger.com/profile/14419080585613916760noreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-81684575617017578412014-06-13T00:06:56.722-07:002014-06-13T00:06:56.722-07:00Awesome articles Kishore.Well presented..and Well ...Awesome articles Kishore.Well presented..and Well Explained..Woth spending our time on thesr articles..Anonymoushttps://www.blogger.com/profile/14107158578758946230noreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-30857662965591688172014-04-25T04:33:58.140-07:002014-04-25T04:33:58.140-07:00I tried adding those lines in Model as you said..
...I tried adding those lines in Model as you said..<br />But I am getting error at db.Students..PLs help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-46035517958571684922014-02-25T18:05:02.966-08:002014-02-25T18:05:02.966-08:00Hi i will definitely write the article for above s...Hi i will definitely write the article for above scenario.<br />Thanks for reading my blog.Kishorehttps://www.blogger.com/profile/14419080585613916760noreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-74151840758498979002014-02-25T17:07:25.516-08:002014-02-25T17:07:25.516-08:00Hi Kishore,
Question, I have a EmployeeController ...Hi Kishore,<br />Question, I have a EmployeeController (has emp info) and DepartmentController (has dept info). Now on the EmployeeCreate. I want to have a DDL which has to be populated with DeptNames. How can I do this? on the .cshtml page I already have @model BusinessLayer.Employee, can I have a @model BusinessLayer.Department? i am not sure...<br /><br />Can you post a sample example?<br /><br />Appreciate your help,<br />SamAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-60299697114490267752014-02-20T06:02:56.385-08:002014-02-20T06:02:56.385-08:00Hi Thanks for your Complement and Suggestion .Sure...Hi Thanks for your Complement and Suggestion .Sure I will definitely improve in my next articles.I am very happy because my articles helps others for learning.Thanks all who read my articles.:)Kishorehttps://www.blogger.com/profile/14419080585613916760noreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-83703418459110422692014-02-19T23:50:28.580-08:002014-02-19T23:50:28.580-08:00Hi I am new to MVC 4, and you are doing good and w...Hi I am new to MVC 4, and you are doing good and well in the examples but need to define each and every code part also you can provide the example code to download so every one can download and understand very well Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-22648555489152468732014-02-14T19:17:47.582-08:002014-02-14T19:17:47.582-08:00Hi Thanks.
StudentContext is a Data context class ...Hi Thanks.<br />StudentContext is a Data context class is nothig but connectionstring name in web.config file.When you add the below code in model <br />public class StudentContextDB : DbContext<br /> {<br /> public DbSet Students { get; set; }<br /> }<br />then you acess like StudentContext db = new StudentContext(); <br /><br />If you really like my blog please share to your friends also.<br />Kishorehttps://www.blogger.com/profile/14419080585613916760noreply@blogger.comtag:blogger.com,1999:blog-651515751490497815.post-34893967087242800992014-02-14T09:21:59.473-08:002014-02-14T09:21:59.473-08:00Hi, I am new bee to mvc4 but these tutorials gives...Hi, I am new bee to mvc4 but these tutorials gives much more confidence.<br />Please can you explain this:<br />what is StudentContext DB syntax please?<br />Anonymousnoreply@blogger.com