20 Sep 2019 20 Sep 2019 0 Comments  2 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically show and hide column in ASP.Net Repeater control using C# and VB.Net.

The column in Repeater control will be shown or hidden dynamically using a CheckBox in ASP.Net using C# and VB.Net.
18 Sep 2019 18 Sep 2019 0 Comments  218 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Address Location on Google Maps using Google Places AutoComplete.

When an Address Location is searched using Google Places AutoComplete, the Google Places API returns the geographical coordinates i.e. Latitude and Longitude of the searched Address Location, which is ultimately used to plot a marker and display it on the Google Map.
17 Sep 2019 17 Sep 2019 0 Comments  215 Views
Here Mudassar Ahmed Khan has explained with an example, how to send (pass) GridView Row Values to other Page using Session in ASP.Net using C# and VB.Net.

When the Send Button is clicked, the GridView Row values are saved in Session object and the values are sent (passed) to other Page in ASP.Net using C# and VB.Net.
06 Sep 2019 06 Sep 2019 0 Comments  3354 Views
Here Mudassar Ahmed Khan has explained with an example, how to download (save) VARBINARY data as File from SQL Server database table in ASP.Net using C# and VB.Net.

Files such as Images, PDF, Word or Excel Documents, Audio and Video files will be saved as VARBINARY data in SQL Server database table and later the VARBINARY data will be converted back to the file and downloaded in ASP.Net using C# and VB.Net.
06 Sep 2019 06 Sep 2019 0 Comments  667 Views
Here Mudassar Ahmed Khan has explained with an example, how to download (save) VARBINARY data from SQL Server database table using Entity Framework in ASP.Net MVC Razor.

Files will be uploaded and then will be saved (inserted) to database table as VARBINARY data. The file in VARBINARY data format will be retrieved and displayed in HTML Grid (Table) consisting of a Link for downloading the VARBINARY data as file from database.
04 Sep 2019 04 Sep 2019 0 Comments  671 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (assign) value to HTML TextBox from Server Side (Code Behind) in ASP.Net using C# and VB.Net.

There are two ways for setting the values of HTML TextBox from Server Side (Code Behind) in ASP.Net:
1. Using Property.
2. Using runat=“server” attribute.
23 Aug 2019 23 Aug 2019 0 Comments  1199 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete (remove) Rows from DataGridView and Database in Windows (WinForms) Application using C# and VB.Net.

When the Delete Button is clicked, a Confirmation MessageBox will be displayed and if the User clicks Yes button the Row will be deleted (removed) from DataGridView and Database in Windows (WinForms) Application using C# and VB.Net.
19 Aug 2019 20 Aug 2019 0 Comments  1642 Views
Here Mudassar Ahmed Khan has explained with an example, how to access HTML Control values in Code Behind (Server Side) without runat server in ASP.Net using C# and VB.Net.

The values of all HTML INPUT controls are sent to Server Side on Form Submission (PostBack) and can be fetched using Request.Form collection in ASP.Net using C# and VB.Net.
20 Aug 2019 20 Aug 2019 0 Comments  753 Views
Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube videos in Windows Forms (WinForms) Application using C# and VB.Net.

The YouTube videos will be played in Windows Forms (WinForms) Application with the help of WebBrowser control and HTML IFRAME using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  2235 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  1231 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  1222 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  3711 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  1436 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  1425 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  1489 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  1357 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  2521 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  3562 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  2712 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  1343 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  4233 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  7741 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  774 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  1626 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.