02 Apr 2019 02 Apr 2019 0 Comments  10 Views
Here Mudassar Ahmed Khan has explained with an example, how to filter WebGrid using DropDownList in ASP.Net MVC Razor.

By default, the WebGrid will display all records with Paging.

When an option is selected in the DropDownList, the Controller’s Action method will be called and the records from the Database Table will be filtered using Entity Framework and displayed in WebGrid in ASP.Net MVC Razor.
01 Apr 2019 01 Apr 2019 0 Comments  141 Views
ASP.Net  MVC  Form  Label
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Label value from View to Controller in ASP.Net MVC Razor.

Label value cannot be sent to Controller directly and hence when the Submit Button is clicked and the Form is submitted, the Label value needs to be copied to a Hidden Field and then the value of the Label is extracted from the Hidden Field inside the Controller using Form Collection in ASP.Net MVC Razor.
29 Mar 2019 29 Mar 2019 0 Comments  200 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Html.Label and Html.LabelFor helper functions in ASP.Net MVC Razor.
29 Mar 2019 29 Mar 2019 0 Comments  183 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert DataGridView to DataTable in Windows Forms (WinForms) Application using C# and VB.Net.

When the Convert Button is clicked, first the Columns from the DataGridView are used to create a DataTable and then using a loop, data from each Row of DataGridView is inserted into the DataTable in Windows Forms (WinForms) Application using C# and VB.Net.
28 Mar 2019 28 Mar 2019 0 Comments  217 Views
Here Mudassar Ahmed Khan has explained with an example, how to send DataGridView to Email in Windows Forms (WinForms) Application using C# and VB.Net.

First a DataGridView will be populated with some data and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table string will be used to send the DataGridView’s data to Email in Windows Forms (WinForms) Application using C# and VB.Net.
27 Mar 2019 27 Mar 2019 0 Comments  212 Views
Here Mudassar Ahmed Khan has explained with an example, how to change DataGridView Cell Color based on condition in Windows (WinForms) Application using C# and VB.Net.

Inside the CellFormatting event handler of the DataGridView, various conditions are used to compare the Cell value of the DataGridView Row and the Cell color of the DataGridView is changed based on the conditions holding true.
27 Mar 2019 27 Mar 2019 0 Comments  175 Views
Here Mudassar Ahmed Khan has explained with an example, how to change DataGridView Row Color based on condition in Windows (WinForms) Application using C# and VB.Net.

Inside the CellFormatting event handler of the DataGridView, various conditions are used to compare the Cell value of the DataGridView Row and the Row color of the DataGridView is changed based on the conditions holding true.
26 Mar 2019 26 Mar 2019 0 Comments  313 Views
Here Mudassar Ahmed Khan has explained with an example, how to add RowSpan to GridView in ASP.Net using C# and VB.Net.

This article will illustrate how to dynamically merge common Cells of GridView using RowSpan property in ASP.Net using C# and VB.Net.
26 Mar 2019 26 Mar 2019 0 Comments  297 Views
Here Mudassar Ahmed Khan has explained with an example, how to display BLOB as Image using AngularJS ng-src directive in ASP.Net MVC Razor.

This article will illustrate how to upload and send files to Web API using AngularJS $http service and HTML5 FormData and then convert the Image to BLOB format and display as Image using AngularJS ng-src directive in ASP.Net MVC Razor.
25 Mar 2019 25 Mar 2019 0 Comments  235 Views
Here Mudassar Ahmed Khan has explained with an example, how to merge multiple Header Columns (Cells) in DataGridView in Windows Forms (WinForms) application using C# and VB.Net.

There is no direct way to merge multiple Header Columns (Cells) in DataGridView and hence this article will illustrate how to achieve the same by drawing a Rectangle over the existing Header Columns (Cells) in DataGridView using C# and VB.Net.
14 Mar 2019 14 Mar 2019 0 Comments  623 Views
Here Mudassar Ahmed Khan has explained with an example, how to add Colspan (ColumnSpan) to GridView in ASP.Net using C# and VB.Net.

This article will illustrate how to dynamically add row and add Columns with Colspan (ColumnSpan) to GridView in ASP.Net using C# and VB.Net.
12 Mar 2019 12 Mar 2019 0 Comments  529 Views
Here Mudassar Ahmed Khan has explained with an example, how to build a simple Image Slider (Carousel) in AngularJS.

This article will illustrate how to use the AngularJS $interval function to dynamically change the SRC attribute of Image element at periodic intervals.
12 Mar 2019 12 Mar 2019 0 Comments  402 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically change SRC of Image element on Click in AngularJS.

This article will illustrate how to dynamically change the SRC attribute of Image element when clicked using the ng-src directive in AngularJS.

The Image will be stored in a Folder (Directory) on the Server and will be displayed by assign the URL of the Image to the ng-src directive in AngularJS.
11 Mar 2019 11 Mar 2019 0 Comments  442 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically change SRC of Image element in AngularJS.

This article will illustrate how to dynamically change the SRC attribute of Image element using the ng-src directive in AngularJS.

The Image will be stored in a Folder (Directory) on the Server and will be displayed by assign the URL of the Image to the ng-src directive in AngularJS.
08 Mar 2019 08 Mar 2019 0 Comments  730 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) ListView from Database in Windows Forms Application (WinForms) using C# and VB.Net.

This article will illustrate how to populate data from SQL Server Database in DataTable and then use DataTable to populate ListView control in Windows Forms (WinForms) Application using C# and VB.Net.
07 Mar 2019 07 Mar 2019 0 Comments  800 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) ListView using jQuery AJAX in ASP.Net with C# and VB.Net.

This article will illustrate how to populate ASP.Net ListView control from SQL Server Database on Client Side by calling WebMethod using jQuery AJAX in ASP.Net with C# and VB.Net.
06 Mar 2019 06 Mar 2019 0 Comments  665 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Byte Array as Image using AngularJS ng-src directive in ASP.Net MVC Razor.

This article will illustrate how to upload and send files to Web API using AngularJS $http service and HTML5 FormData and then convert the Image to Byte Array format and display as Image using AngularJS ng-src directive in ASP.Net MVC Razor.
06 Mar 2019 06 Mar 2019 0 Comments  579 Views
Here Mudassar Ahmed Khan has explained with an example, how to display BASE64 string as Image using AngularJS ng-src directive in ASP.Net MVC Razor.

This article will illustrate how to upload and send files to Web API using AngularJS $http service and HTML5 FormData and then convert the Image to BASE64 string format and display as Image using AngularJS ng-src directive in ASP.Net MVC Razor.
06 Mar 2019 06 Mar 2019 0 Comments  555 Views
Here Mudassar Ahmed Khan has explained with an example, how to display BASE64 string as Image using AngularJS in ASP.Net MVC Razor.

This article will illustrate how to upload and send files to Web API using AngularJS $http service and HTML5 FormData and then convert the Image to BASE64 string format and display as Image using AngularJS in ASP.Net MVC Razor.
05 Mar 2019 05 Mar 2019 0 Comments  522 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Byte Array content as Image using AngularJS in ASP.Net MVC Razor.

This article will illustrate how to upload and send files to Web API using AngularJS $http service and HTML5 FormData and then convert the Image to Byte Array format and display as Image using AngularJS in ASP.Net MVC Razor.
01 Mar 2019 01 Mar 2019 0 Comments  1216 Views
Here Mudassar Ahmed Khan has explained with an example, how to save and retrieve Image from SQL Server Database in ASP.Net MVC Razor.

The Images will be uploaded and converted to Binary format (Byte Array) and saved (inserted) to SQL Server Database table in ASP.Net MVC Razor.

The saved (inserted) Image files will be retrieved and displayed in WebGrid along with feature to Zoom the Image using jQuery.
01 Mar 2019 01 Mar 2019 0 Comments  940 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload Image and save in Database in ASP.Net MVC Razor.

The Images will be uploaded and converted to Binary format (Byte Array) and saved (inserted) to SQL Server database table in ASP.Net MVC Razor.
01 Mar 2019 01 Mar 2019 0 Comments  646 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) other Form Data along with File Upload in ASP.Net MVC Razor.

This article will illustrate how to POST (Submit) a Form with some TextBox fields and an HTML FileUpload element using Html.BeginForm helper function in ASP.Net MVC Razor.
27 Feb 2019 28 Feb 2019 0 Comments  776 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload files using FormData with Progress Bar using Web API in ASP.Net MVC Razor.

This article will illustrate how to upload and send files to Web API AngularJS $http service and HTML5 FormData in ASP.Net MVC Razor.
27 Feb 2019 27 Feb 2019 0 Comments  460 Views
HTML  JSON  Table  AngularJS  Arrays  Image
Here Mudassar Ahmed Khan has explained with an example, how to display Images inside ng-repeat directive in AngularJS.

The ng-src directive is used along with Image elements in order to display Images from Model in AngularJS.

The Image will be stored in a Folder (Directory) on the Server and will be displayed by assigning the Path (URL) of the Image to the ng-src directive in AngularJS.