Category - ADO.Net
Results 16 - 20 of 57
19 Sep 2018 19 Sep 2018 0 Comments  16422 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Excel file in Web Page in ASP.Net using C# and VB.Net.

The Excel File will be read into a DataTable using OLEDB and ADO.Net and the DataTable will be used to display the Excel File in ASP.Net GridView.
13 Aug 2018 13 Aug 2018 0 Comments  19143 Views
Here Mudassar Ahmed Khan has explained with an example, how to save Image in Folder (Directory) and Path in Database in Windows Forms Application using C# and VB.Net.

The Images saved in Folder (Directory) will be displayed using DataGridView control in Windows Forms Application using C# and VB.Net.
08 Aug 2018 08 Aug 2018 1 Comments  18119 Views
Here Mudassar Ahmed Khan has explained with an example, how add dynamic TextBoxes and also Save (Insert) the values of dynamic TextBoxes to Database in ASP.Net MVC Razor.

The dynamic TextBox controls with Add Remove Button functionality will be created on Client Side using jQuery in ASP.Net MVC Razor.
23 Jul 2018 23 Jul 2018 0 Comments  31322 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList from ViewBag in ASP.Net MVC Razor.

The records from the database will be populated into a Generic List collection of Model class objects and then will be saved into a ViewBag object.

Inside the View, the ViewBag object will be passed to the Html.DropDownList Helper function for populating the DropDownList in ASP.Net MVC Razor.
23 Jul 2018 23 Jul 2018 0 Comments  15586 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) CheckBoxList (List of CheckBoxes) in ASP.Net MVC Razor.

ASP.Net MVC does not have an in-built CheckBoxList control and hence using the SelectListItem class as Model, a Custom CheckBoxList has been populated from database in ASP.Net MVC 5 Razor.
Results 16 - 20 of 57