02 Aug 2019 02 Aug 2019 0 Comments  1084 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) selected DataGridView Row from one Form to another in Windows Forms (WinForms) Application using C# and VB.Net.

When the DataGridView Row is clicked, the selected Row values of the DataGridView are passed (sent) to the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  475 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataGridView values to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

When the Button is clicked, a loop will be executed over the rows of DataGridView and the checked (selected) rows will be passed (sent) to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
31 Jul 2019 31 Jul 2019 0 Comments  430 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from one Form to another 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 the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
30 Jul 2019 30 Jul 2019 0 Comments  1082 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to PDF using iTextSharp in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be read as Stream and will be added to iTextSharp PDF document and ultimately downloaded as PDF file in ASP.Net MVC Razor.
26 Jul 2019 26 Jul 2019 0 Comments  677 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide HTML DIV from Controller in AngularJS.

When the Button is clicked, a Boolean variable will be set inside the Controller and the HTML DIV will be shown using ng-show and ng-hide directives and when again the same Button is clicked, again the same Boolean variable will be set inside the Controller and the HTML DIV will be hidden using ng-show and ng-hide directives in AngularJS.
24 Jul 2019 24 Jul 2019 0 Comments  735 Views
Here Mudassar Ahmed Khan has explained with an example, how to Toggle i.e. show and hide HTML DIV on Button Click using JavaScript and jQuery.

When the Button is clicked, the HTML DIV will be shown and when again the same Button is clicked the HTML DIV will be hidden.
22 Jul 2019 22 Jul 2019 0 Comments  638 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide HTML DIV on Button Click using JavaScript and jQuery.

When the Yes Button is clicked, the HTML DIV will be shown and when the No Button is clicked the HTML DIV will be hidden.
22 Jul 2019 22 Jul 2019 0 Comments  666 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable and disable TextBox on Button Click using JavaScript and jQuery.

When the Yes Button is clicked, the TextBox will be enabled and when the No Button is clicked the TextBox will be disabled.
18 Jul 2019 18 Jul 2019 0 Comments  690 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide TextBox on Button Click using JavaScript and jQuery.

When the Yes Button is clicked, the TextBox will be shown and when the No Button is clicked the TextBox will be hidden.
17 Jul 2019 17 Jul 2019 0 Comments  602 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) ComboBox using Entity Framework in Windows Forms (WinForms) Application using C# and VB.Net.
16 Jul 2019 16 Jul 2019 0 Comments  915 Views
ASP.Net  JSON  MVC
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) JSON object values from Controller to View in ASP.Net MVC Razor.

In order to return JSON object values, the JsonResult return type is used for the Action method inside Controller in ASP.Net MVC Razor.
16 Jul 2019 16 Jul 2019 0 Comments  848 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Entity Framework Database First Approach in Windows Forms (WinForms) Application using C# and VB.Net.

This article will illustrate how to use Entity Framework Database First Approach to populate DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
15 Jul 2019 15 Jul 2019 0 Comments  3660 Views
Here Mudassar Ahmed Khan has explained with an example, how to export to CSV file in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework and a Comma Separated (Delimited) string is generated which is exported and downloaded as CSV file in ASP.Net MVC Razor.
15 Jul 2019 15 Jul 2019 0 Comments  2521 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert List of Objects to CSV file using C# in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework as List of Objects.

Then using a FOR Loop, the data is converted into a Comma Separated (Delimited) string which is later exported and downloaded as CSV file in ASP.Net MVC Razor.
15 Jul 2019 15 Jul 2019 0 Comments  445 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Entity Framework data to CSV file in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework and a Comma Separated (Delimited) string is generated which is exported and downloaded as CSV file in ASP.Net MVC Razor.
12 Jul 2019 12 Jul 2019 0 Comments  494 Views
Here Mudassar Ahmed Khan has explained with an example, how to export WebGrid to CSV file with formatting in ASP.Net MVC Razor.

First the WebGrid will be populated from database using Entity Framework and when the Export Button is clicked, a Comma Separated (Delimited) string will be generated from WebGrid data and ultimately it will be exported to CSV file in ASP.Net MVC Razor.
11 Jul 2019 11 Jul 2019 0 Comments  758 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide TextBox based on DropDownList selection in ASP.Net using C# and VB.Net.

When the YES item (option) is selected in the DropDownList, TextBox will be visible else the TextBox will be hidden in ASP.Net using C# and VB.Net.
11 Jul 2019 11 Jul 2019 0 Comments  721 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable (activate) a TextBox when Other option is selected in DropDownList (HTML SELECT) using JavaScript and jQuery.
10 Jul 2019 10 Jul 2019 0 Comments  564 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable and disable a TextBox when DropDownList (HTML SELECT) is changed i.e. when an item (option) is selected using JavaScript and jQuery.

When the Other (option) in DropDownList is selected, the TextBox will be enabled else disabled.
09 Jul 2019 10 Jul 2019 0 Comments  751 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable and disable a TextBox when RadioButton is clicked i.e. checked (selected) and unchecked (deselected) using JavaScript and jQuery.

When the RadioButton is clicked based on whether the YES RadioButton is checked (selected) or unchecked (deselected), the TextBox will be enabled or disabled.
08 Jul 2019 08 Jul 2019 0 Comments  713 Views
Here Mudassar Ahmed Khan has explained with an example, how to disable Submit Button when INPUT Text Field (TextBox) is empty in AngularJS.

When using AngularJS Form validation, the $invalid property can be used to disable the Submit Button when Form is not filled (empty) i.e. the INPUT Text Fields (TextBoxes) have invalid data.
08 Jul 2019 08 Jul 2019 0 Comments  622 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Form validation in AngularJS.

This article will illustrate how to perform Form Validation for TextBox INPUTS for validating Name, Email Address and Age, etc. on click of Submit Button in AngularJS.
05 Jul 2019 08 Jul 2019 0 Comments  549 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation inside Controller in AngularJS.

This article will illustrate how to use AngularJS Form Validation for TextBox and ng-pattern directive and Regular Expressions (Regex) for validating Email Address in AngularJS.

The Regular Expression for Email validation will be set inside Controller in AngularJS.
02 Jul 2019 08 Jul 2019 2 Comments  656 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation in AngularJS.

This article will illustrate how to use AngularJS Form Validation for TextBox and ng-pattern directive and Regular Expressions (Regex) for validating Email Address in AngularJS.
04 Jul 2019 04 Jul 2019 0 Comments  954 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether CheckBox in GridView is checked or not in ASP.Net using C# and VB.Net.

When the Button is clicked, a loop will be executed over GridView Rows and then it will be determined whether the CheckBox inside the GridView Row is checked or not in ASP.Net.