ASPSnippets.com
Results 1 - 5 of 348
22 Jun 2018 22 Jun 2018 0 Comments  92 Views
Here Mudassar Ahmed Khan has explained with an example, how to build an Editable Table in ASP.Net MVC Razor.

Using an Editable Table one can perform CRUD operations i.e. Insert, Edit, Update and Delete operations using an HTML Table in ASP.Net MVC Razor.

This article will illustrate how to build an Editable Table using jQuery AJAX and Entity Framework in ASP.Net MVC Razor.
22 Jun 2018 22 Jun 2018 0 Comments  65 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) WebGrid using ADO.Net in ASP.Net MVC Razor.

Inside the Controller, the records from the Database Table will be fetched using traditional ADO.Net method i.e. using SqlConnection, SqlCommand, SqlDataAdapter, etc.

The fetched records will be populated into a DataSet which will be ultimately used to populate the WebGrid in ASP.Net MVC Razor.
22 Jun 2018 22 Jun 2018 0 Comments  55 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) WebGrid using dynamic DataTable (DataSet) in ASP.Net MVC Razor.

Inside the Controller, first a DataTable object is created with some dynamic Columns and then records are added to the DataTable.

Finally the DataTable is added to a DataSet which is later used to populate the WebGrid in ASP.Net MVC Razor.
21 Jun 2018 21 Jun 2018 0 Comments  219 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Bootstrap DatePicker (Calendar) in ASP.Net MVC Razor.

This article will also illustrate how to get the selected Date of the Bootstrap DatePicker (Calendar) inside Controller on Button click in ASP.Net MVC Razor.

The Date format for the selected Date will be set to dd/MM/yyyy format.
18 Jun 2018 18 Jun 2018 0 Comments  252 Views
Here Mudassar Ahmed Khan has explained with an example, how to set enctype = ‘multipart/form-data’ attribute for Form Tag with Html.BeginForm Helper method in ASP.Net MVC Razor.

The enctype = ‘multipart/form-data’ attribute is required when the Form is used for uploading Files using HTML FileUpload element.
Results 1 - 5 of 348