-
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: July 2012
Execute Python code using C#
In order to to run the Python code using C# you need to add reference · IronPython · IronPython.Modules You can get download this from http://ironpython.codeplex.com/. You also need add Dynamic Language Runtime as reference · Microsoft.Dynamic … Continue reading
‘ProjectName.Program+Category’ was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation
If you follow the code from this blog http://blogs.msdn.com/b/adonet/archive/2011/03/15/ef-4-1-code-first-walkthrough.aspxthen you might hit the error “’ProjectName.Program+Category’ was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation.” I repeat the code … Continue reading
‘DbContext’ could not be found (Code First)
When you want to use Code First feature in Visual Studio 11 or Entity Framework 4.1 then you might hit the error “‘DbContext’ could not be found”. If you are looking at the blog like http://blogs.msdn.com/b/adonet/archive/2011/03/15/ef-4-1-code-first-walkthrough.aspx you will wondering the … Continue reading
Write XML Tree to XML file (LINQ to XML)
When you read the article Creating XML Trees in C# (LINQ to XML), http://msdn.microsoft.com/en-us/library/bb387089.aspx, you will see the console output is Child1 was cloned Child2 was attached You will have a question on why it doesn’t look like … Continue reading
Cannot send photo using Samsung Android phone
There is nothing to do with your phone like Samsung Ace but you need to 1. Press menu 2. Go to Settings 3. Press Wireless and networks 4. Press Mobile networks 5. Enable the Use packet data. Do disable it … Continue reading
Simple sample on Export to Excel using OpenXML SDK in ASP.NET
When you download the source code from http://www.codeproject.com/Tips/366446/Export-GridView-Data-to-Excel-using-OpenXml to try to Excel a single cell to Excel file it is just uneasy. I have broken a big chunk into a smaller unit to just output one value to an Excel … Continue reading
Simple way to get the DOM element by id using HtmlAgilityPack
The is a XMLDocument (serious I bet this is what they are using) wrapper in codeplex.com called HtmlAgilityPack. Somehow there is not easy to get the document even on how to use GetElementbyId method. The code below shows how to … Continue reading
Move html to cshtml for backbone.js in ASP.NET MVC 3
If you download the tutorial for backbone.js part 1 here http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-1/ you will see the UI is using html file, with html extension of course. You can create a new MVC3 web application using ASP.NET MVC 3 Web Application. … Continue reading