Q: While editing Script.PostDeployment.sql in a database project, intellisense stopped working. How can I fix this?
A: In Visual Studio 2010, intellisense has a defined limit on the file size. If the file gets too large, intellisense will no longer work on that file but the file will continue to build in the solution. Also, a message will appear in the Error List window explaing how to resolve this. The message will state "The script exceeds the Transact-SQL IntelliSense maximum script size setting. You can change the setting on the Text Editor/Transact-SQL/IntelliSense Page in the Tools/Options menu."
Friday, May 27, 2011
Wednesday, July 28, 2010
Array of Tuples
Q: How would use tuples in C# 4.0 to create an array of tuples containing various types of data (i.e. Employee Name, Employee ID#)?
A: Listed below is a sample code snippet to implement an array of tuples.
//Array of Tuples (i.e. EmpName, EmpIDNum)
Tuple[] EmpRecs =
{
Tuple.Create("Sam Nasr", 891),
Tuple.Create("Jim Smith", 358),
Tuple.Create("Lisa Jones", 962)
};
string FirstEmpName = EmpRecs[0].Item1;
string SecondEmpName = EmpRecs[1].Item1;
int SecondEmpIDNum = EmpRecs[1].Item2;
More information can be found at http://msdn.microsoft.com/en-us/library/dd413854(VS.95).aspx
A: Listed below is a sample code snippet to implement an array of tuples.
//Array of Tuples (i.e. EmpName, EmpIDNum)
Tuple
{
Tuple.Create("Sam Nasr", 891),
Tuple.Create("Jim Smith", 358),
Tuple.Create("Lisa Jones", 962)
};
string FirstEmpName = EmpRecs[0].Item1;
string SecondEmpName = EmpRecs[1].Item1;
int SecondEmpIDNum = EmpRecs[1].Item2;
More information can be found at http://msdn.microsoft.com/en-us/library/dd413854(VS.95).aspx
Tuesday, July 20, 2010
MVVM Resources
Tonight's Cleveland WPF User Group meeting will continue last month's discussion on MVVM. For those who missed June's meeting, the following resources are available to help prepare for tonight's meeting:
• MVVM Overview (June’s Presentation): http://www.clevelandwpf.info/presentations/MVVMOverview.ppt
• MVVM, a WPF UI Design Pattern(17min video): http://channel9.msdn.com/shows/Continuum/MVVM/
• Problems and Solutions with Model-View-ViewModel: http://msdn.microsoft.com/en-us/magazine/ff798279.aspx
• WPF x FileExplorer x MVVM: http://www.codeproject.com/KB/WPF/WPFFileExplorer.aspx
For directions to the Cleveland WPF User Group, please visit www.ClevelandWPF.info
• MVVM Overview (June’s Presentation): http://www.clevelandwpf.info/presentations/MVVMOverview.ppt
• MVVM, a WPF UI Design Pattern(17min video): http://channel9.msdn.com/shows/Continuum/MVVM/
• Problems and Solutions with Model-View-ViewModel: http://msdn.microsoft.com/en-us/magazine/ff798279.aspx
• WPF x FileExplorer x MVVM: http://www.codeproject.com/KB/WPF/WPFFileExplorer.aspx
For directions to the Cleveland WPF User Group, please visit www.ClevelandWPF.info
Monday, June 21, 2010
Local & Regional Events
Local Events
June 22: Cleveland C#/VB.Net User Group Meeting (http://www.clevelanddotnet.info/)
June 23: Cleveland SharePoint User Group Meeting (http://www.sharepointcleveland.org/)
June 24: Cleveland IT Martini (http://www.itmartini.com/)
July 16: Cleveland Give Camp (http://www.clevelandgivecamp.org/)
July 24: TechNic 2010 (Heidi Hooper - Heidi@BoundlessFlight.com)
Regional Events
June 26: SQL Saturday-Columbus (www.sqlsaturday.com/42/schedule.aspx)
June 25-26: CodeStock (http://www.codestock.org/)
August 5-7: DevLink (http://www.devlink.net/)
June 22: Cleveland C#/VB.Net User Group Meeting (http://www.clevelanddotnet.info/)
June 23: Cleveland SharePoint User Group Meeting (http://www.sharepointcleveland.org/)
June 24: Cleveland IT Martini (http://www.itmartini.com/)
July 16: Cleveland Give Camp (http://www.clevelandgivecamp.org/)
July 24: TechNic 2010 (Heidi Hooper - Heidi@BoundlessFlight.com)
Regional Events
June 26: SQL Saturday-Columbus (www.sqlsaturday.com/42/schedule.aspx)
June 25-26: CodeStock (http://www.codestock.org/)
August 5-7: DevLink (http://www.devlink.net/)
Saturday, May 29, 2010
Toughest Developer Puzzle Ever
So you think you're a hot shot developer able to resolve every problem that comes your way. Put your skills to the test by visiting www.toughestdeveloperpuzzleever.com. The site offers 100 levels of varying difficutly. To maneuver through the levels, you have to examine the page for cllues that will allow you to go to the next levels. Some pages have a hidden link, others require you change the URL manually, etc.
The site is scheduled to launch on May 31 and offers great prizes for the first 100 people to complete it, with excpetionally great prizes for the first 5! Put your thinking caps and visit www.toughestdeveloperpuzzleever.com!
The site is scheduled to launch on May 31 and offers great prizes for the first 100 people to complete it, with excpetionally great prizes for the first 5! Put your thinking caps and visit www.toughestdeveloperpuzzleever.com!
Tuesday, May 4, 2010
T3CHn!c 2010 - Bringing the Northeast Ohio Technical Community Together
The 2nd annual TechNic will build on the camaraderie of the boundless IT community of Northeast Ohio with the support of companies and organizations by providing a free event for attendees to simply enjoy a summer day of classic picnic fun and activities.
Last year’s event brought together over 200 attendees and 20 supporting companies from around the globe! Pictures of last year's event can be seen here.
We hope that your organization becomes a part of T3CHn!c TM 2010. Feel free to include your friends, family, employees, customers, clients, partners, prospects, and their friends and families, too!
Logos of supporting organizations will be displayed on all announcements. Consistent mention and messaging on behalf of supporters will be made through social media and other public relations, with a higher level of promotion for top sponsors. Banners and other means of visibility will be displayed at the event.
Suggested donation guidelines:
$200 +.....................................T3CHn!c TM 2010 Sponsorship
$75....................................... Table Rental for Service / Product Demo
$100...................................... Keg
$50....................................... Food & Beverages
$Peerless................................. Prizes, Entertainment
$Priceless................................ Swag, Volunteers
July 24th, 2010, 11am – 8pm (Rain or shine!)
St. Sava’s Picnic Grove
2300 W Ridgewood
Parma OH 44134
For more information, contact:
Heidi Hooper
216-469-1163
Heidi@BoundlessFlight.com
Twitter: @Heidi1163
Last year’s event brought together over 200 attendees and 20 supporting companies from around the globe! Pictures of last year's event can be seen here.
We hope that your organization becomes a part of T3CHn!c TM 2010. Feel free to include your friends, family, employees, customers, clients, partners, prospects, and their friends and families, too!
Logos of supporting organizations will be displayed on all announcements. Consistent mention and messaging on behalf of supporters will be made through social media and other public relations, with a higher level of promotion for top sponsors. Banners and other means of visibility will be displayed at the event.
Suggested donation guidelines:
$200 +.....................................T3CHn!c TM 2010 Sponsorship
$75....................................... Table Rental for Service / Product Demo
$100...................................... Keg
$50....................................... Food & Beverages
$Peerless................................. Prizes, Entertainment
$Priceless................................ Swag, Volunteers
July 24th, 2010, 11am – 8pm (Rain or shine!)
St. Sava’s Picnic Grove
2300 W Ridgewood
Parma OH 44134
For more information, contact:
Heidi Hooper
216-469-1163
Heidi@BoundlessFlight.com
Twitter: @Heidi1163
Monday, March 29, 2010
Regional .Net Events
Listed below are upcoming regional events relating to .Net
April 17: Pittsburgh Code Camp (http://codecamppgh.com/default.aspx)
April 20: Cleveland WPF User Group –RIA Services by Chris Woodruff (http://www.clevelandwpf.info/)
April 27: Cleveland C#/VB.Net User Group - Architecture tools in Visual Studio 2010 by Cameron Skinner (Microsoft) (http://www.clevelanddotnet.info/)
April 28: Cleveland SharePoint User Group (http://www.sharepointcleveland.com/default.aspx)
May 1: Ann Arbor Day of .Net (http://www.dayofdotnet.org/AnnArbor/Spring2010/default.aspx)
May 1: Chicago Code Camp (http://chicagocodecamp.com/)
May 7: Stir Trek (http://www.stirtrek.com/)
June 25-26: Code Stock (http://www.codestock.org/)
June 26: Columbus SQL Saturday (http://www.sqlsaturday.com/42/eventhome.aspx)
August 5-7: DevLink (http://devlink.net/)
April 17: Pittsburgh Code Camp (http://codecamppgh.com/default.aspx)
April 20: Cleveland WPF User Group –RIA Services by Chris Woodruff (http://www.clevelandwpf.info/)
April 27: Cleveland C#/VB.Net User Group - Architecture tools in Visual Studio 2010 by Cameron Skinner (Microsoft) (http://www.clevelanddotnet.info/)
April 28: Cleveland SharePoint User Group (http://www.sharepointcleveland.com/default.aspx)
May 1: Ann Arbor Day of .Net (http://www.dayofdotnet.org/AnnArbor/Spring2010/default.aspx)
May 1: Chicago Code Camp (http://chicagocodecamp.com/)
May 7: Stir Trek (http://www.stirtrek.com/)
June 25-26: Code Stock (http://www.codestock.org/)
June 26: Columbus SQL Saturday (http://www.sqlsaturday.com/42/eventhome.aspx)
August 5-7: DevLink (http://devlink.net/)
Saturday, October 3, 2009
Special October Meeting
Stephen Toub from the Parallel Computing Platform team at Microsoft will be presenting at the Cleveland C#/VB.Net User Group on Thursday, October 29, 2009. Please note this meeting date is in addition to, not replacing, our regularly scheduled meeting every 4th Tuesday (October 27, 2009).
He will be travelling through our district the last week of October. He will be speaking at corporations during the day, and user groups in the evening. Stephen's goal is to get direct feedback from developers on the products he works on. Your questions and feedback help make .NET better!
Stephen will discuss concurrency and how .NET 4.0 simplifies parallel programming. This is one of the exciting things about .NET 4.0. With Moore’s Law breaking down, software developers need to be able to master multithreading and know how to develop concurrent applications. Historically, this has been very difficult. It’s hard to understand concurrency issues, hard to write good code, and hard to debug when race conditions and such do happen. With .NET 4.0, there are APIs and tools to make parallel programming much simpler.
If you would like to attend this special meeting, please send an e-mail to sam@clevelanddotnet.info with "RSVP" in the subject line.
He will be travelling through our district the last week of October. He will be speaking at corporations during the day, and user groups in the evening. Stephen's goal is to get direct feedback from developers on the products he works on. Your questions and feedback help make .NET better!
Stephen will discuss concurrency and how .NET 4.0 simplifies parallel programming. This is one of the exciting things about .NET 4.0. With Moore’s Law breaking down, software developers need to be able to master multithreading and know how to develop concurrent applications. Historically, this has been very difficult. It’s hard to understand concurrency issues, hard to write good code, and hard to debug when race conditions and such do happen. With .NET 4.0, there are APIs and tools to make parallel programming much simpler.
If you would like to attend this special meeting, please send an e-mail to sam@clevelanddotnet.info with "RSVP" in the subject line.
Thursday, September 17, 2009
Typemock Webinar
Typemock is holding a free live webinar (web-seminar) on how to unit test successfully. The webinar will include the following:
· Creating Supporting environment
· Unit testing tools of the trade
· Practices and Pitfalls
· Writing the first test
· Live Q & A
You can get more details on - http://blog.typemock.com/2009/09/unit-testing-net-successfully-live-free.html
· Creating Supporting environment
· Unit testing tools of the trade
· Practices and Pitfalls
· Writing the first test
· Live Q & A
You can get more details on - http://blog.typemock.com/2009/09/unit-testing-net-successfully-live-free.html
Thursday, July 2, 2009
Windows Client Feature Comparison
Microsoft released a chart highlighting the features of Windows 7, Vista SP1, and Windows Xp SP3. It lists features in 5 categories:
File organization and Search
Remote Access
Security and Compliance
Management
Deployment
To download the comparison chart, go to http://www.microsoft.com/downloads/details.aspx?familyid=FA0177CC-7E82-4993-B0D6-FEC84216DD9C&displaylang=en \
File organization and Search
Remote Access
Security and Compliance
Management
Deployment
To download the comparison chart, go to http://www.microsoft.com/downloads/details.aspx?familyid=FA0177CC-7E82-4993-B0D6-FEC84216DD9C&displaylang=en \
Monday, May 25, 2009
Cleveland TECHnic
On Saturday, June 20, 2009, several local technology vendors and user groups will collaborate on hosting a summer picnic, called "TECHnic". The event is scheduled from 10AM-8PM at St. Sava's Picnic Grove in Parma, OH. For more information, please visit www.tinyurl.com/TECHnicPicnic.
Monday, May 18, 2009
CodeStock 2009
CodeStock 2009 is a conference for software developers held in Knoxville, TN. The event is aimed at providing the latest and greatest topics in software development across various platforms. In addition, the event also has "open spaces" where fellow developers can gather and discuss any topic on their mind at the moment. This could range from advantages of C# vs. VB.Net to the pros/cons of Agile development to surviving a tough economic period.
This year's event will be held June 26 - June 27, providing a variety of topics for 2 full days. The full list of sessions is available at http://codestock.org/Sessions.aspx with the exact scheduling due out soon. Tickets for the event are $25 if purchased before June 1st, and $45 afterwards.
For members of the Cleveland C#/VB.Net User Group, 2 tickets have been provided free of charge to the first 2 people to respond to this blog. To claim your ticket, simply send an e-mail to sam@clevelanddotnet.info. If you're interested in car-pooling to the event from Cleveland, OH, please send an e-mail to the same address.
For more information on CodeStock, please visit http://codestock.org
This year's event will be held June 26 - June 27, providing a variety of topics for 2 full days. The full list of sessions is available at http://codestock.org/Sessions.aspx with the exact scheduling due out soon. Tickets for the event are $25 if purchased before June 1st, and $45 afterwards.
For members of the Cleveland C#/VB.Net User Group, 2 tickets have been provided free of charge to the first 2 people to respond to this blog. To claim your ticket, simply send an e-mail to sam@clevelanddotnet.info. If you're interested in car-pooling to the event from Cleveland, OH, please send an e-mail to the same address.
For more information on CodeStock, please visit http://codestock.org
Wednesday, April 8, 2009
Set the identity specification on a primary key
Q: I always used databases provided by Microsoft to practice on. Today I tried to create my own and ran into trouble. Problem is that I cannot set the identity specification on a primary key. The column properties show up as no and I cannot change it to yes. I’m using SQL Server Express 2005 on a Vista machine. Any thoughts?
A: . To change column properties, you must modify the table (right click table and select “Modify”). Select and highlight the column you want to change, then expand the “Identity Specification” in the “Column Properties” pane. Change the “Is Identity” property to “Yes”. Please note the change must be made to the “Is Identity” property, not the “Identity Specification”.
A: . To change column properties, you must modify the table (right click table and select “Modify”). Select and highlight the column you want to change, then expand the “Identity Specification” in the “Column Properties” pane. Change the “Is Identity” property to “Yes”. Please note the change must be made to the “Is Identity” property, not the “Identity Specification”.
Subscribe to:
Posts (Atom)