Results 1 - 5 of 72
18 Apr 2019 19 Apr 2019 0 Comments  292 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.
17 Apr 2019 17 Apr 2019 0 Comments  313 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert HTML Table to DataTable in ASP.Net using C# and VB.Net.

HTML Table cannot be directly converted to DataTable and hence the values of HTML Table will be converted to JSON format and then using JSON.Net library, the JSON string will be converted to DataTable in ASP.Net using C# and VB.Net.
17 Apr 2019 17 Apr 2019 0 Comments  233 Views
Here Mudassar Ahmed Khan has explained with an example, how to access HTML Table values in Code Behind in ASP.Net using C# and VB.Net.

HTML Table cannot be directly accessed in the ASP.Net Code Behind (Server Side) and hence the values of HTML Table will be sent in JSON format to ASP.Net Code Behind (Server Side) using C# and VB.Net.
16 Apr 2019 16 Apr 2019 0 Comments  284 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Total Rows Count for GridView with Paging in ASP.Net using C# and VB.Net.

The GridView.Rows.Count property gets the current Page Row Count and hence in order to get the Total Rows Count for GridView with Paging enabled, the Total Rows Count is determined from the DataSource inside the OnDataBound event handler in ASP.Net using C# and VB.Net.
16 Apr 2019 16 Apr 2019 0 Comments  319 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Count of Total number of records in ASP.Net GridView using C# and VB.Net.

A Label will be placed below the GridView control and inside the OnDataBound event handler, the Count of Total number of records in ASP.Net GridView will be determined and displayed using C# and VB.Net.
Results 1 - 5 of 72