To download the sample that includes the source code, use the link at the end of this post. ImportGrid.DataSource = myDataTable importGrid.DataBind() ImportGrid below is the grid that we have on our page Set the primary key so that the WebDataGrid can perform Auto Crud Let’s start off by assigning some local variables that are going to help us accomplish the task. If you are only interested in learning how to export your data, you can skip the first section below. Once the user decides to export the displaying data, you can use the same API Engines to export the modified data and view back to Excel, PDF or XPS formats. Once the data is connected to the grid, you can then let the user do any grid operations like filter, sort, edit.etc. Here you can learn how to use the Excel API's load method to grab data from an excel sheet and display it within the WebDataGrid. Currently, it doesn’t have built-in support for exporting contents to Excel, PDF or XPS, ofcourse something that will be included in future. In this post, we will focus on the newly released WebDataGrid control. There have been numerous posts on how our Excel and Document APIs can be used to import and export data when working with our controls. If you’ve used our Excel or Document APIs, then you may already know where is article is headed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |