by Yogesh | Apr 10, 2018 | Asp .net MVC, Entity Framework Tutorial
As we know that whenever we want to pass dropdown text from view to controller using the model object, the value of dropdown is transferred but in some cases, we required text of the drop-down. in this article I discuss that how we can perform this. Step1: Create New...
by Yogesh | Mar 30, 2018 | Node JS Tutorial
Most Used NPM Commands Using of NPM commands is very easy. NPM commands are managed in package.json and package.json is used to manage project’s dependencies. The following are the top NPM commands. npm init: Displays a simple wizard to help you create and describe...
by Yogesh | Mar 27, 2018 | Node JS Tutorial
What is Event and Event Emitter in Node JS An User Action i.e click Event names are defined simply by calling .emit with the event name. An object sends events using the .emit function. Events are sent to any listeners that have registered to receive events from the...
by Yogesh | Mar 10, 2018 | Asp .net MVC, Entity Framework Tutorial
In this example, I am going to create two tables(MainMenu, SubMenu) Database Script for database tables CREATE TABLE [dbo].[MainMenu]( [id] [int] IDENTITY(1,1) NOT NULL, [menuname] [varchar](max) NULL, [menuurl] [nvarchar](max) NULL, CONSTRAINT [PK_MainMenu] PRIMARY...
by Yogesh | Feb 27, 2018 | Asp .net MVC, Entity Framework Tutorial
.cshtml @model RegistrationForm.Models.Employee @{ ViewBag.Title = "Create"; } Create @using (Html.BeginForm()) { @Html.AntiForgeryToken() Employee @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.LabelFor(model => model.EmpName,...