<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Against All Odds - .NET</title>
			<link>http://www.ppshein.net/index.cfm</link>
			<description>A blog for ColdFusion, Android, jQuery, jQueryMobile, Oracle, HL7 and other Web-based programming languages, Web Server like IIS7 and RDMS like Oracle, Microsoft SQL and MySQL.</description>
			<language>en-us</language>
			<pubDate>Thu, 23 May 2013 16:32:25 -0700</pubDate>
			<lastBuildDate>Tue, 14 Aug 2012 22:06:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pyaephyoeshein@gmail.com</managingEditor>
			<webMaster>pyaephyoeshein@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>pyaephyoeshein@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Webservices without using cfinvoke</title>
				<link>http://www.ppshein.net/index.cfm/2012/8/14/Webservices-without-using-cfinvoke</link>
				<description>
				
				As we all know if webservices of another party using window NT authentication, we cannot use CFInvoke for calling webservices. At that time, we need another 3rd party webservices integrator for coldfusion to access another party. At that time, we need to use CFObject instead of CFInvoke.

&lt;code&gt;
&lt;!--- Include .NET webservices DLL file ---&gt;
&lt;cfobject type=&quot;.NET&quot; name=&quot;webServiceName&quot; class=&quot;ViewUserLibrary.UserManagementService&quot; assembly=&quot;C:\ViewUserLibrary.dll&quot; /&gt;
&lt;!--- call webservices URL ---&gt;
&lt;cfset webServiceName.set_wsdl(&quot;http://10.168.7.71:8080/oaswebservices/OASWebSvcPatientMgmt.asmx?wsdl&quot;) /&gt;
&lt;!--- Window NT Username ---&gt;
&lt;cfset webServiceName.set_userId( &quot;CTTT24&quot; ) /&gt;
&lt;!--- Window NT Password ---&gt;
&lt;cfset webServiceName.set_password( &quot;passwd78&quot; ) /&gt;
&lt;!--- Window NT Domain ---&gt;
&lt;cfset webServiceName.set_domain( &quot;CGHAD&quot; ) /&gt;
&lt;cfset dataSetResult = webServiceName.viewUserInfo(&quot;CG&quot;,&quot;PPShein&quot;)/&gt;

&lt;!--- Dump it ---&gt;
&lt;cfdump var=&quot;#dataSetResult#&quot;/&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<category>.NET</category>
				
				<pubDate>Tue, 14 Aug 2012 22:06:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/8/14/Webservices-without-using-cfinvoke</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Webcamps</title>
				<link>http://www.ppshein.net/index.cfm/2010/3/20/webcamps</link>
				<description>
				
				I attend Microsoft &lt;a href=&quot;http://www.webcamps.ms/#singapore_panel&quot; target=&quot;_blank&quot;&gt;Webcamps&lt;/a&gt; on last week. It&apos;s neither seminar nor promoting of Microsoft products. It&apos;s just simple training for how to use &lt;a href=&quot;http://www.microsoft.com/visualstudio/en-us&quot; target=&quot;_blank&quot;&gt;Microsoft Visual Studio 2010&lt;/a&gt; including &lt;a href=&quot;http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller&quot; target=&quot;_blank&quot;&gt;MVC&lt;/a&gt; (Model, View and Controller). It&apos;s really nice. They&apos;re focus on &lt;a href=&quot;http://www.microsoft.com/visualstudio/en-us&quot; target=&quot;_blank&quot;&gt;VS 2010&lt;/a&gt;, &lt;a href=&quot;http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller&quot; target=&quot;_blank&quot;&gt;MVC&lt;/a&gt; 2 and &lt;a href=&quot;http://learn.iis.net/&quot; target=&quot;_blank&quot;&gt;IIS 7&lt;/a&gt;. I feel Microsoft is crazy over &lt;a href=&quot;http://en.wikipedia.org/wiki/Search_engine_optimization&quot; target=&quot;_blank&quot;&gt;SEO&lt;/a&gt; structure like &lt;a href=&quot;http://en.wikipedia.org/wiki/PHP&quot; target=&quot;_blank&quot;&gt;PHP&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Ruby_%28programming_language%29&quot; target=&quot;_blank&quot;&gt;Ruby&lt;/a&gt; on &lt;a href=&quot;http://www.linux.org/&quot; target=&quot;_blank&quot;&gt;Linux&lt;/a&gt;.
				
				</description>
				
				
				<category>PHP</category>
				
				<category>.NET</category>
				
				<pubDate>Sat, 20 Mar 2010 06:34:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/3/20/webcamps</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Display row count in GridView</title>
				<link>http://www.ppshein.net/index.cfm/2010/3/17/display-row-count-in-gridview</link>
				<description>
				
				ASP.NET Gridview is kinda complicate to handle sometimes. First time, I didn&apos;t know how to display row count in Gridview. Whatever I tried is displaying vistual ID of database. After that, I found how to display row count in Gridview.

&lt;code&gt;
&lt;asp:TemplateField&gt;
&lt;ItemTemplate&gt;
&lt;%# Container.DataItemIndex + 1 %&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateField&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>.NET</category>
				
				<pubDate>Wed, 17 Mar 2010 06:33:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/3/17/display-row-count-in-gridview</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Simple web applications for beginners</title>
				<link>http://www.ppshein.net/index.cfm/2010/2/27/simple-web-applications-for-beginners</link>
				<description>
				
				Today, I&apos;ve no much tasks to do and have most free time. That&apos;s why surfing through websites and seeking open-source dictionary web project written by PHP or JSP. Because I&apos;ve an idea to build free dictionary site for none-profit. And, I don&apos;t want to create such dictionary site throughly by myself. That&apos;s why I want open-source and want to add some useful fuctions in it. At that time, I&apos;ve found &lt;a title=&quot;http://www.gotocode.com&quot; href=&quot;http://www.gotocode.com&quot; target=&quot;_blank&quot;&gt;http://www.gotocode.com&lt;/a&gt; dedicated to web beginners, who want to learn ASP, JSP, PHP and so on. It has some simple applications and allow to download. If you have free spare time, go and visit it.
				
				</description>
				
				
				<category>JSP</category>
				
				<category>PHP</category>
				
				<category>Coldfusion</category>
				
				<category>.NET</category>
				
				<pubDate>Sat, 27 Feb 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/2/27/simple-web-applications-for-beginners</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Redirect to login page when session timeout in ASP.NET</title>
				<link>http://www.ppshein.net/index.cfm/2010/2/9/redirect-to-login-page-when-session-timeout-in-asp-net</link>
				<description>
				
				Today, our .NET programmers face this problem, &lt;strong&gt;redirect to login page when session timeout&lt;/strong&gt; in asp.net. Because we store some users&apos; information in session variables. And, check also users&apos; permission (can access only reports of his/her department) with such session variables. The problem is when session is timeout, the one can access all reports of all departments. Thus, our clients complaint these errors on and on. Today, I know how to solve this bug now. Here is, coding I put in all of master page.

&lt;code&gt;
if(Session[&quot;Session_name&quot;]==null)
Response.Redirect(&quot;Login.aspx&quot;);
&lt;/code&gt;
				
				</description>
				
				
				<category>.NET</category>
				
				<pubDate>Tue, 09 Feb 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/2/9/redirect-to-login-page-when-session-timeout-in-asp-net</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>How to create Captcha in ASP.NET</title>
				<link>http://www.ppshein.net/index.cfm/2010/1/22/how-to-create-captcha-in-asp-net</link>
				<description>
				
				&lt;img title=&quot;Image Captcha&quot; src=&quot;http://i59.photobucket.com/albums/g294/comfreakPH/captcha.jpg&quot; alt=&quot;&quot; width=&quot;231&quot; height=&quot;163&quot; /&gt;
 

In these days, our programmers need to create a simple customer feedback form for our client. As we all know, it&apos;s quite simple to do. But, to have good security for our site, we should prevent any spam in advance. That&apos;s why how to put Image Captcha in our site. I found following site.

Big Credit to : &lt;a title=&quot;http://johnadonline.com/?tag=how-to-create-captcha-in-aspnet-c&quot; href=&quot;http://johnadonline.com/?tag=how-to-create-captcha-in-aspnet-c&quot; target=&quot;_blank&quot;&gt;http://johnadonline.com/?tag=how-to-create-captcha-in-aspnet-c&lt;/a&gt;
				
				</description>
				
				
				<category>.NET</category>
				
				<pubDate>Fri, 22 Jan 2010 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/1/22/how-to-create-captcha-in-asp-net</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>cfmediaplayer</title>
				<link>http://www.ppshein.net/index.cfm/2009/12/7/cfmediaplayer</link>
				<description>
				
				As we all know, adobe is gradually upgrading their products to be more and more flexible for their developers. Now, Coldfusion reach MX9. Oddly, I haven&apos;t deeply touch Mx9 yet because I&apos;m still on MX8. Last week, I was surfing and reading through adobe website about their new products. Coincidently,  I&apos;ve found &lt;cfmediaplayer&gt; which is more flexible for Video and Advertisement webiste protal. We gotta use &lt;invalidTag&gt; for putting video files when we&apos;re on MX8. Now, we don&apos;t need to use this coding if we upgrade our server to MX9. Is that great, huh?

You can read more &lt;strong&gt;cfmediaplayer&lt;/strong&gt; here.

&lt;a href=&quot;http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSE66DB0CD-E16D-49e7-AAEE-F51F9580554E.html&quot;&gt;http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSE66DB0CD-E16D-49e7-AAEE-F51F9580554E.html&lt;/a&gt;

Likewise, Microsoft recently launched .NET framework 4.0 for their developers. They praised that 4.0 can strongly support more reusable, rich application and so on.
				
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<category>.NET</category>
				
				<pubDate>Mon, 07 Dec 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/12/7/cfmediaplayer</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>DotNetToCFType</title>
				<link>http://www.ppshein.net/index.cfm/2009/10/28/dotnettocftype</link>
				<description>
				
				&lt;p&gt;In this weekend, I have nothing to do in my room and feel lazy to outgoing anywhere. That&apos;s why I wanna spend my time to reading coldfusion documents to enhance my skill. Likewise, I&apos;m planning to take cf8 exam coming July or August so I need to know almost cftags as much as I can. Meanwhile, I found one coolest tag called &lt;a href=&quot;http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions-pt0_09.html#3490127&quot; target=&quot;_blank&quot;&gt;DotNetToCFType&lt;/a&gt; in CFML. It can integrate .NET feature with CFML.&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;&lt;!---Create a SQL Command Object---&gt;
&lt;cfobject action=&quot;create&quot; name=&quot;sqlCommandObject&quot; type=&quot;.Net&quot; assembly=&quot;#assemblyList#&quot;&gt;
&lt;cfset sqlCommandObject.init(&quot;SELECT [ID], [FriendlyName] FROM [Batch]&quot;, sqlConnectionObject)&gt;
&lt;cfset sqlDataReaderObject = sqlCommandObject.ExecuteReader()&gt;
&lt;cfset dataTable = createObject(&quot;.net&quot;, &quot;System.Data.DataTable&quot;, assemblyList)&gt;
&lt;!--- populate the datatable ---&gt;
&lt;cfset dataTable.load(sqlDataReaderObject)&gt;
&lt;!--- convert to cfquery ---&gt;
&lt;cfset myquery=DotNetToCFType(dataTable)&gt;&lt;/code&gt;&lt;/p&gt;
				
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<category>.NET</category>
				
				<pubDate>Wed, 28 Oct 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/10/28/dotnettocftype</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Microsoft Sharepoint</title>
				<link>http://www.ppshein.net/index.cfm/2009/6/27/microsoft-sharepoint</link>
				<description>
				
				In these days, my boss urge me to test microsoft sharepoint server for doing customize. As we all know, sharepoint program is written by asp.net (C#). If you don&apos;t know asp.net well, we cannot modify anything except stylesheet. If you wanna modify anything at sharepoint, you must have microsoft sharepoint designer. If you don&apos;t have, you can do nothing at there.
				
				</description>
				
				
				<category>.NET</category>
				
				<pubDate>Sat, 27 Jun 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/6/27/microsoft-sharepoint</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>press enter key to form submit</title>
				<link>http://www.ppshein.net/index.cfm/2009/5/18/press-enter-key-to-form-submit</link>
				<description>
				
				I&apos;m now writing Dictionary program, based on Web2.0 with Asp.net. In asp.net, we gotta use these asp.net control which support us more performance to SQL and performance. But, to control these are really complicated and it gives serveral times to manage to control.

In our project, there is only one input textbox in welcome page. At first, whenever user type one word in this and press Enter Key, I want to run click even of &quot;search&quot; button. But, whenever I type word and press enter, it cannot run click event of search button. So, I was out of shape of this one day. Today, I keep on searching and then I got it now. Here is solution for this problem.

Coding for welcome.aspx
&lt;code&gt;
&lt;form defaultbutton=&quot;button1&quot; runat=&quot;server&quot;&gt;
&lt;asp:textbox id=&quot;textbox1&quot; runat=&quot;server&quot;/&gt;
&lt;asp:button id=&quot;button1&quot; text=&quot;Button1&quot; runat=&quot;server&quot;/&gt;
&lt;/form&gt;
&lt;/code&gt;

Coding for welcome.aspx.cs

&lt;code&gt;
	TextBox1.Attributes.Add(&quot;onkeydown&quot;, &quot;if(event.which || event.keyCode){
	if ((event.which == 13) || (event.keyCode == 13)) {
		document.getElementById(&apos;&quot;+Button1.UniqueID+&quot;&apos;).click();
		return false;
		}} 
	else {
		return true
		}; 
	&quot;);
&lt;/code&gt;

Best Credit to : &lt;a title=&quot;http://www.beansoftware.com/asp.net-tutorials/accept-enter-key.aspx&quot; href=&quot;http://www.beansoftware.com/asp.net-tutorials/accept-enter-key.aspx&quot; target=&quot;_blank&quot;&gt;http://www.beansoftware.com/asp.net-tutorials/accept-enter-key.aspx&lt;/a&gt;
				
				</description>
				
				
				<category>.NET</category>
				
				<pubDate>Mon, 18 May 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/5/18/press-enter-key-to-form-submit</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ASP.NET ajaxtoolkit control</title>
				<link>http://www.ppshein.net/index.cfm/2009/5/11/asp-net-ajaxtoolkit-control</link>
				<description>
				
				I thought, asp.net is complicated to implement for web feature with ajax technology. When I visited one website showing about ASP.NET ajax control, what I thought is quite funny. Because we can implement all what we want in Web development with ASP.NET AjaxToolKit.

You can learn how to use this toolkit in this website.

&lt;a title=&quot;ASP.NET Ajaxtoolkit Control&quot; href=&quot;http://www.asp.net/AJAX/AjaxControlToolkit/Samples/&quot; target=&quot;_blank&quot;&gt;http://www.asp.net/AJAX/AjaxControlToolkit/Samples/&lt;/a&gt;
				
				</description>
				
				
				<category>.NET</category>
				
				<pubDate>Mon, 11 May 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/5/11/asp-net-ajaxtoolkit-control</guid>
				
				
			</item>
			
		 	
			</channel></rss>