lancezhang.wordpress.com
2011 April 01 « LanceZhang’s Blog
https://lancezhang.wordpress.com/2011/04/01
Dear friends, Welcome to my blog. 2 ways to retireve the uniqueidentification field after insert. Using uniqueidentifier field as primary key and set the default value as (newsequentialid() or (newid() is a good choose for some scenerio. If you try to use SCOPE IDENTITY() or @ IDENTITY to retireve the uniqueidentification ID after add new row, you will found that is not worked. There are two solution to achieve the facing goal:. DECLARE @outputTable TABLE(ID uniqueidentifier). SELECT ID FROM @outputTable.
lancezhang.wordpress.com
Preview and check Image info before upload « LanceZhang’s Blog
https://lancezhang.wordpress.com/2009/02/16/preview-and-check-image-info-before-upload
Dear friends, Welcome to my blog. Preview and check Image info before upload. That will only work in IE:. DOCTYPE html PUBLIC “-/ W3C/ DTD XHTML 1.0 Transitional/ EN” “ http:/ www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”. 8221; http:/ www.w3.org/1999/xhtml”. Validate before upload by Lance Zhang. File type :gif,jpg,jpeg,png,bmp. The file type is not correct. Right type.length;. February 16, 2009. Posted by Lance Zhang. 7 Comments ». Just passing by.Btw, you website have great content!
lancezhang.wordpress.com
2009 April 08 « LanceZhang’s Blog
https://lancezhang.wordpress.com/2009/04/08
Dear friends, Welcome to my blog. A common Log class for .NET. This method is used for record the normal Logs, it will create a file name like “log 20090408.txt” to the root directory of your application, and append the log message:. Just like the Output method, this method not only output the log message, but also output the following messages:. Which is useful for an exception analysis. Then, the output is like:. Module Header * * * * * * * * * * * * * * *. Module Name: Log.cs. April 8, 2009. I am a Mi...
lancezhang.wordpress.com
2009 February 16 « LanceZhang’s Blog
https://lancezhang.wordpress.com/2009/02/16
Dear friends, Welcome to my blog. Preview and check Image info before upload. That will only work in IE:. DOCTYPE html PUBLIC “-/ W3C/ DTD XHTML 1.0 Transitional/ EN” “ http:/ www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”. 8221; http:/ www.w3.org/1999/xhtml”. Validate before upload by Lance Zhang. File type :gif,jpg,jpeg,png,bmp. The file type is not correct. Right type.length;. February 16, 2009. Posted by Lance Zhang. BE degree in Software Engineering. My Chinese Tech Blog. How to change ...
lancezhang.wordpress.com
ASP.NET AJAX Performance Improvement « LanceZhang’s Blog
https://lancezhang.wordpress.com/2008/11/15/aspnet-ajax-performance
Dear friends, Welcome to my blog. ASPNET AJAX Performance Improvement. I think everyone would agree that AJAX is one of the elements of “Web 2.0”, every web developers should know this technology. I have been collected a list of the popular AJAX Frameworks on my chinese tech blog. We will amazedly found that, there are more than 128 AJAX Frameworks! Refer to a voting result. And I would like to introduce two useful tools for our Performance Analysis:. 1 HttpWatch to show the network traffic. ScriptRefere...
lancezhang.wordpress.com
2009 January 20 « LanceZhang’s Blog
https://lancezhang.wordpress.com/2009/01/20
Dear friends, Welcome to my blog. TinyMCE Editor and Ajax Control Toolkit Tab Control. As we know, the ASP.NET forum’s add post page contains a TabContainer control in one TabPanel there is a TinyMCE Editor for edit the post, another TabPanel is use for preview the post. In this case, I have created a demo like that:. Page Language=”C#” ValidateRequest=”false” %. 8220; http:/ www.w3.org/1999/xhtml”. 8211; TinyMCE –. 8220;tiny mce/tiny mce.js”. Mode: “textareas”. Theme: “advanced”. Theme advanced but...
lancezhang.wordpress.com
TinyMCE Editor and Ajax Control Toolkit Tab Control « LanceZhang’s Blog
https://lancezhang.wordpress.com/2009/01/20/tinymce-editor-and-ajax-control-toolkit-tab-control
Dear friends, Welcome to my blog. TinyMCE Editor and Ajax Control Toolkit Tab Control. As we know, the ASP.NET forum’s add post page contains a TabContainer control in one TabPanel there is a TinyMCE Editor for edit the post, another TabPanel is use for preview the post. In this case, I have created a demo like that:. Page Language=”C#” ValidateRequest=”false” %. 8220; http:/ www.w3.org/1999/xhtml”. 8211; TinyMCE –. 8220;tiny mce/tiny mce.js”. Mode: “textareas”. Theme: “advanced”. Theme advanced but...
lancezhang.wordpress.com
Create Tooltip dynamically by AJAX and WebService « LanceZhang’s Blog
https://lancezhang.wordpress.com/2009/01/12/create-tooltip-dynamically-by-ajax-and-webservice
Dear friends, Welcome to my blog. Create Tooltip dynamically by AJAX and WebService. Use Pop up div by JavaScript or AJAX Control Toolkit’s Hover Menu control can create a Tooltip easily. However, if we need to create the content of tooltip dynamically by the Server-Side code, we can use the ICallbackEventHandler. To achieve the faing goal, just like the solution in following link:. Https:/ lancezhang.wordpress.com/2008/12/04/create-tooltip-dynamically/. Easily, just like the solution in following link:.
lancezhang.wordpress.com
Lance Zhang « LanceZhang’s Blog
https://lancezhang.wordpress.com/author/blodfox777
Dear friends, Welcome to my blog. 2 ways to retireve the uniqueidentification field after insert. Using uniqueidentifier field as primary key and set the default value as (newsequentialid() or (newid() is a good choose for some scenerio. If you try to use SCOPE IDENTITY() or @ IDENTITY to retireve the uniqueidentification ID after add new row, you will found that is not worked. There are two solution to achieve the facing goal:. DECLARE @outputTable TABLE(ID uniqueidentifier). SELECT ID FROM @outputTable.