8 Discussion / Question Topics
Remove Filter
|
|
public IList<Labour> Labours { get; set; } public class Labour { public string WorkDates { get; set; } public string WorkHour { get; set; } } I have this code above on my class. How can i add this to my Create View Razor? can anyone tell me please. Also … |
|
Hi there, in am new with Webmatrix and Visual studio 2013 and i would like to create the following : (for all user of the website) 1) a classic form contact in asp.net razor : email name subject message If is possible this message wil send an aoutomatic mail to … |
|
When I click the login button I never get any values posted to the server. I accept a AuthViewModel but it is always null. I have tried using @html.EditorFor but have not had any luck with it. **User Controller** [HttpGet] public ActionResult Password() { UserModel user = (UserModel)Session[Constants.SessionVars.Authenticate]; //error - … |
|
Can anyone help me. My code is not working this is cascading drop down list. It's connected to my database. Jquery Code: <script type="text/javascript"> $(document).ready(function () { $("#SiteId").change(function () { var idDept = $(this).val(); $.getJSON("Service/GetBuildingNameList", { id: idDept }, function (myData) { var select = $("#BuildingID"); select.empty(); $.each(myData, function (index, … |
|
Hi, I am confused between razor and asp.net coding. Asp.net code itself is a server side code so why it is said that razor code is server side embedding code for creating dynamic web pages? Normal asp.net code also runs at server side so what is the need for razor … |
|
Hello, I'm currently following the video tutorials found on asp.net (the site)\ And I just finished my delete page but I'm getting errors. This is the code of the page DeleteMovie.cshtml [CODE]@{ Layout = "~/_SiteLayout.cshtml"; var id = Request["MovieID"]; var SQLSELECT = "SELECT * FROM Names where MovieID=@0"; var db … |
|
i need to have Total of price displayed in webgrid. from the code below. [CODE] @{ var db = Database.Open("SmallBakery") ; var selectQueryString = "SELECT * FROM Product ORDER BY Id"; var data = db.Query(selectQueryString); var grid = new WebGrid(source: data, defaultSort: "Name", rowPerPage: 3); } <!DOCTYPE html> <html> <head> … |
|
Dear readers and administrators, I wonder if I have the right to suggest here to add new item list in this site but it since I have the right post it here, I want to suggest to add a forum section or thread section under web development about the new … |
The End.