Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Right now I am developing C# desktop application for some insurance company. Their reports have a lot of unusual tables with a lot of fields and I have to draw all that tables by using C# drawing class which takes a lot of time.
So I was wondering if there is any tool that can generate C# code for that table after drawing that table using mouse? Or if there is any way I can insert some data in already drawn MS Word table?
You can use COM to write in MS-Word tables:
https://learn.microsoft.com/en-us/visualstudio/vsto/how-to-programmatically-populate-word-tables-with-document-properties
Microsoft SQL Reporting Services is the best Tool for Reports (if you are already at the microsoft side)
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am using WPF windows application and I want to export data-grid data to Microsoft Word with background colors. Please suggest a way to do it.
I think you will need to use Microsoft.Office.Interop.Word namespace ... this is a walk-through https://msdn.microsoft.com/en-us/library/ee342218.aspx ... I guess you will be making use of the Table interface .
You will need msword at your machine and wherever your application is deployed.
Personally, if i had an option then i would export the data as CSV format and indicate the colour in one of the values.
That said, i don't really know the limitations but this should get you going .. alternatively try to find an open source lib that can help you with this. That is AFAIK there is no out of the box solution by .Net
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
This is the first time I am making a game in winforms c#. I have a memory game and I want to save the scores so whenever a button "Show Scores" is clicked, it will list the 10 top scores.
The only thing I want to ask you is if this is only possible with connecting the winform with databases or is there another way?
Well there's many ways to sava your data :
Xml or Text file
local Database
Here's a good example on how to save game data from Saving Data to a Save Game File
Shared server database : I would suggest either using SQL Server Compact Edition or SQLite.
Microsoft SQL Server Compact 4.0 is a free, embedded database that software developers can use for building ASP.NET websites and Windows desktop applications.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I faced with problem:
There is a big old database on microsoft sql server (with triggers, functions etc.). I am writing C# app on top of this db. Most of work is a "experiments" like this:
Write a part of functionality and see if it works in old Delphi app (i.e. inserted data in C# loaded correctly in Delphi).
So I need tool, that can determine which fields of each table is used or not (used in my queries). I think to write python script with sql syntax analyser or just using regular expressions.
What solution would you recommend?
You can run a trace in SQL Profiler to see the queries being executed on the server.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a database schema. How do I construct a family tree using asp.NET, C# and SQL server? Also, how can I show you the database schema?
I suggest you take a look at Family Show, a WPF application which enables you to view and/or edit a family tree. I think that with some tweaking you will be able to make it work against SQL Server using your database schema.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
For my job i have to make many small projects that require to send different mails and set up some html. I usually make these forms in Winforms. Now at this moment whenever i need to fill my html I take the string replace some values and have functions that write hardcoded table rows.
To make my job a little easier I was wondering if it was possible to import the razor engine(not sure if it's the right word choice) in my winforms project and simply pass a model to a CSHTML file which returns me the HTML in a string so i can mail it to coworkers.
If this is possible, instructions on how to do it are welcome.
Kind Regards Roxas