-
Recent Posts
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
Categories
Meta
Monthly Archives: September 2011
Migrates MySQL database schema to MSSQL using Visual Studio 2010
1. Install MySQL server. 2. Install MySQL .NET connector 6.4.x. 3. Install VS 2010. 4. Install SQL Express Management Studio. 5. Create edmx from MySQL. 6. Generate the database table through edmx to MSSQL. Watch the video below. … Continue reading
xp_regread() returen error 5 ‘Access is denied’
This happen when you want to set the security to both Windows and SQL login. The error message does not reflect the actual issue. One possible problem is 32 bit database engine with 64 bit Management Studio.
ASP.NET 4.5 Smart Tasks
Data can bind to control in Source view instead of Design view in aspx. Watch the video below. ASP.NET 4.5 Smart Tasks
Building parallelized apps with .NET and Visual Studio
Building parallelized apps with .NET and Visual Studio Key takeaway I found in this presentation. 1. Async will be included in .NET Framework 4.5. 2. Developer a step through the await() statement. 3. There is a new … Continue reading
Upgrade from ASP.NET 4 to ASP.NET 4.5 for Strongly Typed Data-controls
1. Right click the properties of the ASP.NET project. 2. Choose Target Framework to 4.5. 3. Open an existing aspx page. 4. Add ModelTypeinto data-controls. For example, <asp:GridViewID=”InstructorsGridView”runat=”server”AllowPaging=”True”AllowSorting=”True”ModelType=”ContosoUniversity.DAL.Instructor” AutoGenerateColumns=”False”DataKeyNames=”PersonID”DataSourceID=”InstructorsEntityDataSource” OnSelectedIndexChanged=”InstructorsGridView_SelectedIndexChanged” SelectedRowStyle-BackColor=”LightGray” onrowupdating=”InstructorsGridView_RowUpdating”> 5. Change Eval to … Continue reading
How to communicate from UserControl to container object using Event
This sample is in WPF. 1. Add a button in WPF form. 2. Create a User Control with one button. 3. Create a class with event. classClass1 { publicdelegatevoidMyEventHandler(object sender, EventArgs e); publicstaticeventMyEventHandler ChangeText; publicstring str = … Continue reading
What’s new in .NET Framework 4.5
What’s new in .NET Framework 4.5
You cannot attach that database file (version ’661′) to the instance of SQL Server that you specified (version ’700′)
When double click on the existing mdf in VS 11 you will get an error like the one below. —————————————————————————————————————— You cannot attach that database file (version ’661′) to the instance of SQL Server that you specified (version ’700′) To … Continue reading
Future directions for C# and Visual Basic – C# 5 and VB.NET 11
Future directions for C# and Visual Basic We can paste C# code to VB.NET directly soon.