It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Where can I obtain C# sample code for the Open XML SDK Library?
Using Word, create two documents -- one that does not contain page numbers, and one that is exactly the same but does contain page numbers how you want to see them.
Download the Open XML SDK Productivity Tool -- http://www.microsoft.com/en-us/download/details.aspx?id=30425 . This tool can show you exactly the C# code that you need to produce any supplied Office document.
Use the Productivity Tool to open the two documents. Compare and contrast to find the solution that you need.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need help in creating a console application, where I have to get a list of items from a XML document using a server, remote and client. I have already created a XML document
XML document looks like this:
<clothing>
<pants>Jeans</pants>
<shirt>T-Shirt</shirt>
<shoes>Boots</shoes>
</clothing>
Now my question is where do I go from here? I understand the basics but don't know how to proceed with this, any help will be appreciated, thanks.
For tips on creating a console application, see How to: Create a C# Console Application. To read an XML file, look into XDocument.Load. There are samples in the XmlDocument documentation that will show you how to get individual elements and attributes from the document.
For client/server communications, it's hard to say. Probably you want something like TcpListener.
That should at least get you a starting place.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need to make a routine in c# that takes an MS outlook email (which will have tables inside it) and extract the tables contents to a txt file or csv file.
I don't really know where to start with this.
Could any body tell me how or where to start with this?
If you already figured out how to get the HTML from the email, you can use HTML Agility Pack to parse it and extract what you need.
You can install the Pack using Nuget.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I want information about RDLC.
Can anybody help me?
Thanks.
RDLC is a reporting platform for .net based apps - it can be used for both ASP.net as well as winform apps. Reports that are data driven (for eg financial statements) are well suited to be drawn in RDLC.
RDLC supports paging, custom headers/footers, tabular data (with options to repeat column headers on different pages) etc. - basically all the routine stuff you would like a reporting platform to handle. Export to pdf works fine, but for me, export to Excel kind-of sucked.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
please provide the csharp area in sharepoint. what are the part csharp source is used. how can be document loaded in the sharepoint. whether it can be done through by c sharp.
Almost everything on SP is built into assemblies, so you can't see the C# source. You can use a tool like Reflector to disassemble these assemblies (but they could be obfuscated).
If you want to upload documents through C# have a look at the WebServices. Here's a pretty good tutorial.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to read and display the contents of the PDF files into my RichtextBox. I am using windows application C#. Is it possible? What is the way to do it?
You can use Adobe PDF IFilter Library to convert a PDF document to text.
Also see an example on the CodeProject
iTextSharp is another alternative PDF library for .NET.
Since PDF is an binary format you'll have to use a pdf-library like pdflib in order to read pdf-files.
pdfLib
You should checkout PDFSharp library and they have preview component, where else extracting text and showing them in RichTextBox could be little bit of more work, but you can try this.