Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Visual Studio » LINQ   (RSS)

Persist user form size and location settings per session

My prior post ( Create your own Test Host using XAML to run your unit tests ) shows how to create a form and present it to the user. The user can resize and reposition the form, even on a 2 nd monitor. When the user exits the form, we can persist or remember

Use XLINQ to query the references in your project

Visual studio creates project files for you for the various languages, such as C++, C#, VB. These files are XML format, and can thus be queried. Try this: open any non-temporary Visual Studio project (see Use temporary projects in Visual Studio ) , right
Posted by Calvin_Hsia | 2 Comments
Filed under: , ,

Use Stored Procedures when you can for efficiency

In this post ( Install Northwind for SQL Express and use Visual Studio and DLINQ to query it ) I posted a fairly complex SQL command. Of course, it’s important to keep in mind that a more efficient way of executing this query may be by keeping all the

Install Northwind for SQL Express and use Visual Studio and DLINQ to query it

SQLExpress is free and comes with Visual Studio, but the sample Northwind database isn’t included. You can download sample databases Northwind and Pubs from http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46a0-8da2-eebc53a68034&displaylang=en
Posted by Calvin_Hsia | 6 Comments
Filed under: , ,
 
Page view tracker