Results 16 - 20 of 2092
06 Sep 2019 06 Sep 2019 0 Comments  1421 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  1149 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.
19 Aug 2019 20 Aug 2019 0 Comments  2169 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  4213 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  3247 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.
Results 16 - 20 of 2092