Jquery Bind Method with optional data attribute example
In Jquery data sending into function object "e" is optional. Here I am sending border color as data.Download Source...
Jquery Bind Method with example
Jquery have various inbuilt method which can be triggered as per user action. Bind method is also in one of them. using bind method we can register a function on a DOM element. Basic syntax of Bind method is bind(eventType, function) eventType: Java Script Event Name...
Populate DropDownList using Entity Framework in ASP.NET MVC using Razor
Step1: Create new MVC Project. Step2 . Create Database Table . In this example I created a table "categories" which have three fields CategoryId int primarykey CategoryName varchar(50) IsSelected bool Step 3: Create connectionstring in web.config. Step 4: Create Model...
Populate DropDownList using ASP.NET MVC Razor
Step1: Create new project. Step 2. Create controller 'PopulateUsing_Code' in controller folder. Note: SelectList create a list of items where user can select one item out of them. using System; using System.Collections.Generic; using System.Linq; using...