Apr
25th | 2008

LINQ to XML in 3 easy steps

Posted by Shahar A |
Filed under .Net, C# |

Linq to xml provides an easy query interface for XML files. In the following example I will demonstrate how to use it for reading and writing data from/to xml file, using the file for persistency maintaining a list of objects. This can be used for storing application settings, storing persistent objects or any other data [...]


Continue Reading...
Apr
24th | 2008

A Great XPath Query Tool

Posted by Shahar Y |
Filed under .Net, C#, Utilities |

XPath is a language for addressing parts of an XML document, for those who are not familiar with this language - here are the W3C specifications and here is the W3schools tutorial. Now that we know XPath, lets get to the point of that post which is - Visual XPath.

This is a free graphical XPath [...]


Continue Reading...
Apr
17th | 2008

10 Visual Studio Shortcuts You Must Know

Posted by Amit |
Filed under Visual Studio |

This is a list of 10 great shortcuts me and my co workers use frequently, we thought you all should know too. Here they are:

CTRL + “.”: This is actually a shortcut for a shortcut. it is the same as CTRL + SHIFT + F10 which opens the smart tag window and allows you to [...]


Continue Reading...
Mar
9th | 2008

Very Good Linq Editor

Posted by Amit |
Filed under .Net |

This one is for all you guys who are just starting to use LINQ and have no idea how to make those queries work.
I have tried it and i am glad to say that it is very friendly and usable especially if you have no experience with Linq
Linqpad is a very user friendly LINQ editor [...]


Continue Reading...
Jan
14th | 2008

How to Solve error CS0103: The name ‘InitializeComponent’ does not exist in the current context

Posted by Amit |
Filed under C#, Visual Studio, WPF |

Hi.
Ever had the following error in Visual Studio:error CS0103: The name ‘InitializeComponent’ does not exist in the current context.I sure did…
There’s a very specific reason for this and it’s in the project settingsThis usually happens whenever you try to add a WPF control/window to a .NET 2.0 Class library or project. The reason for this [...]


Continue Reading...
Dec
12th | 2007

How to add a new XML node to file

Posted by Amit |
Filed under C# |

Need to open an XML file and add a node?
It is actually very simple
Here’s how:
Sample XML file:
<?xml version=”1.0″?>
<HelpData
xmlns:xsi=
“http://www.w3.org
/2001/XMLSchema-instance”
xmlns:xsd=
http://www.w3.org
/2001/XMLSchema>
<helpButtonUrls>
<HelpButtonUrl>
<buttonName>
BugReport</buttonName>
[...]


Continue Reading...
Dec
9th | 2007

Learn Visual Studio .Net

Posted by Amit |
Filed under .Net, ASP.Net, C#, SQL |

Hi Everyone!!!
This is my new blog in which i will Share all I know/hear about/find interesting about Application Development.
For starters i would like to introduce you to http://www.learnvisualstudio.net/ which is a web site that has over 500 Video tutorials about almost anything you can think of that is related to application development, C#, VB, ASP.NET, [...]


Continue Reading...

Search Dev102