Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

May 2007 - Posts

Different web.configs
In the project that I'm currently working I had a problem because my connection strings are different from the other developers: I want to work locally in my SQL Express so the connections strings are different and since we are developing with Visual Read More...
Recursive Queries in SQL Server 2005
For building recursive queries In SQL Server 2005 we have to use a new functionality called Common Table Expressions . Let's see how we can retrieve all the employees that report to a manager (ManagerID = 3) in the AdventureWorks database sample: Read More...
List User Profiles from MOSS 2007
using (SPSite site = new SPSite(siteUrl)) { ServerContext context = ServerContext.GetContext(site); UserProfileManager profileManager = new UserProfileManager(context); foreach (UserProfile userProfile in profileManager) Console.WriteLine(userProfile[PropertyConstants.UserName].Value); Read More...