In C#, how can I create a TextReader object from a string (without writing to disk)?

I'm using A Fast CSV Reader to parse some pasted text into a webpage. The Fast CSV reader requires a TextReader obje...

Writing to output window of Visual Studio?

I am trying to write a message to the output window for debugging purposes. I searched for a function like Java's sy...

Asp.net session variable?

I have a asp.net project with c# code behind. I have a static class called GlobalVariable where I store some informa...

Launch an exe from browser (Windows)?

I need to launch an installed application from browser (not just IE). From this thread I understood that I need to ...

Distinct in Linq based on only one field of the table?

I am trying to use .distinct in Linq to get result based on one field of the table (so do not require a whole duplic...

How to convert datetime format to date format in crystal report using C#??

i am working c# windows form application and also in crystal report.i am retriving the date from database in datetim...

How can I find the url of Team Foundation Server in Visual Studio??

My project in VS is connected to VS Portal. I'm going to add work items programmatically using C#. Here is the sni...

Install a Windows service using a Windows command prompt??

I want to install a Windows service using a Windows command prompt (not the Visual Studio command prompt). How do I...

How do I display wait cursor during a WPF application's startup??

Here are the basic events I want to happen when my WPF application starts. This is very similar to how Word starts ...

How to self generate certificate SHA-256??

I use Bouncy Castle libraries in C# to sign with SHA-256, and I'd like to use them in a test of a self generated cer...

Grouping Data in Asp.Net Gridview?

I have two Stored Procedures which are returning two sets of related data. The Data is like this. First Procedure re...

Read Variable from Web.Config?

How can I add and read the value from web.config file? ...

What is nAnt, and how it can be useful to me as a C# developer??

I'm always compile my project, and copy the dll's from the dependency projects to the UI bin folder. after a few day...

Read from word document line by line?

I'm trying to read a word document using C#. I am able to get all text but I want to be able to read line by line a...

Server-side paging?

Can I have a general idea of server-side paging? What are the steps? I am working on Silverlight DataGrid and the re...