<?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-8482174851878556211</id><updated>2012-02-16T07:08:44.621-05:00</updated><category term='generating a windows popup in the code behind'/><category term='regex replace'/><category term='Gac'/><category term='list of tables in a SqlServer database'/><category term='convert image to icon'/><category term='n-Tiered Programming'/><category term='Manoli'/><category term='BusinessLayer'/><category term='Two C# Solutions for the FizzBuzz Problem'/><category term='asp.net bug'/><category term='Infragistics'/><category term='WebDialogWindow Bug'/><category term='DataLayer'/><category term='Infragistics  FromKey'/><category term='templated checkboxes in an infragistics webdatagrid'/><category term='.ico format'/><category term='RegisterStartupScript'/><category term='SqlServer'/><category term='disable Windows 7 maximize window'/><category term='igcmbo:WebCombo'/><category term='Dynamically'/><category term='gps coordinates'/><category term='CultureInfo.CurrentCulture'/><category term='iis 5.1'/><category term='Numeric Pager Exceeds Table Width'/><category term='Case sensitive column contents in SqlServer'/><category term='NJ Technical Women in Technology'/><category term='google maps'/><category term='connections'/><category term='icon format'/><category term='Placeholder'/><category term='UserControl'/><category term='first name format'/><category term='Leading zeros in tsql'/><category term='Infragistics WebDataGrid'/><category term='TitleCase in c#'/><category term='tsql select into'/><category term='bound Templated Checkbox'/><category term='REGEX to Change Case'/><category term='Javascript RegEx Regular Expression'/><category term='Response.Write'/><category term='object oriented programming'/><category term='DateTime.ParseExact'/><category term='insert into'/><category term='ToUpperInvariant()'/><category term='outlook won&apos;t start'/><category term='FileUpload'/><category term='Explorer 8'/><category term='OOP'/><category term='code format'/><category term='Cannot open the Outlook window error'/><category term='Initial Letter Case in c#'/><category term='ftp'/><title type='text'>Lookin' At Dot Net</title><subtitle type='html'>“What’s magic, eh? Just wavin’ a stick an’ sayin’ a few wee magical words. An’ what’s so cleaver aboot that, eh? But lookin’ at things, really lookin’ at ‘em, and then workin’ ‘em oout, now, that’s a real skill.”     The Wee Free Men, Terry Pratchett</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-3543465597120744763</id><published>2011-07-26T10:00:00.006-04:00</published><updated>2011-07-26T13:58:43.707-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='REGEX to Change Case'/><category scheme='http://www.blogger.com/atom/ns#' term='regex replace'/><title type='text'>Using REGEX to Change Case Selectively</title><content type='html'>I had a list of generic medications where the names were capitalized. I needed to change the spelling to lower case, which is the accepted way to spell them.&lt;br /&gt;&lt;br /&gt;However, converting the medication name ToLower was too simplistic, since certain capitals needed to be preserved:&lt;br /&gt;&lt;br /&gt;abobotulinumtoxinA&lt;br /&gt;alteplase, tPA&lt;br /&gt;aspirin, ASA&lt;br /&gt;avian influenza A (H5N1) virus vaccine&lt;br /&gt;&lt;br /&gt;Here is the code I used:&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; ConvertStringToLC(&lt;span class="kwrd"&gt;string&lt;/span&gt; name)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;foreach&lt;/span&gt; (Match m &lt;span class="kwrd"&gt;in&lt;/span&gt; Regex.Matches(name, &lt;span class="str"&gt;@"[A-Z]{1}[a-z]+"&lt;/span&gt;))&lt;br /&gt;{&lt;br /&gt;name = name.Substring(0, m.Index ) + &lt;span class="kwrd"&gt;char&lt;/span&gt;.ToLower(name[m.Index]) + name.Substring(m.Index + 1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;return&lt;/span&gt; name;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;Because I was updating a sql database column I also had to take care of strings that had an apostrophe in them, such as burow's solution.&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;drugNameNew = drugNameNew.Replace(&lt;span class="str"&gt;"'"&lt;/span&gt;, &lt;span class="str"&gt;"''"&lt;/span&gt;);&lt;/pre&gt;&lt;pre class="csharpcode"&gt; &lt;/pre&gt;One last thing. If the generic drug name is used at the start of  sentence it needs to be capitalized.&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;drugNameGeneric = &lt;span class="kwrd"&gt;char&lt;/span&gt;.ToUpper(drugNameGeneric[0]) + drugNameGeneri.Substring(1);&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-3543465597120744763?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/3543465597120744763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/07/using-regex-to-change-case.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/3543465597120744763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/3543465597120744763'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/07/using-regex-to-change-case.html' title='Using REGEX to Change Case Selectively'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-5975785524955333589</id><published>2011-07-11T14:44:00.002-04:00</published><updated>2011-07-11T14:46:10.064-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.ico format'/><category scheme='http://www.blogger.com/atom/ns#' term='icon format'/><category scheme='http://www.blogger.com/atom/ns#' term='convert image to icon'/><title type='text'>How to Convert an Image in jpg or other Format to an Icon</title><content type='html'>To convert an image in jpg or other format to an Icon &lt;br /&gt;&lt;br /&gt;Open the image in Ms Paint &lt;br /&gt;&lt;br /&gt;Click on File -&gt; Save As and&lt;br /&gt;&lt;br /&gt;1. Choose “Save as Type” as 24-bit Bitmap(*.bmp) &lt;br /&gt;and&lt;br /&gt;2. name the file with an extention of .ico:  TheFileName.ico &lt;br /&gt;&lt;br /&gt;The image does not need to be resized (to 32 x 32 or other icon size)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-5975785524955333589?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/5975785524955333589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/07/how-to-convert-image-in-jpg-or-other.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5975785524955333589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5975785524955333589'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/07/how-to-convert-image-in-jpg-or-other.html' title='How to Convert an Image in jpg or other Format to an Icon'/><author><name>Lill Lansey</name><uri>http://www.blogger.com/profile/12066521523151363370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-4107194465264793535</id><published>2011-02-01T17:38:00.003-05:00</published><updated>2011-02-01T18:03:50.589-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Two C# Solutions for the FizzBuzz Problem'/><title type='text'>Two C# Solutions for the FizzBuzz Problem</title><content type='html'>In case you are interested...&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; FizzBuzz&lt;br /&gt;{&lt;br /&gt;    &lt;span class="kwrd"&gt;class&lt;/span&gt; Program&lt;br /&gt;    {&lt;br /&gt;        &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; Main(&lt;span class="kwrd"&gt;string&lt;/span&gt;[] args)&lt;br /&gt;        {&lt;br /&gt;            &lt;span class="kwrd"&gt;const&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; fizz = &lt;span class="str"&gt;"FIZZ"&lt;/span&gt;;&lt;br /&gt;            &lt;span class="kwrd"&gt;const&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; buzz = &lt;span class="str"&gt;"BUZZ"&lt;/span&gt;;&lt;br /&gt;            &lt;span class="kwrd"&gt;const&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; fizzbuzz = &lt;span class="str"&gt;"FIZZBUZZ"&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;            &lt;span class="rem"&gt;// I did this solution second&lt;/span&gt;&lt;br /&gt;            &lt;span class="kwrd"&gt;for&lt;/span&gt; (&lt;span class="kwrd"&gt;int&lt;/span&gt; i = 1; i &amp;lt; 101; i++)&lt;br /&gt;            {&lt;br /&gt;                &lt;span class="kwrd"&gt;string&lt;/span&gt; output;&lt;br /&gt;                &lt;span class="kwrd"&gt;if&lt;/span&gt; (i / 15 * 15 == i) output = fizzbuzz;&lt;br /&gt;                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (i / 3 * 3 == i) output = fizz;&lt;br /&gt;                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (i / 5 * 5 == i) output = buzz;&lt;br /&gt;                &lt;span class="kwrd"&gt;else&lt;/span&gt; output = i.ToString();&lt;br /&gt;                Console.WriteLine(output);&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            &lt;span class="rem"&gt;// and this solution third &lt;/span&gt;&lt;br /&gt;            &lt;span class="kwrd"&gt;for&lt;/span&gt; (&lt;span class="kwrd"&gt;int&lt;/span&gt; i = 1; i &amp;lt; 101; i++)&lt;br /&gt;            {&lt;br /&gt;                &lt;span class="kwrd"&gt;string&lt;/span&gt; output = (i / 15 * 15 == i) ? fizzbuzz : (i / 3 * 3 == i)&lt;br /&gt;                    ? fizz : (i / 5 * 5 == i) ? buzz : i.ToString();&lt;br /&gt;                Console.WriteLine(output);&lt;br /&gt;            }&lt;br /&gt;   &lt;br /&gt;            Console.ReadLine();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;span class="rem"&gt;// Trust me, you don't want to see the one I did first.&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-4107194465264793535?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/4107194465264793535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/02/two-c-solutions-for-fizzbuzz-problem_01.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4107194465264793535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4107194465264793535'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/02/two-c-solutions-for-fizzbuzz-problem_01.html' title='Two C# Solutions for the FizzBuzz Problem'/><author><name>Lill Lansey</name><uri>http://www.blogger.com/profile/12066521523151363370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-2631062273037299920</id><published>2011-01-25T15:06:00.003-05:00</published><updated>2011-01-25T15:13:19.414-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BusinessLayer'/><category scheme='http://www.blogger.com/atom/ns#' term='DataLayer'/><category scheme='http://www.blogger.com/atom/ns#' term='n-Tiered Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='OOP'/><category scheme='http://www.blogger.com/atom/ns#' term='object oriented programming'/><title type='text'>Thoughts on n-Tiered Programming</title><content type='html'>One of the problems that I had when first learning Object Oriented Programming was that &lt;strong&gt;the examples shown to illustrate concepts were so basic that they made no sense&lt;/strong&gt;. &lt;br /&gt;&lt;br /&gt;Why add piles of seemingly needless complexity when there were much easier and more straightforward ways to program solutions? &lt;br /&gt;&lt;br /&gt;Why code interfaces that didn’t seem to add anything but more programming work and confusion? &lt;br /&gt;&lt;br /&gt;Why create multiple Layers when all I was doing was passing unchanged values down the chain? &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;A lot of it started to make sense when I started doing things that were more complicated&lt;/strong&gt;. &lt;br /&gt;&lt;br /&gt;If the data does not change as it is passed from one layer to the next, having multiple layers doesn’t seem to make sense.&lt;br /&gt;&lt;br /&gt;However, &lt;strong&gt;imagine a more usual scenario where the way your data is stored in the database does not match what is displayed in the UI&lt;/strong&gt;. &lt;br /&gt; &lt;br /&gt;Then it starts to get interesting.&lt;br /&gt;&lt;br /&gt;I find it helps to think of n-tiered programming this way: The BusinessLayer translates between the data in the database and the data in the UI. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;I usually have a more or less one to one correspondence between the data in the database and the objects which are created in the DataLayer &lt;/strong&gt;and passed back and forth to the BusinessLayer.&lt;br /&gt;&lt;br /&gt;I usually have a more or less one to one one correspondence between the data in the BusinessLayer and the data in the UI. &lt;br /&gt;&lt;br /&gt;The BusinessLayer is where the translation happens. This is whether retrieving data from the database to display in the UI, or collecting data entered in the UI and storing it in the database.  &lt;br /&gt; &lt;br /&gt;(My other layer is an EntitiesLayer. I contains classes with properties to store the data for passing around.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-2631062273037299920?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/2631062273037299920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/01/thoughts-on-n-tiered-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2631062273037299920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2631062273037299920'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/01/thoughts-on-n-tiered-programming.html' title='Thoughts on n-Tiered Programming'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-1606843462165949596</id><published>2011-01-06T08:31:00.003-05:00</published><updated>2011-01-06T08:39:53.237-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cannot open the Outlook window error'/><category scheme='http://www.blogger.com/atom/ns#' term='outlook won&apos;t start'/><title type='text'>Outlook 2007 Cannot start Microsoft Outlook. Cannot open the Outlook window</title><content type='html'>Outlook starts to open, but then gets the error in the title of this post. &lt;br /&gt;&lt;br /&gt;Fixed by running &lt;strong&gt;outlook.exe  /resetnavpane &lt;/strong&gt; in the All Programs textbox:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_p0mPE7e2nvw/TSXFiVti75I/AAAAAAAAL8E/ecmy2dc1wrg/s1600/run.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 264px; height: 222px;" src="http://3.bp.blogspot.com/_p0mPE7e2nvw/TSXFiVti75I/AAAAAAAAL8E/ecmy2dc1wrg/s400/run.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5559066508793147282" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-1606843462165949596?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/1606843462165949596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/01/outlook-2007-cannot-start-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1606843462165949596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1606843462165949596'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/01/outlook-2007-cannot-start-microsoft.html' title='Outlook 2007 Cannot start Microsoft Outlook. Cannot open the Outlook window'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_p0mPE7e2nvw/TSXFiVti75I/AAAAAAAAL8E/ecmy2dc1wrg/s72-c/run.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-1789453772626810436</id><published>2011-01-03T12:11:00.003-05:00</published><updated>2011-02-01T18:11:14.387-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disable Windows 7 maximize window'/><title type='text'>Disable Windows7 Automatic Resize to Max</title><content type='html'>Windows 7 has a feature where, when you drag a midsize window to the edge of the screen, Windows 7 maximizes it.&lt;br /&gt;&lt;br /&gt;I found this really annoying because I frequently have several partial windows open and I drag some over to the side so they don't block each other.&lt;br /&gt;&lt;br /&gt;To turn this feature off:&lt;br /&gt; &lt;br /&gt;Control Panel -&gt; Ease of Access Center &lt;br /&gt;&lt;br /&gt;select Make the Mouse Easier to Use&lt;br /&gt;&lt;br /&gt;check  Prevent windows from being automatically arranged...&lt;br /&gt; &lt;br /&gt;ok to save setting&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-1789453772626810436?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/1789453772626810436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/01/disable-windows7-automatic-resize-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1789453772626810436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1789453772626810436'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2011/01/disable-windows7-automatic-resize-to.html' title='Disable Windows7 Automatic Resize to Max'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-7614505446652689222</id><published>2010-10-29T17:26:00.003-04:00</published><updated>2010-11-30T17:54:05.351-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='templated checkboxes in an infragistics webdatagrid'/><title type='text'>Which Templated Checkboxes in an Infragistics Webdatagrid Column are Checked</title><content type='html'>This is the codebehind I use to see which templated checkboxes in an infragistics webdatagrid column are checked.&lt;pre class="csharpcode"&gt;&lt;span style="font-family:Georgia;"&gt; &lt;/span&gt;&lt;br /&gt;       &lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; TakeActionOnSelectedCustomers ()&lt;br /&gt;        {&lt;br /&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt; (igWdgCustomers.Rows.Count != 0)&lt;br /&gt;            {&lt;br /&gt;                &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (GridRecord row &lt;span class="kwrd"&gt;in&lt;/span&gt; igWdgCustomers.Rows)&lt;br /&gt;                {&lt;br /&gt;                    CheckBox theCB = (CheckBox)row.Items[0].FindControl(&lt;span class="str"&gt;"cbSelect"&lt;/span&gt;);&lt;br /&gt;                        &lt;span class="kwrd"&gt;if&lt;/span&gt; ( theCB!= &lt;span class="kwrd"&gt;null&lt;/span&gt; &amp;amp;&amp;amp; theCB.Checked)  &lt;span class="rem"&gt;&lt;br /&gt;               //  check for null because footer row doesn’t have cb &lt;/span&gt;&lt;br /&gt;                        {&lt;br /&gt;                             &lt;span class="rem"&gt;//  take action &lt;/span&gt;&lt;br /&gt;                        }&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is the column being checked. &lt;pre class="csharpcode"&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ig:TemplateDataField&lt;/span&gt; &lt;span class="attr"&gt;Key&lt;/span&gt;&lt;span class="kwrd"&gt;="cbSelect"&lt;/span&gt; &lt;span class="attr"&gt;width&lt;/span&gt;&lt;span class="kwrd"&gt;="30px"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;            &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Header&lt;/span&gt; &lt;span class="attr"&gt;Text&lt;/span&gt;&lt;span class="kwrd"&gt;=" "&lt;/span&gt;   &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;               &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ItemTemplate&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;                 &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;asp:CheckBox&lt;/span&gt; &lt;span class="attr"&gt;ID&lt;/span&gt;&lt;span class="kwrd"&gt;="cbSelect"&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;="server"&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;                &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ItemTemplate&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ig:TemplateDataField&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;  &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In this case the checkbox is not databound, but it could be.&lt;br /&gt;&lt;br /&gt;I have not found a way to use the CRUD feature of the datasource that the WebDataGrid uses to update the db value of a boolean represented by a databound checkbox.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-7614505446652689222?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/7614505446652689222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/11/which-templated-checkboxes-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/7614505446652689222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/7614505446652689222'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/11/which-templated-checkboxes-in.html' title='Which Templated Checkboxes in an Infragistics Webdatagrid Column are Checked'/><author><name>Lill Lansey</name><uri>http://www.blogger.com/profile/12066521523151363370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-4970887931666506834</id><published>2010-08-27T17:30:00.000-04:00</published><updated>2010-11-30T17:31:54.756-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DateTime.ParseExact'/><category scheme='http://www.blogger.com/atom/ns#' term='CultureInfo.CurrentCulture'/><title type='text'>DateTime.ParseExact</title><content type='html'>So after never having had &lt;strong&gt;CultureInfo.CurrentCulture &lt;/strong&gt;on my radar, I ended up using it twice this week.&lt;br /&gt;&lt;br /&gt;For the first use, see my previous post on  &lt;strong&gt;ToUpperInvariant()&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Today, I ran into a problem where I tried DateTime.Parse on a string which I had generated in a gridview using: &lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;strong&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&amp;lt;asp:BoundField DataField=&lt;span class="str"&gt;"DateStarted"&lt;/span&gt;  &lt;/br&gt; &amp;nbsp   DataFormatString=&lt;span class="str"&gt;"{0:ddd MMM d hh:mmtt}"&lt;/span&gt; /&amp;gt;&lt;/strong&gt;&lt;/pre&gt;The compiler couldn't parse it. &lt;br /&gt;&lt;br /&gt;I ended up having to decode it using the following:&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;strong&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;DateTime dateCreated =DateTime.ParseExact(sdateCreated, &lt;/br&gt; &amp;nbsp &lt;span class="str"&gt;"ddd MMM d hh:mmtt"&lt;/span&gt;, CultureInfo.InvariantCulture);&lt;br /&gt;&lt;/pre&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-4970887931666506834?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/4970887931666506834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/08/datetimeparseexact_27.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4970887931666506834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4970887931666506834'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/08/datetimeparseexact_27.html' title='DateTime.ParseExact'/><author><name>Lill Lansey</name><uri>http://www.blogger.com/profile/12066521523151363370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-1611182762407606232</id><published>2010-08-27T14:50:00.011-04:00</published><updated>2010-08-27T15:35:36.385-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TitleCase in c#'/><category scheme='http://www.blogger.com/atom/ns#' term='first name format'/><category scheme='http://www.blogger.com/atom/ns#' term='Initial Letter Case in c#'/><category scheme='http://www.blogger.com/atom/ns#' term='CultureInfo.CurrentCulture'/><category scheme='http://www.blogger.com/atom/ns#' term='ToUpperInvariant()'/><title type='text'>ToUpperInvariant()</title><content type='html'>Whoa! Jon Skeet answered a question of mine on StackOverflow this week! I am honored.&lt;br /&gt;&lt;br /&gt;The question was:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;In C# what is the difference between ToUpper() and ToUpperInvariant()? &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;And the answer was, in a nutshell, "Unless you are programming in Turkish, no difference." &lt;br /&gt;&lt;br /&gt;What brought me to ask that question started with a need to always reformat user input for first and last name with &lt;strong&gt;Initial Letter Case&lt;/strong&gt;: first letter capitalized, rest lower case. (I know, I know, this is not all last names follow this convention, but hey, I didn't define the user requirements.) (In word I use Shift-F3 all the time.)&lt;br /&gt;&lt;br /&gt;So I went looking in intellisense for a string method called InitialLetterCase().  After all, there are string methods ToUpper() and ToLower(). &lt;br /&gt;&lt;br /&gt;There was no InitialLetterCase() method, but I found ToUpperInvariant(). What did that do?  I did a google search but the first few hits didn't seem to answer the question. &lt;br /&gt;&lt;br /&gt;So thank you, Jon Skeet and StackOverflow, for the answer. &lt;br /&gt;&lt;br /&gt;FYI, the solution to my request is a simple &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;tbFirstName.Text =&lt;br /&gt;CultureInfo.CurrentCulture.TextInfo.ToTitleCase(tbFirstName.Text); :  &lt;br /&gt; &lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-1611182762407606232?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/1611182762407606232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/08/toupperinvariant.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1611182762407606232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1611182762407606232'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/08/toupperinvariant.html' title='ToUpperInvariant()'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-4933292371793349879</id><published>2010-07-07T14:06:00.006-04:00</published><updated>2011-02-14T11:05:08.940-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RegisterStartupScript'/><category scheme='http://www.blogger.com/atom/ns#' term='generating a windows popup in the code behind'/><category scheme='http://www.blogger.com/atom/ns#' term='Response.Write'/><title type='text'>RegisterStartupScript vs Response.Write</title><content type='html'>Even though putting windows popup alerts into your UI can be bad design, annoying to your users, etc, sometimes it's just what you need to get the job done. I feel it's ok to use an occasional windows alert, as long as you don't abuse them.&lt;br /&gt;&lt;br /&gt;If you are also using Ajax, you have a choice of 2 ways to program that alert from the code behind: Response.Write or ScriptManager.RegisterStartupScript.&lt;br /&gt;&lt;br /&gt;The difference is that Response.Write will popup an alert box before the page loads, ie on a white background, and ScriptManager.RegisterStartupScript will pop it up after the page has loaded, so the page is visible behind the popup. &lt;br /&gt;&lt;br /&gt;I prefer using ScriptManager.RegisterStartupScript, but maybe I just haven't come across an application where Response.Write would be better. &lt;br /&gt;&lt;br /&gt;In any case, the following is the code to use for each case:&lt;br /&gt; &lt;strong&gt; &lt;br /&gt;&lt;pre class="csharpcode"&gt;Response.Write(&lt;span class="str"&gt;"&amp;lt;script language='javascript'&amp;gt; &lt;/br&gt;&amp;nbsp &amp;nbsp &amp;nbsp  alert('This pops up on a blank page &lt;/br&gt;&amp;nbsp &amp;nbsp &amp;nbsp(ie before the page loads) using response.write');&amp;lt;/SCRIPT&amp;gt; "&lt;/span&gt;);&lt;br /&gt;&lt;/pre&gt; &lt;pre class="csharpcode"&gt;ScriptManager.RegisterStartupScript(&lt;span class="kwrd"&gt;this&lt;/span&gt;, &lt;span class="kwrd"&gt;typeof&lt;/span&gt;(Page), UniqueID, &lt;span class="str"&gt;&lt;/br&gt;   &amp;nbsp  "alert('This pops up after the page loads, &lt;/br&gt;&amp;nbsp  &amp;nbsp &amp;nbspusing ScriptManager.RegisterStartupScript');"&lt;/span&gt;, &lt;span class="kwrd"&gt;true&lt;/span&gt;);&lt;/pre&gt;&lt;pre class="csharpcode"&gt; &lt;/pre&gt;&lt;br /&gt; &lt;/strong&gt;&lt;br /&gt;I have also popped up an alert on pageload by using the following in the html &lt; body&gt; tag of the page:  &lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;strong&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;body&lt;/span&gt; &lt;span class="attr"&gt;onLoad&lt;/span&gt;&lt;span class="kwrd"&gt;="alert('Update. \r\n \r\n Thank you for your interest, &lt;/br&gt; \r\n however, \r\n we are not taking any new orders at this time.')"&lt;/span&gt; &lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/strong&gt;The \r\n causes a line break.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-4933292371793349879?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/4933292371793349879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/07/registerstartupscript-vs-responsewrite.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4933292371793349879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4933292371793349879'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/07/registerstartupscript-vs-responsewrite.html' title='RegisterStartupScript vs Response.Write'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-6830769503337412477</id><published>2010-06-29T14:10:00.001-04:00</published><updated>2010-07-06T10:07:38.587-04:00</updated><title type='text'>Because I always forget proc names ...</title><content type='html'>protected void Page_PreInit(object sender, EventArgs e)&lt;br /&gt;        {&lt;br /&gt;            string msg = "Fires 1";&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        protected void Page_Init(object sender, EventArgs e)&lt;br /&gt;        {&lt;br /&gt;             string msg = "Fires 2";&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;        {&lt;br /&gt;             string msg = "Fires 3";&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;       protected override void OnPreRender(EventArgs e)&lt;br /&gt;        {&lt;br /&gt;            base.OnPreRender(e);&lt;br /&gt;            string msg = "Fires last";&lt;br /&gt;        }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-6830769503337412477?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/6830769503337412477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/06/because-i-always-forget-proc-names.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6830769503337412477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6830769503337412477'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/06/because-i-always-forget-proc-names.html' title='Because I always forget proc names ...'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-2617733522568841049</id><published>2010-06-17T21:33:00.006-04:00</published><updated>2010-06-17T22:02:25.157-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics WebDataGrid'/><category scheme='http://www.blogger.com/atom/ns#' term='Numeric Pager Exceeds Table Width'/><title type='text'>WebDataGrid Numeric Pager Truncates List  of Page Numbers</title><content type='html'>The WebDataGrid Numeric Pager was truncating the list of page numbers after reaching the end of the one line (table width) allocated for the pager display, as shown in the example below. There were scroll bars for the height and width of the data records, but no way to scroll past the end of the line of numbers and see page 21 in this example:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_p0mPE7e2nvw/TBqGjaKlGWI/AAAAAAAAKOQ/LCNdVKADyg4/s1600/pager1.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 232px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5483843439154239842" border="0" alt="" src="http://3.bp.blogspot.com/_p0mPE7e2nvw/TBqGjaKlGWI/AAAAAAAAKOQ/LCNdVKADyg4/s400/pager1.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My solution was to create the following Css&lt;br /&gt;&lt;br /&gt;&amp;ltstyle type="text/css"&gt;&lt;br /&gt;.tallPager {&lt;br /&gt;height: 100px;&lt;br /&gt;word-wrap: break-word;&lt;br /&gt;text-align:left;&lt;br /&gt;}&lt;br /&gt;&amp;lt/style&gt;&lt;br /&gt;&lt;pre&gt;&lt;/pre&gt;&lt;p&gt;and apply it to the Paging property&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Behaviors&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ig:Paging&lt;/span&gt; &lt;span class="attr"&gt;PageSize&lt;/span&gt;&lt;span class="kwrd"&gt;="25"&lt;/span&gt; &lt;span class="attr"&gt;PagerMode&lt;/span&gt;&lt;span class="kwrd"&gt;="Numeric"&lt;/span&gt; &lt;span class="attr"&gt;EnableInheritance&lt;/span&gt;&lt;span class="kwrd"&gt;="True"&lt;/span&gt;&lt;br /&gt;             &lt;span class="attr"&gt;PagerCssClass&lt;/span&gt;&lt;span class="kwrd"&gt;="tallPager"&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;etc...&lt;br /&gt;&lt;br /&gt;The following shows the pager section for a different table, with the PagerCssClass ="tallPager"&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_p0mPE7e2nvw/TBqGjJxeyZI/AAAAAAAAKOI/fXTKbC6eAgg/s1600/pager2.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 600px; DISPLAY: block; HEIGHT: 97px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5483843434754001298" border="0" alt="" src="http://3.bp.blogspot.com/_p0mPE7e2nvw/TBqGjJxeyZI/AAAAAAAAKOI/fXTKbC6eAgg/s400/pager2.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note: Word wraps can occur in the middle of a page number like 108:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_p0mPE7e2nvw/TBqKc1vYaUI/AAAAAAAAKOY/pXnXKWFvCa8/s1600/pager3.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 302px; DISPLAY: block; HEIGHT: 157px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5483847724343781698" border="0" alt="" src="http://4.bp.blogspot.com/_p0mPE7e2nvw/TBqKc1vYaUI/AAAAAAAAKOY/pXnXKWFvCa8/s400/pager3.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Fortunately, I have a higher class of users and they were able to deal with that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-2617733522568841049?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/2617733522568841049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/06/webdatagrid-numeric-pager-exceeds-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2617733522568841049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2617733522568841049'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/06/webdatagrid-numeric-pager-exceeds-table.html' title='WebDataGrid Numeric Pager Truncates List  of Page Numbers'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_p0mPE7e2nvw/TBqGjaKlGWI/AAAAAAAAKOQ/LCNdVKADyg4/s72-c/pager1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-6295125766555550126</id><published>2010-05-17T19:17:00.003-04:00</published><updated>2010-05-17T19:30:01.083-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tsql select into'/><category scheme='http://www.blogger.com/atom/ns#' term='insert into'/><title type='text'>tsql INSERT INTO for bulk copy of records from SqlServer table to table</title><content type='html'>I have been using tsql&lt;br /&gt;&lt;br /&gt;Select * into Tbl2 from Tbl1  where FName = 'David'&lt;br /&gt;&lt;br /&gt;for a long time, as a shortcut to create new table Tbl2, a  copy of  Tbl1 including schema and data.&lt;br /&gt;&lt;br /&gt;I'm glad I finally found out about : &lt;br /&gt;&lt;br /&gt;Insert into Tbl2 ( LastName , FirstName , AdmitDate) select  Last, First, RevDate  from Tbl1 where FName = 'David'&lt;br /&gt;&lt;br /&gt;to use when Tbl2 is already in existence.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-6295125766555550126?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/6295125766555550126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/05/tsql-insert-into-for-bulk-copy-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6295125766555550126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6295125766555550126'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/05/tsql-insert-into-for-bulk-copy-of.html' title='tsql INSERT INTO for bulk copy of records from SqlServer table to table'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-9213951367168265105</id><published>2010-05-14T14:20:00.009-04:00</published><updated>2010-05-14T15:07:12.094-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NJ Technical Women in Technology'/><title type='text'>Calling all Technical Women in Technology for...</title><content type='html'>What we have all been waiting for ...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:200%; color:#3366ff; "&gt;&lt;center&gt; A NJ Technical Women in Technology&lt;br /&gt; Event &lt;/center&gt; &lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;span style="font-size:150; "&gt;&lt;br /&gt;&lt;a href="https://www.clicktoattend.com/invitation.aspx?code=148804"&gt;&lt;span style="font-size:120%; background-color:gainsboro" &gt;Register Now -&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Recommended Audiences:&lt;/b&gt;&lt;/span&gt; IT Professionals, Administrators, Developers, Architects &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;span style="font-size:10;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;em&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style="font-size:12;"&gt;&lt;span style="font-size:10;"&gt;Are you a Technical Women in Technology?&lt;br /&gt;&lt;br /&gt;Are you tired of always being surrounded by technical males that don't ____ (fill in the blank)?&lt;br /&gt;&lt;br /&gt;Are you tired of trying to explain your technical issues to other women that just don't get it?&lt;br /&gt;&lt;br /&gt;Are you looking to connect with other women with common interests?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style="font-size:12;"&gt;&lt;span style="font-size:10;"&gt;Then, you may be interested in helping to form a Technical Women in Technology Group...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Refreshments:&lt;/u&gt;&lt;/strong&gt; Appetizers &amp;amp; Water/Soda&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Sponsors:&lt;/u&gt;&lt;/strong&gt; Microsoft / SetFocus&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Purpose:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To allow NJ Technical Women in Technology to meet and to discuss a future direction for a group&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:12;"&gt;&lt;span style="font-size:10;"&gt;&lt;strong&gt;&lt;u&gt;Event Updates:&lt;/u&gt;&lt;/strong&gt;&lt;span style="font-family:Times New Roman;font-size:10;"&gt; &lt;a&gt;updates &lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="font-size:10;"&gt;Agenda:&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style="font-size:12;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:10;"&gt;Overview&lt;br /&gt;&lt;br /&gt;Attendee Introductions&lt;br /&gt;&lt;br /&gt;Panel Discussion (2-3 women sharing their experiences as a Technical Women in Technology&lt;br /&gt;&lt;br /&gt;Future Direction Discussion - In-Person and/or Virtual meetings, frequency, meeting content, etc.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style="font-size:12;"&gt;&lt;span style="font-size:10;"&gt;For Additional Information about how you can help kick start this community, please email melissa[@]sqldiva.com.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style="font-size:12;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:Verdana;"&gt;&lt;span style="font-size:12;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-9213951367168265105?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/9213951367168265105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/05/calling-all-technical-women-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/9213951367168265105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/9213951367168265105'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/05/calling-all-technical-women-in.html' title='Calling all Technical Women in Technology for...'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-156189589621936579</id><published>2010-04-27T12:11:00.005-04:00</published><updated>2010-04-27T12:26:50.715-04:00</updated><title type='text'>Include a derived control in my aspx page</title><content type='html'>register control at top of page giving it a TagPrefix:&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="asp"&gt;&amp;lt;%@ Register Assembly="iProjectName" Namespace="iNamespceInCsFile" TagPrefix="ifc" %&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/br&gt;&lt;br /&gt;use tag prefix and control name in aspx &lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ig:TemplateDataField&lt;/span&gt; &lt;span class="attr"&gt;Key&lt;/span&gt;&lt;span class="kwrd"&gt;="key1"&lt;/span&gt; &lt;span class="attr"&gt;Width&lt;/span&gt;&lt;span class="kwrd"&gt;="30px"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;     &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ItemTemplate&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;     &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ifc:CtrlClass&lt;/span&gt; &lt;span class="attr"&gt;ID&lt;/span&gt;&lt;span class="kwrd"&gt;="id1"&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;="server"&lt;/span&gt; &lt;span class="attr"&gt;Text&lt;/span&gt;&lt;span class="kwrd"&gt;='&amp;lt;%# Eval "BoundCol1") %&amp;gt;'&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;     &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ItemTemplate&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ig:TemplateDataField&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/br&gt;  &lt;br /&gt; "CtrlClass" is the derived control class name, which is in a cs file name doesn't matter, but namespace is  "iNamespceInCsFile" in project ="iProjectName". &lt;br /&gt;&lt;br /&gt;   public  class Comment2 : TextBox&lt;br /&gt;    { etc ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-156189589621936579?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/156189589621936579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/04/include-derived-control-in-my-aspx-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/156189589621936579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/156189589621936579'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/04/include-derived-control-in-my-aspx-page.html' title='Include a derived control in my aspx page'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-4273543070763123845</id><published>2010-03-23T11:03:00.006-04:00</published><updated>2010-03-23T11:16:07.311-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics'/><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics WebDataGrid'/><category scheme='http://www.blogger.com/atom/ns#' term='bound Templated Checkbox'/><title type='text'>Comparison of ig bound Templated Checkbox to boolean BoundDataField</title><content type='html'>&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;strong&gt;Shows up as text "true" or "false":&lt;/strong&gt;&lt;/br&gt;        &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ig:BoundDataField&lt;/span&gt; &lt;span class="attr"&gt;DataFieldName&lt;/span&gt;&lt;span class="kwrd"&gt;="IsCostSaving"&lt;/span&gt; &lt;span class="attr"&gt;Key&lt;/span&gt;&lt;span class="kwrd"&gt;="IsCostSaving"&lt;/span&gt; &lt;span class="attr"&gt;width&lt;/span&gt;&lt;span class="kwrd"&gt;="30px"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;            &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Header&lt;/span&gt; &lt;span class="attr"&gt;Text&lt;/span&gt;&lt;span class="kwrd"&gt;="Cost Saving"&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;          &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ig:BoundDataField&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;    &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Shows up as a checkbox with checked value picked up from bound field:&lt;/strong&gt;&lt;br /&gt;         &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ig:TemplateDataField&lt;/span&gt; &lt;span class="attr"&gt;Key&lt;/span&gt;&lt;span class="kwrd"&gt;="cb1"&lt;/span&gt; &lt;span class="attr"&gt;width&lt;/span&gt;&lt;span class="kwrd"&gt;="30px"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;            &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Header&lt;/span&gt; &lt;span class="attr"&gt;Text&lt;/span&gt;&lt;span class="kwrd"&gt;="Cost Saving"&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;               &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ItemTemplate&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;                 &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;asp:CheckBox&lt;/span&gt; &lt;span class="attr"&gt;ID&lt;/span&gt;&lt;span class="kwrd"&gt;="cb1"&lt;/span&gt; &lt;span class="attr"&gt;runat&lt;/span&gt;&lt;span class="kwrd"&gt;="server"&lt;/span&gt;  &lt;span class="attr"&gt;Checked&lt;/span&gt;&lt;span class="kwrd"&gt;='&amp;lt;%# Eval("IsCostSaving") %&amp;gt;'&lt;/span&gt; &lt;span class="attr"&gt;Enabled&lt;/span&gt;&lt;span class="kwrd"&gt;="false"&lt;/span&gt;  &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;                &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ItemTemplate&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;          &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ig:TemplateDataField&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-4273543070763123845?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/4273543070763123845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/03/comparison-of-ig-bound-templated.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4273543070763123845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4273543070763123845'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/03/comparison-of-ig-bound-templated.html' title='Comparison of ig bound Templated Checkbox to boolean BoundDataField'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-8889026100896409041</id><published>2010-03-22T11:06:00.003-04:00</published><updated>2010-03-22T11:16:40.431-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics WebDataGrid'/><title type='text'>Looping thru Infragistics WebDataGrid on the Server</title><content type='html'>&lt;style type="text/css"&gt;&lt;br /&gt; .csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt; font-size: small;&lt;br /&gt; color: black;&lt;br /&gt; font-family: Consolas, "Courier New", Courier, Monospace;&lt;br /&gt; background-color: #ffffff;&lt;br /&gt; /*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt; background-color: #f4f4f4;&lt;br /&gt; width: 100%;&lt;br /&gt; margin: 0em;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;br /&gt;  &lt;/style&gt;&lt;br /&gt;&lt;br /&gt;Took me a while to find this. With some help from ig, thank you Chandradeep!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;         &lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; Button1_Click(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;br /&gt;          {&lt;br /&gt;              &lt;span class="rem"&gt;//  loop thru selected cells and get their values &lt;/span&gt;&lt;br /&gt;                 &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (GridRecordItem itm &lt;span class="kwrd"&gt;in&lt;/span&gt; WebDataGrid1.Behaviors.Selection.SelectedCells)&lt;br /&gt;                  {&lt;br /&gt;                      &lt;span class="kwrd"&gt;object&lt;/span&gt; ttt = itm.Text ;&lt;br /&gt;                  }&lt;br /&gt;            &lt;br /&gt;              &lt;span class="rem"&gt;// example of  looping thru selected rows and getting values of columns&lt;/span&gt;&lt;br /&gt;              &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (GridRecord row &lt;span class="kwrd"&gt;in&lt;/span&gt; WebDataGrid1.Behaviors.Selection.SelectedRows)&lt;br /&gt;              {&lt;br /&gt;                  &lt;span class="kwrd"&gt;object&lt;/span&gt; ttt = row;&lt;br /&gt;                  GridRecordItem itm = row.Items[0];&lt;br /&gt;                  &lt;span class="kwrd"&gt;string&lt;/span&gt; sffssdf = itm.Text;&lt;br /&gt;                  itm = row.Items[1];&lt;br /&gt;                  sffssdf = itm.Text;&lt;br /&gt;                  itm = row.Items[2];&lt;br /&gt;                  sffssdf = itm.Text;&lt;br /&gt;              }&lt;br /&gt;&lt;br /&gt;              &lt;span class="rem"&gt;// example of  looping thru all rows and getting values of columns&lt;/span&gt;&lt;br /&gt;              &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (GridRecord row &lt;span class="kwrd"&gt;in&lt;/span&gt; WebDataGrid1.Rows)&lt;br /&gt;              &lt;span class="rem"&gt;// foreach (GridRecordItem row in WebDataGrid1.Behaviors.Selection.SelectedCells)&lt;/span&gt;&lt;br /&gt;              {&lt;br /&gt;                  &lt;span class="kwrd"&gt;object&lt;/span&gt; ttt = row;&lt;br /&gt;                  GridRecordItem itm = row.Items[0];&lt;br /&gt;                              &lt;br /&gt;                  &lt;span class="kwrd"&gt;string&lt;/span&gt; sffssdf =   itm.Text;&lt;br /&gt;                  itm = row.Items[1];&lt;br /&gt;                  sffssdf = itm.Text;&lt;br /&gt;                  itm = row.Items[2];&lt;br /&gt;                  sffssdf = itm.Text;&lt;br /&gt;              }&lt;br /&gt;&lt;br /&gt;              &lt;span class="rem"&gt;// example of  looping thru all rows and getting values of a checkbox in a column template field!!!!!&lt;/span&gt;&lt;br /&gt;              &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (GridRecord row &lt;span class="kwrd"&gt;in&lt;/span&gt; WebDataGrid1.Rows)&lt;br /&gt;              &lt;span class="rem"&gt;// foreach (GridRecordItem row in WebDataGrid1.Behaviors.Selection.SelectedCells)&lt;/span&gt;&lt;br /&gt;              {&lt;br /&gt;                  CheckBox theCB = (CheckBox)row.Items[0].FindControl(&lt;span class="str"&gt;"cb1"&lt;/span&gt;);&lt;br /&gt;                  &lt;span class="kwrd"&gt;bool&lt;/span&gt; ischecked = theCB.Checked;&lt;br /&gt;                  &lt;span class="kwrd"&gt;object&lt;/span&gt; ttt = row;&lt;br /&gt;                  GridRecordItem itm = row.Items[0];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                  &lt;span class="kwrd"&gt;string&lt;/span&gt; sffssdf = itm.Text;&lt;br /&gt;                  itm = row.Items[1];&lt;br /&gt;                  sffssdf = itm.Text;&lt;br /&gt;                  itm = row.Items[2];&lt;br /&gt;                  sffssdf = itm.Text;&lt;br /&gt;              }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;          }&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-8889026100896409041?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/8889026100896409041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/03/looping-thru-infragistics-webdatagrid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8889026100896409041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8889026100896409041'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/03/looping-thru-infragistics-webdatagrid.html' title='Looping thru Infragistics WebDataGrid on the Server'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-2001856719697517319</id><published>2010-03-16T08:53:00.005-04:00</published><updated>2010-03-16T09:01:46.652-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Case sensitive column contents in SqlServer'/><title type='text'>Case sensitive column contents in SqlServer</title><content type='html'>Use the following t-sql code to make the contents of a column case sensitive regardless of the default db setting:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;alter table TheTableName alter column TheColumnName TypeOfColEgVarchar(20)OrChar(6) collate Latin1_General_CS_AS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;for example:&lt;br /&gt;&lt;strong&gt;alter table People alter column LastName varchar(20) collate Latin1_General_CS_AS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Am using this in SqlServer 2005.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-2001856719697517319?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/2001856719697517319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/03/case-sensitive-column-contents-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2001856719697517319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2001856719697517319'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/03/case-sensitive-column-contents-in.html' title='Case sensitive column contents in SqlServer'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-6815184383174349366</id><published>2010-01-28T15:00:00.003-05:00</published><updated>2010-01-28T15:12:05.441-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Leading zeros in tsql'/><title type='text'>Leading zeros in tsql</title><content type='html'>&lt;strong&gt;select right &lt;/strong&gt;('StringOfZerosAsManyAsMaxNeededMoreIsOK' &lt;br /&gt; &lt;strong&gt;+ cast &lt;/strong&gt;( AnIntegerLiteralOrIntVariable &lt;strong&gt;as varchar&lt;/strong&gt;) &lt;br /&gt;    , IntLiteralWhichIsTotalLengthOfNeededString) &lt;br /&gt;&lt;br /&gt;declare @counter int&lt;br /&gt;set @counter =    126 &lt;br /&gt;select  right ('000000' +  cast ( @counter as varchar) , 6 )&lt;br /&gt;&lt;br /&gt;result: &lt;br /&gt;000126&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;declare @counter int&lt;br /&gt;set @counter =    12345678 &lt;br /&gt;select  right ('000000000' +  cast ( @counter as varchar) , 6 )&lt;br /&gt;&lt;br /&gt;result:&lt;br /&gt;345678&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;declare @counter int&lt;br /&gt;set @counter =    123&lt;br /&gt;select  right ('00' +  cast ( @counter as varchar) , 6 )&lt;br /&gt;&lt;br /&gt;result:&lt;br /&gt;00123&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;declare @counter int&lt;br /&gt;set @counter =    123&lt;br /&gt;select  right ('0000' +  cast ( 123 as varchar) , 9 )&lt;br /&gt;&lt;br /&gt;result: &lt;br /&gt;000126&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-6815184383174349366?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/6815184383174349366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/leading-zeros-in-tsql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6815184383174349366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6815184383174349366'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/leading-zeros-in-tsql.html' title='Leading zeros in tsql'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-3018141858400148431</id><published>2010-01-14T10:13:00.001-05:00</published><updated>2010-01-14T10:14:14.550-05:00</updated><title type='text'>Crystal Reports like in db selection formula</title><content type='html'>{vTimeTrackDataAll4.ContactName} like  '*'+{?pEmpName}+'*' and&lt;br /&gt;{vTimeTrackDataAll4.StartTime} &gt;= {?pStartDate} and&lt;br /&gt;{vTimeTrackDataAll4.StartTime} &lt;= {?pEndDate}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-3018141858400148431?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/3018141858400148431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/crystal-reports-like-in-db-selection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/3018141858400148431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/3018141858400148431'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/crystal-reports-like-in-db-selection.html' title='Crystal Reports like in db selection formula'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-6494472136479257014</id><published>2010-01-13T11:59:00.000-05:00</published><updated>2010-01-13T12:00:47.645-05:00</updated><title type='text'>javascript on mouseover lv and doubleclick event</title><content type='html'>protected void ListView1_ItemDataBound(object sender, ListViewItemEventArgs e)&lt;br /&gt;    {&lt;br /&gt;        // not uploaded data &lt;br /&gt;        // this is done everytime the page is refreshed.  &lt;br /&gt;&lt;br /&gt;        if (e.Item.ItemType == ListViewItemType.DataItem)&lt;br /&gt;        {&lt;br /&gt;      &lt;br /&gt;  &lt;br /&gt;           if (res &amp; e.Row.DataItemIndex == theRowIndex)  &lt;br /&gt;            {&lt;br /&gt;              GridView1.Rows[theRowIndex].Attributes.Add("onmouseover", "this.style.backgroundColor='PeachPuff'");&lt;br /&gt;              GridView1.Rows[theRowIndex].Attributes.Add("onmouseout", "this.style.backgroundColor='Beige'");&lt;br /&gt;            } &lt;br /&gt;          &lt;br /&gt;            // Get the LinkButton control in the 9th cell&lt;br /&gt;            LinkButton _doubleClickButton = (LinkButton)e.Row.Cells[9].Controls[0];&lt;br /&gt;            // Get the javascript which is assigned to this LinkButton&lt;br /&gt;            string _jsDouble =&lt;br /&gt;            ClientScript.GetPostBackClientHyperlink(_doubleClickButton, "");&lt;br /&gt;            // Add this JavaScript to the ondblclick Attribute of the row&lt;br /&gt;            e.Row.Attributes["ondblclick"] = _jsDouble;&lt;br /&gt;&lt;br /&gt;             right click already defined &lt;br /&gt;            LinkButton _rightClickButton = (LinkButton)e.Row.Cells[10].Controls[0];&lt;br /&gt;             Get the javascript which is assigned to this LinkButton&lt;br /&gt;            string _jsDouble2 =&lt;br /&gt;            ClientScript.GetPostBackClientHyperlink(_rightClickButton, "");&lt;br /&gt;             Add this JavaScript to the ondblclick Attribute of the row&lt;br /&gt;            e.Row.Attributes["mousemove"] = _jsDouble2;&lt;br /&gt;        }&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-6494472136479257014?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/6494472136479257014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/javascript-on-mouseover-lv-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6494472136479257014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6494472136479257014'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/javascript-on-mouseover-lv-and.html' title='javascript on mouseover lv and doubleclick event'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-5856812067981469682</id><published>2010-01-11T09:41:00.004-05:00</published><updated>2010-01-11T09:49:34.229-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamically'/><category scheme='http://www.blogger.com/atom/ns#' term='Placeholder'/><category scheme='http://www.blogger.com/atom/ns#' term='UserControl'/><title type='text'>Adding a UserControl to a Placeholder Dynamically</title><content type='html'>So I was trying to dynamically generate my asp.net page by newing a UserControl and adding it to a Placeholder on Page_Load: &lt;br /&gt;&lt;br /&gt;ucSelectMed ucMySelectMed = new ucSelectMed();&lt;br /&gt;phSelectMed.Controls.Add(ucMySelectMed);&lt;br /&gt;&lt;br /&gt;Ran the project, nothing was on the page.&lt;br /&gt;&lt;br /&gt;Was really confused because the following works:&lt;br /&gt;&lt;br /&gt;TextBox tb = new TextBox();&lt;br /&gt;phSelectMed.Controls.Add(tb);&lt;br /&gt;&lt;br /&gt;Anyway, what was needed is: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ucSelectMed ucMySelectMed = (ucSelectMed)LoadControl("ucSelectMed.ascx");&lt;br /&gt;phSelectMed.Controls.Add(ucMySelectMed);&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-5856812067981469682?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/5856812067981469682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/adding-usercontrol-to-placeholder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5856812067981469682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5856812067981469682'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/adding-usercontrol-to-placeholder.html' title='Adding a UserControl to a Placeholder Dynamically'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-7429668218553943951</id><published>2010-01-04T12:15:00.003-05:00</published><updated>2010-01-25T16:10:30.658-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gac'/><title type='text'>To Gac or Not To Gac</title><content type='html'>Gac location is c:\windows\assembly&lt;br /&gt;&lt;br /&gt;Best post I have seen on this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://justmyopinion.cilyok.net/?p=406"&gt;http://justmyopinion.cilyok.net/?p=406&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-7429668218553943951?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/7429668218553943951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/to-gac-or-not-to-gac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/7429668218553943951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/7429668218553943951'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2010/01/to-gac-or-not-to-gac.html' title='To Gac or Not To Gac'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-5604493571207764489</id><published>2009-12-24T11:06:00.003-05:00</published><updated>2009-12-24T11:13:39.388-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='igcmbo:WebCombo'/><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics  FromKey'/><title type='text'>Infragistics WebCombo Get the Value of Cell by Column Name</title><content type='html'>Get the Value in a Cell by the Column Name&lt;br /&gt;&lt;br /&gt;To get the value in a Infragistics WebCombo cell by the column name (in this case, column DrugName): &lt;br /&gt;&lt;br /&gt;string chosenName = e.Row.Cells.FromKey("DrugName").ToString; &lt;br /&gt;&lt;br /&gt;where e is the EventArgs from &lt;br /&gt;&lt;br /&gt;protected void igWebCombo1_SelectedRowChanged(object sender, &lt;br /&gt;     Infragistics.WebUI.WebCombo.SelectedRowChangedEventArgs e)&lt;br /&gt;&lt;br /&gt;I had previously gotten the value using an index value:&lt;br /&gt;string chosen = e.Row.Cells[2].Value.ToString().Trim();&lt;br /&gt;&lt;br /&gt;but in continuing development, the number of columns may vary, and therefore the index may change.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-5604493571207764489?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/5604493571207764489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/12/infragistics-webcombo-get-value-of-cell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5604493571207764489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5604493571207764489'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/12/infragistics-webcombo-get-value-of-cell.html' title='Infragistics WebCombo Get the Value of Cell by Column Name'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-8260816993267862103</id><published>2009-11-30T13:28:00.002-05:00</published><updated>2009-11-30T13:33:59.007-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SqlServer'/><category scheme='http://www.blogger.com/atom/ns#' term='list of tables in a SqlServer database'/><title type='text'>Query to get the table names in a SqlServer db</title><content type='html'>The following Query will generate a list of the tables in a  sqlserver db &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;select [name] from sysobjects  where [xtype] = 'U' order by [name]&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use &lt;strong&gt;[xtype] ='PK' &lt;/strong&gt;for list of primary keys, &lt;br /&gt;&lt;br /&gt;    &lt;strong&gt;[xtype] = 'P' &lt;/strong&gt;for list of stored procedures,&lt;br /&gt;&lt;br /&gt;etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-8260816993267862103?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/8260816993267862103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/11/query-to-get-table-names-in-sqlserver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8260816993267862103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8260816993267862103'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/11/query-to-get-table-names-in-sqlserver.html' title='Query to get the table names in a SqlServer db'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-6420215687172391444</id><published>2009-10-21T12:49:00.004-04:00</published><updated>2009-10-21T12:52:06.316-04:00</updated><title type='text'>Copy Some Rows From Table1 to Table2 SqlServer</title><content type='html'>I am doing a one-time combining 2 separate legacy database tables that contain some of the same info but also additional different info into one new SqlServer table. I am also copying some but not all of that additional data.  &lt;br /&gt;&lt;br /&gt;So I am inserting some of the columns from each table into some of the columns in the new table.&lt;br /&gt;&lt;br /&gt;If all the columns in table2 are going to be inserted into table1 and the column names are the same I can: &lt;br /&gt;&lt;br /&gt;insert  into table1  (Detail, Unitname, Sortorder) select *  from   table2   &lt;br /&gt;&lt;br /&gt;if there is a change in column name change: &lt;br /&gt;&lt;br /&gt;insert into  table1  (Detail, Unitname ,   Sortorder)   select   facilabbr as Detail, Unitname , Sortnum as Sortorder    from    table2&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-6420215687172391444?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/6420215687172391444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/10/copy-some-rows-from-table1-to-table2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6420215687172391444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/6420215687172391444'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/10/copy-some-rows-from-table1-to-table2.html' title='Copy Some Rows From Table1 to Table2 SqlServer'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-8272248985537457652</id><published>2009-10-13T13:06:00.002-04:00</published><updated>2009-10-13T13:27:18.146-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript RegEx Regular Expression'/><title type='text'>Javascript Function using RegEx Regular Expression</title><content type='html'>I need to check client side if a &lt;strong&gt;DropDownList.SelectedItem.Value&lt;/strong&gt; is any of the following: 1,3,9,17,or 15.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rather than use a clumsy &lt;strong&gt;if statement&lt;/strong&gt;, I do this by seeing if the value will match a Regular Expression:&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;      function taskChange() {&lt;br /&gt;      var task = $get("ddlTest");&lt;br /&gt;      var RegExp = "(^1$^3$^9$^17$^15$)" ;&lt;br /&gt;      if (RegExp.match(task.value))&lt;br /&gt;           { &lt;br /&gt;               // A value of 1,3,9,17,or 15 was selected&lt;/pre&gt;&lt;pre class="csharpcode"&gt;               // do whatever &lt;/pre&gt;&lt;pre class="csharpcode"&gt;           }&lt;br /&gt;           else&lt;br /&gt;           {&lt;br /&gt;                //Some other value was selected &lt;/pre&gt;&lt;pre class="csharpcode"&gt;                // do whatever&lt;br /&gt;           }&lt;br /&gt;       }&lt;br /&gt; &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-8272248985537457652?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/8272248985537457652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/10/javascript-function-using-regex-regular.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8272248985537457652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8272248985537457652'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/10/javascript-function-using-regex-regular.html' title='Javascript Function using RegEx Regular Expression'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-1407825925826374485</id><published>2009-09-24T20:41:00.008-04:00</published><updated>2009-09-24T20:59:23.902-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDialogWindow Bug'/><category scheme='http://www.blogger.com/atom/ns#' term='Infragistics'/><title type='text'>Playing with an Infragistics WebDialogWindow Bug</title><content type='html'>Found a bug in the Infragistics WebDialogWindow.&lt;br /&gt;&lt;br /&gt;I discovered it when using the zooming function via holding down the Ctrl key and scrolling the mouse wheel to make the display more visible to the group I was demo-ing to. Moving the WebDialogWindow around leaves text behind. Oops.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Not exactly the demo I was shooting for.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;But can be used to generate some cool effects:&lt;br /&gt;&lt;br /&gt;This is what the WebDialogWindow looks like before moving it:&lt;br /&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_p0mPE7e2nvw/SrwSX2IEnjI/AAAAAAAAGEg/ESh8LT9v-3w/s1600-h/webdialogbug1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5385199455303933490" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 229px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_p0mPE7e2nvw/SrwSX2IEnjI/AAAAAAAAGEg/ESh8LT9v-3w/s400/webdialogbug1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These are screenshots of the WebDialogWindow on zoom: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Floating away&lt;/strong&gt;:&lt;a href="http://1.bp.blogspot.com/_p0mPE7e2nvw/SrwSOoSYCbI/AAAAAAAAGEQ/mER99Lq9YZk/s1600-h/webdialogbug3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5385199296970230194" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_p0mPE7e2nvw/SrwSOoSYCbI/AAAAAAAAGEQ/mER99Lq9YZk/s400/webdialogbug3.JPG" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Where did my window go&lt;/strong&gt;?&lt;a href="http://4.bp.blogspot.com/_p0mPE7e2nvw/SrwSOUqIstI/AAAAAAAAGEI/uBvO87Ayi18/s1600-h/webdialogbug4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5385199291701179090" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 119px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_p0mPE7e2nvw/SrwSOUqIstI/AAAAAAAAGEI/uBvO87Ayi18/s400/webdialogbug4.JPG" border="0" /&gt;&lt;/a&gt;&lt;strong&gt; &lt;br /&gt;&lt;br /&gt;An out of body experience&lt;/strong&gt;: &lt;a href="http://1.bp.blogspot.com/_p0mPE7e2nvw/SrwSN0TbQ3I/AAAAAAAAGEA/FOox13K1aU0/s1600-h/webdialogbug5.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5385199283015992178" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 206px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_p0mPE7e2nvw/SrwSN0TbQ3I/AAAAAAAAGEA/FOox13K1aU0/s400/webdialogbug5.JPG" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;And my personal favorite -&lt;/p&gt;&lt;p&gt;&lt;strong&gt;WebDialogWindow Abstraction &lt;/strong&gt;:          &lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_p0mPE7e2nvw/SrwSNo3AiTI/AAAAAAAAGD4/AaNt6rtYSiM/s1600-h/webdialogbug6.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5385199279944010034" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 332px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_p0mPE7e2nvw/SrwSNo3AiTI/AAAAAAAAGD4/AaNt6rtYSiM/s400/webdialogbug6.JPG" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-1407825925826374485?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/1407825925826374485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/playing-with-infragistics.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1407825925826374485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1407825925826374485'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/playing-with-infragistics.html' title='Playing with an Infragistics WebDialogWindow Bug'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_p0mPE7e2nvw/SrwSX2IEnjI/AAAAAAAAGEg/ESh8LT9v-3w/s72-c/webdialogbug1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-4670115492148719477</id><published>2009-09-17T17:35:00.000-04:00</published><updated>2010-11-30T17:37:16.886-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='connections'/><category scheme='http://www.blogger.com/atom/ns#' term='iis 5.1'/><title type='text'>Increasing number of connections in  IIS 5.1</title><content type='html'>XP Pro IIS 5.1 is limited by default to 10 concurrent connections.&lt;br /&gt;&lt;br /&gt;This can be increased to a maximum of 40 by:  &lt;br /&gt;&lt;br /&gt;C:\Inetpub\AdminScripts\adsutil set w3svc/MaxConnections 40&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-4670115492148719477?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/4670115492148719477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/increasing-number-of-connections-in-iis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4670115492148719477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/4670115492148719477'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/increasing-number-of-connections-in-iis.html' title='Increasing number of connections in  IIS 5.1'/><author><name>Lill Lansey</name><uri>http://www.blogger.com/profile/12066521523151363370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-8094157523435732958</id><published>2009-09-17T12:45:00.002-04:00</published><updated>2009-09-30T06:50:44.943-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Manoli'/><category scheme='http://www.blogger.com/atom/ns#' term='code format'/><title type='text'>Using Manoli</title><content type='html'>I use &lt;a href="http://manoli.net/csharpformat"&gt;http://manoli.net/csharpformat&lt;/a&gt;/ , or other manoli flavors, to format code for presentation in this blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-8094157523435732958?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/8094157523435732958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/using-manoli.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8094157523435732958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/8094157523435732958'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/using-manoli.html' title='Using Manoli'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-3280625727400439052</id><published>2009-09-17T11:26:00.007-04:00</published><updated>2009-09-30T06:33:04.528-04:00</updated><title type='text'>Delayed action on Mouseover</title><content type='html'>Haven't tried this yet, just parked it here till I need to use it.&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;!&lt;/span&gt;&lt;span class="html"&gt;DOCTYPE&lt;/span&gt; &lt;span class="attr"&gt;html&lt;/span&gt; &lt;span class="attr"&gt;PUBLIC&lt;/span&gt; &lt;span class="kwrd"&gt;"-//W3C//DTD XHTML 1.0 Transitional//EN"&lt;/span&gt; &lt;span class="kwrd"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;html&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;head&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;meta&lt;/span&gt; &lt;span class="attr"&gt;http-equiv&lt;/span&gt;&lt;span class="kwrd"&gt;="Content-Type"&lt;/span&gt; &lt;span class="attr"&gt;content&lt;/span&gt;&lt;span class="kwrd"&gt;="text/html; charset=iso-8859-1"&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;title&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;Page title&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;title&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;script&lt;/span&gt; &lt;span class="attr"&gt;type&lt;/span&gt;&lt;span class="kwrd"&gt;="text/javascript"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;var&lt;/span&gt; c=0;&lt;br /&gt;&lt;span class="kwrd"&gt;var&lt;/span&gt; t;&lt;br /&gt;&lt;span class="kwrd"&gt;var&lt;/span&gt; myTimer;&lt;br /&gt;&lt;span class="kwrd"&gt;function&lt;/span&gt; timedCount()&lt;br /&gt;{&lt;br /&gt;document.getElementById(&lt;span class="str"&gt;'txt'&lt;/span&gt;).value=c&lt;br /&gt;c=c+1&lt;br /&gt;t=setTimeout(&lt;span class="str"&gt;"timedCount()"&lt;/span&gt;,50)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;function&lt;/span&gt; stopCount()&lt;br /&gt;{&lt;br /&gt;clearTimeout(t)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;script&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;head&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;body&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;form&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;input&lt;/span&gt; &lt;span class="attr"&gt;type&lt;/span&gt;&lt;span class="kwrd"&gt;="button"&lt;/span&gt; &lt;span class="attr"&gt;value&lt;/span&gt;&lt;span class="kwrd"&gt;="Start count!"&lt;/span&gt; &lt;span class="attr"&gt;onmouseover&lt;/span&gt;&lt;span class="kwrd"&gt;="var myTimer=setTimeout('timedCount()', 1000);"&lt;/span&gt; &lt;span class="attr"&gt;onmouseout&lt;/span&gt;&lt;span class="kwrd"&gt;="clearTimeout(myTimer);"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;input&lt;/span&gt; &lt;span class="attr"&gt;type&lt;/span&gt;&lt;span class="kwrd"&gt;="text"&lt;/span&gt; &lt;span class="attr"&gt;id&lt;/span&gt;&lt;span class="kwrd"&gt;="txt"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;input&lt;/span&gt; &lt;span class="attr"&gt;type&lt;/span&gt;&lt;span class="kwrd"&gt;="button"&lt;/span&gt; &lt;span class="attr"&gt;value&lt;/span&gt;&lt;span class="kwrd"&gt;="Stop count!"&lt;/span&gt; &lt;span class="attr"&gt;onClick&lt;/span&gt;&lt;span class="kwrd"&gt;="stopCount()"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;form&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;body&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;html&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-3280625727400439052?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/3280625727400439052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/delayed-action-on-mouseover.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/3280625727400439052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/3280625727400439052'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/09/delayed-action-on-mouseover.html' title='Delayed action on Mouseover'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-5758815923276333511</id><published>2009-06-07T17:41:00.002-04:00</published><updated>2010-11-30T17:45:05.543-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gps coordinates'/><category scheme='http://www.blogger.com/atom/ns#' term='google maps'/><title type='text'>Gps coordinates from Google maps</title><content type='html'>To provide directions on my Rahway River Park blog, a have link to google maps. &lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt; I open Google Maps to the vicinity of where I would like coordinates. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;  I use my right click mouse button and select "center map here" from the drop down button. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;  I click the "go to the address in the location bar" button usually to the right of the address. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;  A popup appears showing the coordinates of the center of the map like this: (43.60336, -110.7362) &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;Take a look: &lt;br /&gt;&lt;a href="http://maps.google.com?q= 40.621389, -74.285278 "&gt;Directions&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-5758815923276333511?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/5758815923276333511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/06/gps-coordinates-from-google-maps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5758815923276333511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5758815923276333511'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/06/gps-coordinates-from-google-maps.html' title='Gps coordinates from Google maps'/><author><name>Lill Lansey</name><uri>http://www.blogger.com/profile/12066521523151363370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-5554706733964458408</id><published>2009-06-07T01:08:00.005-04:00</published><updated>2010-11-30T17:54:38.800-05:00</updated><title type='text'>Gps coordinates from Google maps</title><content type='html'>To provide directions on my Rahway River Park blog, a have link to google maps. &lt;br /&gt;&lt;br /&gt;1. I open Google Maps to the vicinity of where I would like coordinates. &lt;br /&gt;2. I use my right click mouse button and select "center map here" from the drop down button. &lt;br /&gt;4. I click the "go to the address in the location bar" button usually to the right of the address. &lt;br /&gt;5. A popup appears showing the coordinates of the center of the map like this: (43.60336, -110.7362) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;blog, I got the l&lt;br /&gt;&lt;br /&gt;&lt;a href="http://maps.google.com?q= 40.621389, -74.285278 "&gt;Directions&lt;/a&gt;(Rahway River Park NJ)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-5554706733964458408?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/5554706733964458408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/06/gps-coordinates-from-google-maps_07.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5554706733964458408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/5554706733964458408'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/06/gps-coordinates-from-google-maps_07.html' title='Gps coordinates from Google maps'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-2595274449556623128</id><published>2009-05-12T07:07:00.017-04:00</published><updated>2009-09-30T06:44:00.789-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ftp'/><category scheme='http://www.blogger.com/atom/ns#' term='FileUpload'/><title type='text'>Easy file upload from client to server using FileUpload</title><content type='html'>I needed a way to do a file upload from client to server without using FTP and found this easy solution using the &lt;strong&gt;FileUpload&lt;/strong&gt; control.&lt;br /&gt;&lt;br /&gt;Duh.&lt;br /&gt;&lt;br /&gt;The control appears as a texbox with a Browse... button. The following puts the control on the page and sets the file to be uploaded to directory C:\\rptsys on the server.&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;&lt;/span&gt;&amp;lt;asp:FileUpload ID="FileUpload1" runat="server" filename ="C:\\rptsys\" /&amp;gt;&lt;br /&gt;&lt;br /&gt;Added a button to initiate the upload and a label to display the result:&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:Button ID="Button1" runat="server" Text="UploadFile" onclick="Button1_Click" /&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;asp:Label ID="Label1" runat="server" Text="Label"Width="247px"&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;&lt;br /&gt;I put together a simple UI:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_p0mPE7e2nvw/SglzvE3SmjI/AAAAAAAAEr8/hur6a1uX84I/s1600-h/fileupload1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334922486193756722" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 222px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_p0mPE7e2nvw/SglzvE3SmjI/AAAAAAAAEr8/hur6a1uX84I/s400/fileupload1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The Browse button opens up a full choose file dialog window.&lt;br /&gt;&lt;br /&gt;The backend code:&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;  &lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; Button1_Click(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;br /&gt;       {&lt;br /&gt;           &lt;span class="kwrd"&gt;if&lt;/span&gt; (FileUpload1.HasFile)&lt;br /&gt;               {&lt;br /&gt;                    Label1.Text = &lt;span class="str"&gt;"File Uploaded: "&lt;/span&gt; + FileUpload1.FileName;&lt;br /&gt;                    FileUpload1.SaveAs(&lt;span class="str"&gt;@"C:\temp\uploads\" +&lt;br /&gt;FileUpload1.FileName);&lt;br /&gt;               }&lt;br /&gt;               else&lt;br /&gt;               {&lt;br /&gt;                   Label1.Text = "&lt;/span&gt;No File Uploaded.";&lt;br /&gt;               }&lt;br /&gt;       }&lt;/pre&gt;&lt;p&gt;After the file is transmitted, I display a "success" message.&lt;br /&gt;&lt;/p&gt;I would have liked to prepopuate the Browse textbox to the directory I know the file is in, but apparently, this cannot be done for security reasons.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-2595274449556623128?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/2595274449556623128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/05/easy-file-upload-from-client-to-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2595274449556623128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/2595274449556623128'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/05/easy-file-upload-from-client-to-server.html' title='Easy file upload from client to server using FileUpload'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_p0mPE7e2nvw/SglzvE3SmjI/AAAAAAAAEr8/hur6a1uX84I/s72-c/fileupload1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-1209239361217646805</id><published>2009-05-05T17:12:00.007-04:00</published><updated>2009-09-30T06:48:18.693-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Explorer 8'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net bug'/><title type='text'>Microsoft Bug Du Jour</title><content type='html'>Last Wednesday I was called over by a coworker and informed that my Asp.Net 3.5 app would not run on a 64 Bit PC running Vista.&lt;br /&gt;&lt;br /&gt;Where the drop down menu should have been displaying a list of reports, there was a very empty, very white, rectangular box.&lt;br /&gt;&lt;br /&gt;Took a look at the View Source to see what was going on. The menu was there and seemed ok.&lt;br /&gt;&lt;br /&gt;Then I find out that the machine is running Explorer 8. Click on Compatibility View in the menu and site displays correctly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-1209239361217646805?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/1209239361217646805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/05/microsoft-bugs-du-jour.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1209239361217646805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/1209239361217646805'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/05/microsoft-bugs-du-jour.html' title='Microsoft Bug Du Jour'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8482174851878556211.post-861401249459684708</id><published>2009-04-22T21:20:00.004-04:00</published><updated>2009-04-23T06:43:25.706-04:00</updated><title type='text'>Corrupted Toolbar in SQL Server Management Studio (SSMS)</title><content type='html'>&lt;div style="background-color:white;"&gt;&lt;br /&gt;I somehow corrupted the toolbar in SQL Server Management Studio (SSMS) the other day:&lt;br /&gt;&lt;br /&gt;&lt;div style="WIDTH: 800px; HEIGHT: 150px"&gt;&lt;span align="top"&gt;&lt;a href="http://4.bp.blogspot.com/_p0mPE7e2nvw/SbPMPqsIceI/AAAAAAAADwQ/-TaRwvcbAJo/s1600-h/toolbar.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5310811139485057122" style="FLOAT: left; WIDTH: 400px; CURSOR: hand; HEIGHT: 111px" alt="" src="http://2.bp.blogspot.com/_p0mPE7e2nvw/SbPKl-4xwGI/AAAAAAAADv4/uWqMgw07WR4/s400/toolbara.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;This is what it looked like  &lt;br /&gt;when I selected Edit, and selected File: &lt;br /&gt;&lt;div&gt;&lt;span align="top"&gt;&lt;a href="http://3.bp.blogspot.com/_p0mPE7e2nvw/SbPMvZs0TYI/AAAAAAAADwg/oyB6uACktww/s1600-h/toolbar3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5310813500324728194" style="FLOAT: left; WIDTH: 134px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_p0mPE7e2nvw/SbPMvZs0TYI/AAAAAAAADwg/oyB6uACktww/s400/toolbar3.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span align="top"&gt;   &amp;nbsp  &amp;nbsp   &amp;nbsp    &amp;nbsp    &lt;a href="http://3.bp.blogspot.com/_p0mPE7e2nvw/SbPMpUNcaDI/AAAAAAAADwY/zfDSNkGiG-4/s1600-h/toolbar2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5310813395771746354" style="WIDTH: 168px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://3.bp.blogspot.com/_p0mPE7e2nvw/SbPMpUNcaDI/AAAAAAAADwY/zfDSNkGiG-4/s400/toolbar2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;At first it was annoying. When I thought about it a little longer, I realized, Wow! Think how productive I could be using this toolbar!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But figured I better fix it.  I found this site: &lt;br /&gt;&lt;a href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=328568"&gt;http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=328568&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Which had the following info: &lt;br /&gt;&lt;div style = "background-color:ghostwhite;font-size:11;padding-left:25px;"&gt;  I think I found a fix. The fix is:&lt;br /&gt;1) Open Regedit&lt;br /&gt;2) Go to the key HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM\Menus&lt;br /&gt;3) Export the key to the Desktop for easy access&lt;br /&gt;4) There are some entries that end in ,1000,1 Try deleting one at a time until the dupe menus disapear&lt;br /&gt;5) Restore the menus.reg export you made after each failed attempt to get the dupes to disappear&lt;br /&gt;6) At some point, they will disapear&lt;br /&gt;Obviously the better fix would be for MS to fix the buggy software or at least explain which key should be deleted. &lt;br /&gt; Posted by Rogue1 on 8/4/2008 at 2:23 PM &lt;br /&gt;Interestingly, I found that this works:&lt;br /&gt;1) Open Regedit&lt;br /&gt;2) Go to the key HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM\Menus&lt;br /&gt;3) Export the key to the Desktop for easy access&lt;br /&gt;4) Delete any one entry that ends in ,1000,1&lt;br /&gt;5) Open MS SSMSE and check to make sure the dupes are gone&lt;br /&gt;6) Merge the saved reg file back into the registry&lt;br /&gt;7) Open MS SSMSE and check to make sure the dupes are gone&lt;br /&gt;&lt;br /&gt;Interestingly, the dupes appear to have disapeared without really getting rid of any of the entries.&lt;br /&gt; Posted by Rogue1 on 8/4/2008 at 2:33 PM &lt;br /&gt;And here is the key to fix for VS 9 Web Dev Express:&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VWDExpress\9.0\Menus&lt;br /&gt;Same process as above. &lt;br /&gt; Posted by Rogue1 on 8/6/2008 at 7:21 PM &lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;br /&gt;So I got into Regedit ( by searching for Regedit in the search field of  start -&gt; all programs )&lt;br /&gt; &lt;br /&gt;The directions gave the path as: &lt;br /&gt;SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM\Menus&lt;br /&gt; &lt;br /&gt;But this was the actual directory name: &lt;br /&gt;SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\Shell\Menus&lt;br /&gt; &lt;br /&gt;I didn’t have the nerve to delete entries from the registry. After all this was my first time here. &lt;br /&gt; &lt;br /&gt;So  &lt;br /&gt; &lt;br /&gt;- Compared registry listing with listing on my xp. Were the same. Nothing extra on vista. &lt;br /&gt; &lt;br /&gt;- Still followed directions to export the listing to desktop ( rc on Menus in directory, choose export ) just in case&lt;br /&gt; &lt;br /&gt;- renamed (not deleted) all entries  that ending in ,1000,1 &lt;br /&gt; &lt;br /&gt;- tried to start up ssms ( wouldn’t start)&lt;br /&gt; &lt;br /&gt;- changed name of registries back to original &lt;br /&gt; &lt;br /&gt;It worked !!!&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8482174851878556211-861401249459684708?l=lookinatdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lookinatdotnet.blogspot.com/feeds/861401249459684708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/04/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/861401249459684708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8482174851878556211/posts/default/861401249459684708'/><link rel='alternate' type='text/html' href='http://lookinatdotnet.blogspot.com/2009/04/blog-post.html' title='Corrupted Toolbar in SQL Server Management Studio (SSMS)'/><author><name>the moot</name><uri>http://www.blogger.com/profile/16293773573930344639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_p0mPE7e2nvw/Se1KZMpdKrI/AAAAAAAAEIo/O5KZvvo47LU/S220/lllllll.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_p0mPE7e2nvw/SbPKl-4xwGI/AAAAAAAADv4/uWqMgw07WR4/s72-c/toolbara.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
