read CDATA section in XML with XDocument?
Sun, 17 Aug 2008 18:10:17 -0400
Hi,
How would I edit the code below to read XML CData text?
Thanks,
Viepia
XDocument connectedPCsXML = XDocument.Load(new
StreamReader(Registry.GetValue(@"HKEY_LOCAL_MACHINE\software\myCompany\configDir",
"path",@"C:\ConfigDir\") + "ConnectedPCs.xml"));
var PCs = from PC in c ...
|
how to maintain values in text box controls in C#
Sun, 17 Aug 2008 15:02:32 -0700 (PDT)
Hi
I have developed a web page with some controls. I put all of them in
session variables. I passed this values in the page. When an user
enter some data in form fields and click the buttton , these values
are displaying in next page.after displaying in next page, when click
back button to see my entered valu ...
|
Outer and inner classes: error
Sun, 17 Aug 2008 11:57:01 -0700 (PDT)
Hiya,
So I have a class that creates threads within it. These threads are a
class underneath the parent class. I want to access values in the
parent class from the threads while they run. Yet this gives me an
error: cannot access a non-static member of outer type 'Parent.Class'
via nested type 'Parent.Class.T ...
|
Show DataReader results in DataGridView
Sun, 17 Aug 2008 21:49:49 +0300
I need to view DataReader results for quick debug.
I tried code below but DataGridView is empty.
How to fix ?
Andrus.
using System.Data;
using System.Windows.Forms;
using Npgsql;
class Form1 : Form
{
static void Main()
{
Application.Run(new Form1());
}
DataGridView ...
|
How are Double values in Datasets serialized
Sun, 17 Aug 2008 10:50:47 -0700 (PDT)
Hi,
If I use GetXml() to serialize a Dataset into an XML, what will be the
format of a Double value in the Dataset? It seems that I get
Scientific notation if the value is small, otherwise normal notation.
(In other words, it looks like it tries to keep many significant
numbers.)
Can I control what notatio ...
|
Re: Generic Delegate Types explained (example)
Sun, 17 Aug 2008 09:31:32 -0700 (PDT)
On Aug 16, 3:49 pm, Marc Gravell <marc.grav...@gmail.com> wrote:
> Seiously, this just isn't the right forum for this type of post. Try
> something like codeproject or a blog. But to disect it:
>
> Not only is your post full of errors both of fact and omission (and
> unclear at best), you repeatedly remark that ...
|
application question
Sun, 17 Aug 2008 09:31:44 -0700
Hello all
I have a application im placing in the system tray...
this is a dialog window with some schedules on it,
the schedules are based on timers,
when the application starts , i want to show the window, but then reset the
timers and set the window to the system tray
the startup show take no user invol ...
|
|
|
global::
Sun, 17 Aug 2008 17:06:28 +0200
What's the meaning of global:: in the following statement
global::System.Data.DataTable employee = new DataTable("Employee");
My best guess is that it means the global namespace. But searching on
'global' gives a lot of non relevant entries.
...
|
Creating IDataReader from DLinq query
Sun, 17 Aug 2008 11:43:00 +0300
RDLDesigner report designer requires IDataReader for data access.
To use it with Linq, I need to convert Linq projection to IDataReader.
var db = new NorthwindContext();
var q = from c in db.Customers
select new { c.ContactName, c.City };
IDataReader dr = QueryDataReader( db, q );
How to implem ...
|
WndProc not working as expected?
Sun, 17 Aug 2008 05:14:20 -0700 (PDT)
Hi
I have overriden WndProc to detect when the key is pressed. Because it
didnt work i inserted debug code to detect what messages pass through
the WndProc exactly.My application is minimized in taskbar and visible
via notifyicon. When I run the program :
protected override void WndProc(ref Message ...
|