Category - ADO.Net
Results 1 - 5 of 53
18 Apr 2019 19 Apr 2019 0 Comments  2009 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Array from Controller to View using ViewBag in ASP.Net MVC Razor.

The List Collection will be populated from Database using ADO.Net inside the Controller and it will be converted to Array and passed to the View using ViewBag.

Later in View, the Array will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
18 Apr 2019 19 Apr 2019 0 Comments  3175 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) List from Controller to View using ViewBag in ASP.Net MVC Razor.

The List Collection will be populated from Database using ADO.Net inside the Controller and it will be passed to the View using ViewBag.

Later in View, the List Collection will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
18 Apr 2019 19 Apr 2019 0 Comments  4136 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataTable from Controller to View in ASP.Net MVC Razor.

The DataTable will be populated from Database using ADO.Net inside the Controller and it will be passed to the View as Model.

Later in View, the DataTable will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
05 Feb 2019 05 Feb 2019 0 Comments  5960 Views
Here Mudassar Ahmed Khan has explained with an example, how to Search all (multiple) Columns of DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

By default the DataGridView will show all records. As soon as user starts to type in the TextBox, the records will be searched in all (multiple) Columns displayed in the DataGridView and the DataGridView rows will be filtered in Windows Forms (WinForms) Application using C# and VB.Net.
05 Feb 2019 05 Feb 2019 0 Comments  4116 Views
Here Mudassar Ahmed Khan has explained with an example, how to fetch (retrieve) data from Database using DataTable with C# and VB.Net.

This article will illustrate how to populate DataGridView with data from SQL Server Database using SqlDataAdapter and DataTable in Windows Forms (WinForms) Application with C# and VB.Net.
Results 1 - 5 of 53