|
1 | | -<!-- default badges list --> |
2 | | - |
3 | | -[](https://supportcenter.devexpress.com/ticket/details/E4458) |
4 | | -[](https://docs.devexpress.com/GeneralInformation/403183) |
5 | | -[](#does-this-example-address-your-development-requirementsobjectives) |
6 | | -<!-- default badges end --> |
7 | | - |
8 | | -# Grid View for ASP.NET MVC - How to bind grid to an Excel file |
9 | | - |
10 | | -The DevExpress MVC GridView Extension does not work directly with real storage (like databases, MS office files, etc.). Load an Excel file into a standard ADO.NET DataTable object and use it as a GridView Model. |
11 | | - |
12 | | - |
13 | | - |
14 | | -## Files to Review |
15 | | - |
16 | | -* [HomeController.cs](./CS/CS/Controllers/HomeController.cs) (VB: [HomeController.vb](./VB/CS/Controllers/HomeController.vb)) |
17 | | -* [Model.cs](./CS/CS/Models/Model.cs) (VB: [Model.vb](./VB/CS/Models/Model.vb)) |
18 | | -* [DataTableDataBindingPartial.cshtml](./CS/CS/Views/Home/DataTableDataBindingPartial.cshtml) |
19 | | - |
20 | | -## More Examples |
21 | | - |
22 | | -* [Grid View for ASP.NET Web Forms - How to bind grid to an Excel file](https://github.com/DevExpress-Examples/how-to-bind-aspxgridview-with-excel-file-e4457) |
23 | | -<!-- feedback --> |
24 | | -## Does this example address your development requirements/objectives? |
25 | | - |
26 | | -[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-mvc-grid-bind-to-excel-file&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-mvc-grid-bind-to-excel-file&~~~was_helpful=no) |
27 | | - |
28 | | -(you will be redirected to DevExpress.com to submit your response) |
29 | | -<!-- feedback end --> |
| 1 | +<!-- default badges list --> |
| 2 | + |
| 3 | +[](https://supportcenter.devexpress.com/ticket/details/E4458) |
| 4 | +[](https://docs.devexpress.com/GeneralInformation/403183) |
| 5 | +[](#does-this-example-address-your-development-requirementsobjectives) |
| 6 | +<!-- default badges end --> |
| 7 | + |
| 8 | +# Grid View for ASP.NET MVC - How to bind grid to an Excel file |
| 9 | + |
| 10 | +The DevExpress MVC GridView Extension does not work directly with real storage (like databases, MS office files, etc.). Load an Excel file into a standard ADO.NET DataTable object and use it as a GridView Model. |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | +## Files to Review |
| 15 | + |
| 16 | +* [HomeController.cs](./CS/CS/Controllers/HomeController.cs) (VB: [HomeController.vb](./VB/CS/Controllers/HomeController.vb)) |
| 17 | +* [Model.cs](./CS/CS/Models/Model.cs) (VB: [Model.vb](./VB/CS/Models/Model.vb)) |
| 18 | +* [DataTableDataBindingPartial.cshtml](./CS/CS/Views/Home/DataTableDataBindingPartial.cshtml) |
| 19 | + |
| 20 | +## More Examples |
| 21 | + |
| 22 | +* [Grid View for ASP.NET Web Forms - How to bind grid to an Excel file](https://github.com/DevExpress-Examples/how-to-bind-aspxgridview-with-excel-file-e4457) |
| 23 | +<!-- feedback --> |
| 24 | +## Does this example address your development requirements/objectives? |
| 25 | + |
| 26 | +[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-mvc-grid-bind-to-excel-file&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-mvc-grid-bind-to-excel-file&~~~was_helpful=no) |
| 27 | + |
| 28 | +(you will be redirected to DevExpress.com to submit your response) |
| 29 | +<!-- feedback end --> |
0 commit comments