Results 1 - 5 of 2075
19 Aug 2019 20 Aug 2019 0 Comments  330 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.
30 Jul 2019 30 Jul 2019 0 Comments  1377 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.
16 Jul 2019 16 Jul 2019 0 Comments  1019 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.
15 Jul 2019 15 Jul 2019 0 Comments  3739 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  5062 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.
Results 1 - 5 of 2075