Previously We have exported the GridView control to Excel/CSV files. Today we are going to export the GridView to PDF File. Exporting the GridView to PDF is a different thing. Because we need some other references to perform this. I have add a reference ‘iTextSharp.dll’ to export into PDF. Also in this article the process of exporting GridView to PDF is performing on a button click. On the Page_Load() event we are binding the GridView with the Database. As you will procees in this article you will get the process step by step. Also I have attached a demo project so you can also download the project.
Gridview control of ASP.NET is used to represent the Â information of database in a tabular format. This table format of information is used by the developer so they can access the large amount of Â information in minimum time. The operation that can be performed with GridView information is inserting a new information, updating, deleting and representing data with appropriate keywords. Today in this article I will show you to delete multiple Rows/Records from Gridview. I have used a user defined column of type CheckBox Control in GridView, so user can select multiple rows that he want to delete.
Hello Guys, This article will tell you to Upload an Excel Sheet into your ASP.NET Web Application and Import this Excel Sheet in GridView Control of ASP.NET. To do this task you must need the Microsoft Data Access Component(MDAC) to be installed on your computer system. Using this project you can import both the .xls and .xlsx type of Excel File into your GridView Control.
In this project I am going to share the demo project about Binding GridView in .Net. GridView DataSource and DataBind() method to bind GridView in .Net. Also I will tell you how yo use Item Template to design your custom GridView. To use the custome GridView you must set the GridView Property AutoGenerateColumns=”false”. To Fetch the particular Row Column you can write code that I am suggesting in this project on Row_Command Event of GridView. To Fetch a particular rows column you must use the CommandArgument property of GridView Controls.