<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6769877106056454542</id><updated>2012-02-16T00:18:33.525-08:00</updated><category term='semmap.dll'/><category term='email validation'/><category term='Visual Studio'/><category term='semmap90.dll'/><category term='DTS'/><category term='SQL2008'/><category term='installation'/><category term='javascript'/><category term='validate'/><category term='ASP'/><category term='VB.NET'/><category term='Dynamic Array'/><category term='Aggregate'/><category term='TSQL'/><category term='ASP.NET'/><category term='VS2008'/><category term='textbox'/><category term='HAVING'/><category term='Visual Studio 2008'/><category term='SQL2000'/><category term='WHERE'/><category term='SQL2005'/><category term='SQL SERVER'/><category term='smalldatetime'/><category term='T-SQL'/><category term='ReDim'/><title type='text'>Edward Wei  and .NET</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-1838592134051594678</id><published>2008-10-31T13:06:00.000-07:00</published><updated>2008-10-31T13:22:11.071-07:00</updated><title type='text'>Why IE only prints the first page?</title><summary type='text'>A few days ago, an issue was escalated to me that one of the web report can only print one (first) page in IE, even the report has three pages. It appeared in Print Preview that there is only one page. But if you look it in Firefox 3.0, you can see three pages in preview and can print all three pages.The problem is with the css file (Cascade style sheet) with "absolute" keyword. In the CSS file </summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/1838592134051594678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=1838592134051594678' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/1838592134051594678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/1838592134051594678'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/10/why-ie-only-prints-first-page.html' title='Why IE only prints the first page?'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-5424324323415307518</id><published>2008-10-15T14:18:00.000-07:00</published><updated>2008-10-15T14:26:43.465-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='smalldatetime'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Smalldatetime error</title><summary type='text'>If you see this error: The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime valueit means you have bad date to convert from string to smalldatetime data type in database. It usually occurs when you have a web form that submitted some data to save into database and one of the data is a date string. For some reason, people will type the date wrong </summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/5424324323415307518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=5424324323415307518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/5424324323415307518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/5424324323415307518'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/10/smalldatetime-error.html' title='Smalldatetime error'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-9048799747489837022</id><published>2008-09-08T08:34:00.000-07:00</published><updated>2008-09-08T08:41:55.862-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='semmap90.dll'/><category scheme='http://www.blogger.com/atom/ns#' term='semmap.dll'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL2000'/><category scheme='http://www.blogger.com/atom/ns#' term='DTS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><title type='text'>Can't edit DTS package email notifications</title><summary type='text'>After installed SQL Server 2005 Management Studio, my SQL2000 Enterprise Manager encountered an error while modifying the email notification component in DTS packages.The error message is like this:Error Source: Microsoft Data Transformation Services (DTS) PackageError Description: Cannot load MAPI interface layer for DTS. Please make sure that semmap90.dll is installed.Execution cannot continue </summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/9048799747489837022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=9048799747489837022' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/9048799747489837022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/9048799747489837022'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/09/cant-edit-dts-package-email.html' title='Can&apos;t edit DTS package email notifications'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-1560822665123028575</id><published>2008-09-08T07:38:00.000-07:00</published><updated>2008-09-08T07:40:19.436-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Step by Step Installing Visual Studio 2008</title><summary type='text'>Having heard so many good words about Visual Studio 2008 (VS2008), I decided to give it a try on my develop machine. Overall, it is a pleasant experience and everything worked just fine and smooth.In the morning, the first thing after checking emails, I backed up my PC. It took about 25 minutes to create a backup of my current documents and etc. Next, I put the VS2008 (standard version) install </summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/1560822665123028575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=1560822665123028575' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/1560822665123028575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/1560822665123028575'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/09/step-by-step-installing-visual-studio.html' title='Step by Step Installing Visual Studio 2008'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-2736562288181086737</id><published>2008-08-29T11:42:00.000-07:00</published><updated>2008-08-29T11:55:47.948-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Aggregate'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL2000'/><category scheme='http://www.blogger.com/atom/ns#' term='HAVING'/><category scheme='http://www.blogger.com/atom/ns#' term='TSQL'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL2005'/><category scheme='http://www.blogger.com/atom/ns#' term='WHERE'/><title type='text'>T-SQL: Use “Having” or “Where”</title><summary type='text'>When writing T-SQL query in SQL Server, one has two options to limit the returned data. You can either use “HAVING” or “WHERE”. The question is when and how to use them?For example:Query1Select tblEmployees.EmployeeID, SUM( tblEmployees.intHourThisWeek) as TotalHoursWorkedFROM tblEmployees WHERE  tblEmployees.Active=True  AND tblEmployees.DateofWork &lt; '1/1/2008'   AND tblEmployees.DateofWork &gt;= '</summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/2736562288181086737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=2736562288181086737' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/2736562288181086737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/2736562288181086737'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/08/t-sql-use-having-or-where.html' title='T-SQL: Use “Having” or “Where”'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-8034515673779539329</id><published>2008-08-28T12:42:00.000-07:00</published><updated>2008-08-29T11:08:18.506-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='semmap90.dll'/><category scheme='http://www.blogger.com/atom/ns#' term='semmap.dll'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL2000'/><category scheme='http://www.blogger.com/atom/ns#' term='DTS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL2005'/><title type='text'>"semmap90.dll is installed" for SQL2000 DTS Mail Object</title><summary type='text'>The environment at my work has both SQL server 2000 and 2005. After I upgraded the Enterprise Manager of SQL2000 to Management Studio from SQL2005, I can no longer view or modify the MailObjects in SQL2000 DTS packages.(DTS stands for Data transformation system)The error is "Please make sure the semmap90.dll is installed."I installed Enterprise Manager again and tried to open the DTS package </summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/8034515673779539329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=8034515673779539329' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/8034515673779539329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/8034515673779539329'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/08/semmap90dll-is-installed-for-sql2000.html' title='&quot;semmap90.dll is installed&quot; for SQL2000 DTS Mail Object'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-3271772529098851677</id><published>2008-08-27T08:47:00.000-07:00</published><updated>2008-08-27T08:50:37.726-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='email validation'/><category scheme='http://www.blogger.com/atom/ns#' term='textbox'/><category scheme='http://www.blogger.com/atom/ns#' term='validate'/><title type='text'>Validation for Form Submission with Javascript: Textbox</title><summary type='text'>There are a few common form fields that we need to validate before submit the web form.Here is a collection of javascript code to access form field value and run some common validations.For exmaple, you have a form named "myForm1" and you have a function to validate the form submission:function validateSubmission(){ // code added inside function}1. Text field.This is the easiest one. Usually this</summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/3271772529098851677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=3271772529098851677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/3271772529098851677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/3271772529098851677'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/08/validation-for-form-submission-with.html' title='Validation for Form Submission with Javascript: Textbox'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-7095493886066729619</id><published>2008-08-26T09:11:00.000-07:00</published><updated>2008-08-26T09:36:22.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic Array'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP'/><category scheme='http://www.blogger.com/atom/ns#' term='ReDim'/><title type='text'>Dynamic Array for unknown number of data</title><summary type='text'>In one situation, I want to display a drop down selection of different dealers for administrator to assign dealer to various products/users. I don't want to connect to database to retrieve dealers for 100 times so I used a in-memory array to hold the dealers and build drop down selection on the ASP page.Here is the code for dynamic array and assigning values. With this array in memory. It will be</summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/7095493886066729619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=7095493886066729619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/7095493886066729619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/7095493886066729619'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/08/dynamic-array-for-unknown-number-of.html' title='Dynamic Array for unknown number of data'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-6832662488729432187</id><published>2008-08-26T08:01:00.000-07:00</published><updated>2008-08-26T08:41:33.757-07:00</updated><title type='text'>Parallel Computing in .NET</title><summary type='text'>It was a little surprise but not shocked when I heard that INTEL are talking to Microsoft for parallel computing programming because in a couple of years, there will be CPUs with 16 cores to 256 cores.  As we have already seen many new PCs come with quad-core (four core processing units), it is not a surprise to hear 16 cores PC will come out soon. But for 256 cores? I am a little surprised. As </summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/6832662488729432187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=6832662488729432187' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/6832662488729432187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/6832662488729432187'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/08/parallel-computing-in-net.html' title='Parallel Computing in .NET'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6769877106056454542.post-7109649703283786019</id><published>2008-08-25T07:32:00.000-07:00</published><updated>2008-08-25T07:59:13.497-07:00</updated><title type='text'>devLink 2008 in Murfreesboro is a great hit</title><summary type='text'>The two-day confernce DevLink (devlink.net) is a very good experience for me. I had listened to speakers about .NET, Visual Studio, Parallel computing,  ADO.NET connection and many other topics.One most interesting thing was the new language in developing process: F# (f sharp).To my understanding, it is going to be a very smart lauguage that you can write like vb script that you don't specify </summary><link rel='replies' type='application/atom+xml' href='http://edwardwei3824.blogspot.com/feeds/7109649703283786019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6769877106056454542&amp;postID=7109649703283786019' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/7109649703283786019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6769877106056454542/posts/default/7109649703283786019'/><link rel='alternate' type='text/html' href='http://edwardwei3824.blogspot.com/2008/08/devlink-2008-in-murfreesboro-is-great.html' title='devLink 2008 in Murfreesboro is a great hit'/><author><name>Edward Wei</name><uri>http://www.blogger.com/profile/08841536230612342110</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://4.bp.blogspot.com/_uwiBjBxaha4/SLLEjq1BYXI/AAAAAAAAAAM/0LBSrahb07o/S220/Ft_Lauderdale_5.jpg'/></author><thr:total>1</thr:total></entry></feed>
