18 Apr 2019 19 Apr 2019 0 Comments  37 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 18 Apr 2019 0 Comments  33 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 18 Apr 2019 0 Comments  32 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  142 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  118 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  137 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add and remove controls in Windows Forms (WinForms) Application using C# and VB.Net.

The TextBox control and its associated Delete Button control will be dynamically created on Button click. When the Delete Button for a TextBox is clicked, the TextBox and the Button controls will be removed.
16 Apr 2019 16 Apr 2019 0 Comments  149 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  165 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.
15 Apr 2019 15 Apr 2019 0 Comments  175 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add and remove TextBox in Windows Forms (WinForms) Application using C# and VB.Net.

The TextBox and its associated Delete Button will be dynamically created on Button click. When the Delete Button for a TextBox is clicked, the TextBox and the Button will be removed.
12 Apr 2019 12 Apr 2019 0 Comments  298 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AutoComplete TextBox using AngularJS in ASP.Net MVC Razor.

This article will illustrate how to use angucomplete-alt AutoComplete Directive for implementing Database driven AutoComplete TextBox using AngularJS and Entity Framework in ASP.Net MVC Razor.
11 Apr 2019 11 Apr 2019 0 Comments  339 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AutoComplete TextBox using AngularJS in ASP.Net Web Forms using C# and VB.Net.

This article will illustrate how to use angucomplete-alt AutoComplete Directive for implementing Database driven AutoComplete TextBox using AngularJS in ASP.Net Web Forms with C# and VB.Net.
10 Apr 2019 10 Apr 2019 0 Comments  343 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (parse) JSON data from URL and display in ASP.Net GridView using C# and VB.Net.

The JSON string will be first downloaded from an API using WebClient class and then will be converted to DataTable using JSON.Net library.

Finally, the DataTable will be used to populate the GridView control in ASP.Net using C# and VB.Net.
10 Apr 2019 10 Apr 2019 0 Comments  278 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert JSON string to DataTable in ASP.Net using C# and VB.Net.

The JSON string will be first downloaded from an API using WebClient class and then will be converted to DataTable using JSON.Net library.

Finally, the DataTable will be used to populate the GridView control in ASP.Net using C# and VB.Net.
10 Apr 2019 10 Apr 2019 0 Comments  274 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (parse) JSON data from URL in ASP.Net using C# and VB.Net.

The JSON string will be first downloaded from an API using WebClient class and then will be converted to DataTable using JSON.Net library.

Finally, the DataTable will be used to populate the GridView control in ASP.Net using C# and VB.Net.
10 Apr 2019 10 Apr 2019 0 Comments  207 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) GridView using JSON string in ASP.Net using C# and VB.Net.

The JSON string will be first downloaded from an API using WebClient class and then will be converted to DataTable using JSON.Net library.

Finally, the DataTable will be used to populate the GridView control in ASP.Net using C# and VB.Net.
09 Apr 2019 09 Apr 2019 0 Comments  360 Views
Here Mudassar Ahmed Khan has explained with an example, how to create controls dynamically and retrieve values from it in ASP.Net using C# and VB.Net.

This article will illustrate how to create dynamic TextBox controls and retrieve values on PostBack in ASP.Net using C# and VB.Net.
09 Apr 2019 09 Apr 2019 0 Comments  269 Views
Here Mudassar Ahmed Khan has explained with an example, how to move ListBox Items from one ListBox to another in ASP.Net using C# and VB.Net.

When the Move Button is clicked, the selected items from the source ListBox will be added to the destination ListBox and then the selected items will be removed from the source ListBox in ASP.Net using C# and VB.Net.
08 Apr 2019 08 Apr 2019 0 Comments  334 Views
Here Mudassar Ahmed Khan has explained with an example, how to rename File before download in ASP.Net using C# and VB.Net.

The new name of the File will be set in the Header of the Response Stream and then the File will be sent for download at the Client end in ASP.Net using C# and VB.Net.
05 Apr 2019 05 Apr 2019 0 Comments  456 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from DataGridView to TextBoxes in Windows Application (WinForms) using C# and VB.Net.

When the DataGridView Row is clicked, the Row Index of the selected DataGridView Row is determined and the values of the Cells are extracted and passed (sent) to TextBoxes in Windows Forms (WinForms) Application using C# and VB.Net.
05 Apr 2019 05 Apr 2019 0 Comments  393 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Cell Value of selected DataGridView Row in Windows Application (WinForms) using C# and VB.Net.

When the DataGridView Row is clicked, the Row Index of the selected DataGridView Row is determined and the values of the Cells are extracted and displayed in TextBoxes in Windows Forms (WinForms) Application using C# and VB.Net.
05 Apr 2019 05 Apr 2019 0 Comments  421 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Cell Mouse Click event in DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

Inside the CellMouseClick event handler, the Row Index of the clicked DataGridView Row is determined and the values of the Cells are extracted and displayed in TextBoxes in Windows Forms (WinForms) Application using C# and VB.Net.
05 Apr 2019 05 Apr 2019 0 Comments  391 Views
Here Mudassar Ahmed Khan has explained with an example, how to display DataGridView selected Row in TextBoxes in Windows Forms (WinForms) Application using C# and VB.Net.

The DataGridView will be assigned CellMouseClick event handler.

When the DataGridView Row or Cell is clicked, the Row Index of the clicked DataGridView Row is determined and the values of the Cells are extracted and displayed in TextBoxes in Windows Forms (WinForms) Application using C# and VB.Net.
04 Apr 2019 04 Apr 2019 0 Comments  320 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind Literal control from Database in ASP.Net using C# and VB.Net.

This article will illustrate how to first generate a dynamic HTML String from Database data using StringBuilder class and then assign the HTML String to a Literal control and display it on Web Page in ASP.Net using C# and VB.Net.
04 Apr 2019 04 Apr 2019 0 Comments  317 Views
Here Mudassar Ahmed Khan has explained with an example, how to display HTML Formatted Text using Literal control in ASP.Net using C# and VB.Net.

This article will illustrate how to first generate a dynamic HTML Formatted Text String using StringBuilder class and then assign the HTML String to a Literal control and display it on Web Page in ASP.Net using C# and VB.Net.
04 Apr 2019 04 Apr 2019 0 Comments  343 Views
Here Mudassar Ahmed Khan has explained with an example, how to print DIV contents with CSS using AngularJS.

This article will illustrate how to print DIV contents with styles in external CSS file without opening new window in AngularJS.