Entries Tagged as 'Programming'

Cookie with subkeys and ASP:CookieParameter

November 20th, 2006 · No Comments

Cookie with subkeys looks like this: HttpCookie myCookie = new HttpCookie(“MainCookie”); myCookie.Values.Add(“Email”, myDr["Email"].ToString()); myCookie.Values.Add(“User_Id”, myDr["Id"].ToString()); myCookie.Values.Add(“First_Name”, myDr["firstname"].ToString()); myCookie.Values.Add(“Last_Name”, myDr["lastname"].ToString()); myCookie.Expires = DateTime.Now.AddYears(1); Response.Cookies.Add(myCookie);

[Read more →]

Tags: Programming

Learning ASP.Net AJAX (1)

November 16th, 2006 · No Comments

I am doing ASP.Net programming (using C#) these few days and I am thinking of a way to display interactive contents without post back the page. For example, there are two DropDownList, cboCategory and cboProduct respectively. If user clicked on cboCategory, all related products under the selected category will be displayed in cboProduct. In normal [...]

[Read more →]

Tags: Programming

MS SQL Server 2005 Express Edition Adventure (2)

October 12th, 2006 · No Comments

Today one of my colleagues experienced an issue when installing SQL Server 2005 Express Edition on her PC. It simply spends hours on “Setting File Security…” screen. After googling around, finally found this solution: http://support.microsoft.com/?kbid=910070 It appears that if you work in domain, the installation will do some verification on the domain user. A workaround [...]

[Read more →]

Tags: Programming

Server Application Unavailable

July 4th, 2006 · No Comments

Another friends of mine is having problem viewing ASPX website. Whenever she typed in an URL, “Server Application Unavailable” is shown. Checked everything is okay. The IIS is configured to use .Net Framework 2.0 and the web application is created. I even added localhost as a trusted site. Googled it and returned not much help. [...]

[Read more →]

Tags: Programming

MS SQL Server 2005 Express Edition Adventure (1)

June 30th, 2006 · No Comments

It took me one day in troubleshooting “error: 40 – Could not open a connection to SQL Server” error whenever I attempt to connect to Management Studio Express (MSE) or sqlcmd. I tried the solution suggested on Internet and eventually landed on the following solution:

[Read more →]

Tags: Programming

© 2006–2012 Now Eating — Sitemap

Switch to our mobile site