-
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: May 2011
Change from Thread to Task (Parallel Programming)
Each thread also consumes (by default) around 1 MB of memory. The thread pool cuts these overheads by sharing and recycling threads, allowing multithreading to be applied at a very granular level without a performance penalty (Albahari, 2010). The … Continue reading
Configure ASP.NET Web Application to use Database Session – video
1. Once you have created the database to keep the session. 2. Watch the video below. Configure ASP.NET Web Application to use Database Session
Convert ASP.NET Website to Web Application in Visual Studio 2010 – video
1. Open the Website. 2. Add a Empty Web Application project. 3. Drag and Drop all the files from the Website. 4. Right click the Web Application and select Convert to Web Application. Watch the video below. Convert … Continue reading
One of the problems of ASP.NET MVC 2
What will the problem like? 1. Download the sample MvcApplication1.rar from ASP.NET MVC 2 simplest sample – video. 2. Go to About.aspx and change <asp:Content ID=”aboutContent” ContentPlaceHolderID=”MainContent” runat=”server”> <h2>About</h2> <p> <%: ViewData["Message"] %> … Continue reading
ASP.NET MVC 2 simplest sample – video
1. Create MVC 2 project. 2. Add MathLib class into Models folders. using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MvcApplication1.Models { public class MathLib { public static int Add(int num1, int num2) … Continue reading
CRUD using AseDataAdapter for SyBase
1. Copy the code from Good practice of CRUD by creating SqlDataAdapter when you cannot use Entity Framework episode 1. 2. Add reference to SyBase.Data.AseClient. 3. Rename SqlDataAdapter to AseDataAdapter. 4. Rename SqlCommand to AseCommand. 5. … Continue reading
Good practice of CRUD by creating SqlDataAdapter when you cannot use Entity Framework episode 4 – sample
In episode 3, we added a button to update to the customer table. In this episode we do the following. 1. Add a button to delete the rows. 2. Add the following code to the click event of … Continue reading
Good practice of CRUD by creating SqlDataAdapter when you cannot use Entity Framework episode 3 – sample
In episode 2, we added a button to read to the customer table with city and country filter. In this episode we do the following. 1. Add a button to update all the rows. 2. Add the following … Continue reading
Error: The server is not operational. Troubleshooting Exceptions: System.Runtime.InteropServices.COMException
If you got the error message “The server is not operational. Troubleshooting Exceptions: System.Runtime.InteropServices.COMException” then you might have added a wrong reference. I solved this error by removing the System.Web.ApplicationServices. See the picture below.
Good practice of CRUD by creating SqlDataAdapter when you cannot use Entity Framework episode 2 – sample and video
In episode 1, we added a button to do insert to the customer table. In this episode we do the following. 1. Add a button to read all the rows. 2. Add a GridView to display all the … Continue reading