I am familiar with C# standalones but never written any web applications. I need some pointers on c# asp.net applications to do following stuffs.
Create a table profile, insert rows and columns with rich text edit controls, ability to insert images(low priority) and dynamic row manipulations like move rows, insert custom rows (e.g. a data row from a db that can be inserted into my current table profile) and then export different table profiles into tabbed excel sheet.
I am looking at:
https://msdn.microsoft.com/en-us/library/cc850837%28office.14%29.aspx
http://www.c-sharpcorner.com/UploadFile/hrojasara/export-datagridview-to-excel-in-C-Sharp/
http://www.codeproject.com/Tips/820176/ASP-NET-Gridview-with-Row-Drag-and-Drop-using-Jque
http://www.codeproject.com/Articles/467788/Dynamically-adding-and-deleting-rows-from-ASP-NET
I will do my research but since i have no experience on controls available if someone points in right directions on concepts which is suitable for this as this looks more complex for 1st app it will be helpful
I would recommend you Kendo UI framework that allows to do what you need. This is a website with demo - http://demos.telerik.com/kendo-ui/grid/index. It allows to make Excel and PDF export as well.
Related
We need to overcome a problem about FastReport and we want to get support from you. We would like to mention about details of the problem as below:
This problem is briefly related to entegration of RichEdit and FastReport. When a table is designed in the Rich tool and it is transferred to FastReport page, it is broken down and not showing properly in FastReport.
picture
As shown below picture, merging of cells create a problem after table is transferred to FastReport page from Rich tool. And sometimes, borders of table may break down on the page.
I have this Excel Sheet That I want to generate from my WPF Application, What is the easiest way to do so, bear in mind that the table in the sheet may have many containers and each container may have one or more sizes and so on as shown.
I'v looked at the ReportViewer provided in WPF but I don't know how to design such a report using the ReportViewer.
Another thing came to my mind is to fill the excel sheet from the WPF and I found a way to do so by specifying tags (Ex: Date: ) in which I can fill these tags from my WPF application, but I don't know who to generate tables and set their columns and rows according to the data in the database.
Thank you.
Did you try adding Microsoft.Office.Interop.Excel as a dll, and try the code given here.
Or have a look at this sample:
WPF Spreadsheet
I have made good experience with the EPPlus library. The nice thing is, you don't need any MS Office components on your OS to generate the excel files.
I wanted to create a view that is the same as an Excel sheet of some rows and some columns in which user can give inputs and it should grow dynamically but some cell should be filled by program internally and should be read only. I am making an windows form application using C#. Is there any way to do it in C#?
There are several tools to aid you in doing this task. Telerik and Infragistics are 2 of them.
http://www.telerik.com/
http://blogs.telerik.com/aspnet-ajax/posts/13-07-30/create-excel-asp-net-grid
http://www.infragistics.com/products/windows-forms/infragistics-excel/
This article may be useful too.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304662
I'm developing a web site using c# and MVC4. In one of the sections I have a couple of pie charts that are created using highcharts lib and are based on a table of totals next to the charts.
I need to export to excel both the table with the totals and the charts, and I need to do it in a way in which, once exported, if the table changes in excel the graph will also be updated inside the spreadsheet.
My company is using Infragistics to export to excel, so exporting the table is not a problem, but I'm not sure how to export the pie charts.
I saw this example where a pivot table is created and feed to the table, but I noticed that it is using native excel libraries instead of Infragistics, I've been trying to migrate this but can't seem to find the equivalent to Excel.Application inside Infragistics lib.
Another solution that occur to me is that maybe I can enter a formula inside a cell and have it create the pie chart but I don't think this is possible since, if I'm not wrong, the pie chart is not even included in a cell, but it is a graphic that floats inside the spreadsheet.
So if anyone has had any experience drawing a pie chart from c# to excel using Infragistics and can point me in the right direction would be much appreciated.
Thanks,
I am a developer at Infragistics and work on the Excel library. Currently, charts will be round-tripped when a file is loaded and saved, but they cannot be manipulated or created at run-time in our object model. You can submit a feature request for this ability here: http://ideas.infragistics.com/
Using Infragistics, I don't know if you can create an Excel pie chart, but if you want to create it in a web or windows application, use this:
InfragisticsĀ® Chart
Hello I am looking for a way to open an Excel sheet programmatically and allow the user to be able to select a range of cells. My reasoning behind this is I am currently developing a lot of individual excel upload forms for pulling data in to a database I would like the ability to select the column headers as simply as highlighting the cells through excel and presenting a textbox for each to enter the equivalent DB table column name and store these. So effectively a form to create a form.
Many thanks
Charlie
Please check this article: Opening and Navigating Excel with C#.
There is also a section in MSDN library that completely covers Excel PIA.