<?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:blogger='http://schemas.google.com/blogger/2008' 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-852074271274982505</id><updated>2024-11-05T18:53:09.042-08:00</updated><category term="perl"/><category term="ASP.NET"/><category term="MSSQL"/><category term="VBScript"/><category term="backup"/><category term="blogger"/><category term="code snippet"/><category term="crontab"/><category term="Ajax Dateselector"/><category term="Authentication"/><category term="Dropdown update template"/><category term="Get Alphabets"/><category term="Login controller"/><category term="Login modification"/><category term="Login page"/><category term="Pad Zeroes"/><category term="Parsename"/><category term="SOAP::LITE"/><category term="Split"/><category term="Substring"/><category term="URL link"/><category term="Web Service"/><category term="Web Services"/><category term="ceil"/><category term="compress"/><category term="data mining"/><category term="datagrid"/><category term="desktop icon"/><category term="embed"/><category term="filter"/><category term="filterCommand"/><category term="floor"/><category term="ftp"/><category term="icon"/><category term="lightbox"/><category term="link"/><category term="mysql"/><category term="mysqldump"/><category term="packages"/><category term="pdf"/><category term="remote"/><category term="round"/><category term="shortcut"/><category term="sqlDataSource"/><category term="text parsing"/><category term="transfer"/><category term="update command"/><category term="web.config"/><category term="zip"/><title type='text'>openSource</title><subtitle type='html'>Open source code snippets &lt;br&gt; [C#, Delphi, Python, PHP, Perl, JS, and JQuery]</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-6548229546932881216</id><published>2013-02-28T22:47:00.001-08:00</published><updated>2013-02-28T22:47:25.914-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="compress"/><category scheme="http://www.blogger.com/atom/ns#" term="crontab"/><category scheme="http://www.blogger.com/atom/ns#" term="data mining"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="MSSQL"/><category scheme="http://www.blogger.com/atom/ns#" term="remote"/><category scheme="http://www.blogger.com/atom/ns#" term="transfer"/><category scheme="http://www.blogger.com/atom/ns#" term="VBScript"/><category scheme="http://www.blogger.com/atom/ns#" term="zip"/><title type='text'>VBScript for compressing files in a folder and send on FTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This is a simple vbscript compression script. works flawlessly on text files even bigger than 15GB.&lt;br /&gt;
We have a SSIS data generation package installed on our DB server which generates huge data files for data mining operations for current year, current month. The below scripts are doing the rest; compress the files and FTP to the data mining server location.&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39;======================================================&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Function : Zip datamart CSV, CTL files to local server for archive purposes.&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39;======================================================&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Function WindowsZip(sFile, sZipFile, szPath, szDate)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oZipShell = CreateObject(&quot;WScript.Shell&quot;)&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oZipFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set LogFile = oZipFSO.CreateTextFile(szPath &amp;amp; &quot;\Logs\log_&quot; &amp;amp; szDate &amp;amp; &quot;.log&quot;, true)&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;LogFile.WriteLine(&quot;=======================================&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.WriteLine(Now &amp;amp; &quot; - Compressing CSV file - Starting...&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;LogFile.WriteLine(&quot;=======================================&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; If Not oZipFSO.FileExists(sZipFile) Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; NewZip(sZipFile)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; End If&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oZipApp = CreateObject(&quot;Shell.Application&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set source = oZipApp.NameSpace(sFile).Items&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sZipFileCount = oZipApp.NameSpace(sZipFile).items.Count&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;oZipApp.NameSpace(sZipFile).Copyhere source&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;LogFile.WriteLine(sZipFile &amp;amp; &quot; - Compressing -&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39;Keep script waiting until Compressing is done&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;On Error Resume Next&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;sLoop = 0&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Do Until sZipFileCount &amp;lt; oZipApp.NameSpace(sZipFile).Items.Count&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;Wscript.Sleep(100)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;sLoop = sLoop + 1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Loop&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;On Error GoTo 0&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.WriteLine(sZipFile &amp;amp; &quot; - Successfully compressed -&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.WriteBlankLines 1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.Close&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set LogFile = Nothing&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oZipShell = Nothing&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oZipFSO = Nothing&amp;nbsp;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
End Function&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Sub NewZip(sNewZip)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oNewZipFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oNewZipFile = oNewZipFSO.CreateTextFile(sNewZip)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; oNewZipFile.Write Chr(80) &amp;amp; Chr(75) &amp;amp; Chr(5) &amp;amp; Chr(6) &amp;amp; String(18, 0)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; oNewZipFile.Close&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oNewZipFSO = Nothing&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Wscript.Sleep(500)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
End Sub&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39;======================================================&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Function : Upload datamart CSV, CTL files to MTMS FTP server.&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39;======================================================&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Function FTPUpload(sSite, sUsername, sPassword, sLocalFile, sRemotePath, szPath, szDate, szYear, szMonth)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Const OpenAsDefault = -2&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Const FailIfNotExist = 0&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Const ForReading = 1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Const ForWriting = 2&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oFTPScriptFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oFTPScriptShell = CreateObject(&quot;WScript.Shell&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set LogFile = oFTPScriptFSO.OpenTextFile(szPath&amp;nbsp;&amp;amp; &quot;\Logs\log_&quot; &amp;amp; szDate &amp;amp; &quot;.log&quot;, 8)&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
LogFile.WriteLine(&quot;========================================&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.WriteLine(Now &amp;amp; &quot; - Sending CSV file on FTP - Starting...&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
LogFile.WriteLine(&quot;========================================&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sRemotePath = Trim(sRemotePath)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sLocalFile = Trim(sLocalFile)&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;Check to ensure that a remote path was&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;passed. If it&#39;s blank then pass a &quot;\&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; If Len(sRemotePath) = 0 Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; sRemotePath = &quot;\&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; End If&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; If InStr(sLocalFile, &quot;*&quot;) Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; If InStr(sLocalFile, &quot; &quot;) Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; FTPUpload = &quot;Error: Wildcard uploads do not work if the path contains a &quot; &amp;amp; &quot;space.&quot; &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; FTPUpload = FTPUpload &amp;amp; &quot;This is a limitation of the Microsoft FTP client.&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;LogFile.WriteLine(FTPUpload)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Exit Function&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; End If&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; ElseIf Len(sLocalFile) = 0 Or Not oFTPScriptFSO.FileExists(sLocalFile) Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &#39;nothing to upload&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; FTPUpload = &quot;Error: File Not Found.&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;LogFile.WriteLine(sLocalFile &amp;amp; FTPUpload)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; Exit Function&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; End If&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;--------END Path Checks---------&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;build input file for ftp command&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; &quot;USER &quot; &amp;amp; sUsername &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; sPassword &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; &quot;prompt &quot; &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; &quot;cd &quot; &amp;amp; sRemotePath &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; &quot;binary&quot; &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; &quot;lcd &quot; &amp;amp; szPath &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; &quot;mput &quot; &amp;amp; sLocalFile &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPScript = sFTPScript &amp;amp; &quot;quit&quot; &amp;amp; vbCRLF &amp;amp; &quot;quit&quot; &amp;amp; vbCRLF &amp;amp; &quot;quit&quot; &amp;amp; vbCRLF&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPTemp = oFTPScriptShell.ExpandEnvironmentStrings(&quot;%TEMP%&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPTempFile = sFTPTemp &amp;amp; &quot;\&quot; &amp;amp; oFTPScriptFSO.GetTempName&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; sFTPResults = sFTPTemp &amp;amp; &quot;\&quot; &amp;amp; oFTPScriptFSO.GetTempName&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;Write the input file for the ftp command&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;to a temporary file.&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set fFTPScript = oFTPScriptFSO.CreateTextFile(sFTPTempFile, True)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; fFTPScript.WriteLine(sFTPScript)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; fFTPScript.Close&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set fFTPScript = Nothing &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; oFTPScriptShell.Run &quot;%comspec% /c FTP -n -s:&quot; &amp;amp; sFTPTempFile &amp;amp; &quot; &quot; &amp;amp; sSite &amp;amp; &quot; &amp;gt; &quot; &amp;amp; sFTPResults, 0, TRUE&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Wscript.Sleep 1000&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;Check results of transfer.&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set fFTPResults = oFTPScriptFSO.OpenTextFile(sFTPResults, ForReading, FailIfNotExist, OpenAsDefault)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &#39;sResults = fFTPResults.ReadAll&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Do Until fFTPResults.AtEndOfStream&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; sResults = sResults &amp;amp; vbCRLF &amp;amp; fFTPResults.ReadLine&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Loop&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; fFTPResults.Close&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; oFTPScriptFSO.DeleteFile(sFTPTempFile)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; oFTPScriptFSO.DeleteFile (sFTPResults)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; If InStr(sResults, &quot;226 Transfer complete.&quot;) &amp;gt; 0 Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; FTPUpload = &quot;226 Transfer complete.&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; ElseIf InStr(sResults, &quot;File not found&quot;) &amp;gt; 0 Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; FTPUpload = &quot;Error: File Not Found&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; ElseIf InStr(sResults, &quot;cannot log in.&quot;) &amp;gt; 0 Then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; FTPUpload = &quot;Error: Login Failed.&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Else&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; FTPUpload = sResults &amp;amp; &quot;Error: Unknown.&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; End If&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.WriteLine(FTPUpload)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.WriteBlankLines 1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; LogFile.Close&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oFTPScriptFSO = Nothing&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set oFTPScriptShell = Nothing&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Set LogFile = Nothing&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
End Function&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Dim dtTemp, szMonth, szDayName, szDay, szYear, inFilename, outFilename, szPath, szDate&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
dtTemp = Date&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39;Get the 2 digit month. VBScript does not include a function for this&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
if (len(CStr(Month(dtTemp))) &amp;lt; 2) then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
szMonth = &quot;0&quot; &amp;amp; CStr(Month(dtTemp))&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
else&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
szMonth = CStr(Month(dtTemp))&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
end if&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
if (len(CStr(Day(dtTemp))) &amp;lt; 2) then&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
szDay = &quot;0&quot; &amp;amp; CStr(Day(dtTemp))&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
else&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
szDay = CStr(Day(dtTemp))&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
end if&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
szYear = Year(dtTemp)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
szPath = &quot;D:\FILES&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
szDate = szYear &amp;amp; szMonth &amp;amp; szDay&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
inFilename = szPath &amp;amp; &quot;\&quot; &amp;amp; szYear &amp;amp; &quot;\&quot; &amp;amp; szMonth&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
outFilename = szPath &amp;amp; &quot;\Archive\COMPRESSED&quot; &amp;amp; &quot;.ZIP&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Wscript.Echo WindowsZip(inFilename, outFilename, szPath, szDate)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;Wscript.Echo FTPUpload(&quot;xx.xx.xx.xx&quot;, &quot;userid&quot;, &quot;password&quot;,&amp;nbsp;outFilename, &quot;REMOTEPATH&quot;, szPath, szDate, szYear, szMonth)&lt;/blockquote&gt;
&lt;br /&gt;
Save the above script as compress_ftp.vbs, and run it on task&amp;nbsp;scheduler with cscript. For the total file size around 20GB, this process will take around 1 hour.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/6548229546932881216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2013/02/vbscript-for-compressing-files-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/6548229546932881216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/6548229546932881216'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2013/02/vbscript-for-compressing-files-in.html' title='VBScript for compressing files in a folder and send on FTP'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-5723288347957621137</id><published>2012-11-11T23:13:00.000-08:00</published><updated>2012-11-11T23:14:40.979-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="desktop icon"/><category scheme="http://www.blogger.com/atom/ns#" term="icon"/><category scheme="http://www.blogger.com/atom/ns#" term="link"/><category scheme="http://www.blogger.com/atom/ns#" term="shortcut"/><category scheme="http://www.blogger.com/atom/ns#" term="URL link"/><category scheme="http://www.blogger.com/atom/ns#" term="VBScript"/><title type='text'>VBScript for URL link creation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
We had a need to create URL link of our project on users&#39;s desktop using a script. First stage the users had enough rights on their PC&#39;s so we included the required icon file also with the script and passed the following VBScript to users to click on it to create the desktop icon link.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Definie shell object&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Set objWSHShell = WScript.CreateObject(&quot;Wscript.Shell&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strDesktop = objWSHShell.SpecialFolders(&quot;Desktop&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Copy the icon file to windows&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Set objFileCopy = objFSO.GetFile( objWSHShell.CurrentDirectory&amp;amp;&quot;\icon.ico&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
objFileCopy.Copy (&quot;C:\WINDOWS\system32\&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Define link properties and create link&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strShortcutName = &quot;Log In&quot;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;           &lt;/span&gt;&#39; Shortcut Name - Edit for the wanted name&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strShortcutPath = &quot;http://thesystem.com/Login.aspx&quot;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39; Link URL - Edit to the wanted URL&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strIconPath = &quot;C:\WINDOWS\system32\icon.ico&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Set objShortcut = objWSHShell.CreateShortcut(strDesktop &amp;amp; &quot;\&quot; &amp;amp; strShortcutName &amp;amp; &quot;.lnk&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
objShortcut.TargetPath=strShortcutPath&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
objShortcut.IconLocation=strIconPath&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
objShortcut.Save&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Quit Script&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
WScript.Quit&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
But later the user access rights has been limited and were blocked accessing system folder, the link creator didn&#39;t created the link with supplied icon file. As the icon file is copied to the system folder. So the updated script would not use supplied icon file, but make use of existing system icon.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Definie shell object&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Set objWSHShell = WScript.CreateObject(&quot;Wscript.Shell&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strDesktop = objWSHShell.SpecialFolders(&quot;Desktop&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Define link properties and create link&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strShortcutName = &quot;LogIn&quot;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39; Shortcut Name - Edit for the wanted name&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strShortcutPath = &quot;http://thesystem.com/Login.aspx&quot;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39; Link URL - Edit to the wanted URL&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
strIconPath = &quot;c:\windows\system32\shell32.dll,44&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Set objShortcut = objWSHShell.CreateShortcut(strDesktop &amp;amp; &quot;\&quot; &amp;amp; strShortcutName &amp;amp; &quot;.lnk&quot;)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
objShortcut.TargetPath=strShortcutPath&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
objShortcut.IconLocation=strIconPath&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
objShortcut.Save&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&#39; Quit Script&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
WScript.Quit&lt;/blockquote&gt;
&lt;br /&gt;
Now the icon shown from system.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/5723288347957621137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/11/vbscript-for-link-creation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/5723288347957621137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/5723288347957621137'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/11/vbscript-for-link-creation.html' title='VBScript for URL link creation'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-7654478456480219105</id><published>2012-10-05T02:45:00.002-07:00</published><updated>2012-10-05T02:45:51.370-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Authentication"/><category scheme="http://www.blogger.com/atom/ns#" term="Login controller"/><category scheme="http://www.blogger.com/atom/ns#" term="Login modification"/><category scheme="http://www.blogger.com/atom/ns#" term="Login page"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Service"/><category scheme="http://www.blogger.com/atom/ns#" term="web.config"/><title type='text'>ASP.NET default Login page and controller modification for using with Web Service or local method</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
By default the ASP.NET login page and controls are bound with default methods and its bit uneasy to work with ( at least for some ppl like me). We could make use of same controller and pages with our own mechanism of logging in.&lt;br /&gt;
&lt;br /&gt;
1. Changes on web.config&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;location path=&quot;Login.aspx&quot;&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;allow users=&quot;*&quot; /&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;/location&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;location path=&quot;Styles&quot;&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;allow users=&quot;*&quot; /&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;/location&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;location path=&quot;Images&quot;&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;allow users=&quot;*&quot; /&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;/location&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;deny users=&quot;?&quot; /&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/authorization&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
2. Moving files&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Move the Login.aspx and related files outside the default folder and delete the folder&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoUhTTkYtq2Oxru1EUgoUvw1q6Tsr_fCFaS6W6PdWSETYq8bLuPG73W2X9Nu37VaJBEYjOnppXZMjoYCJhCnz3_q39G_5F_Qx0o4lT3QSdhTlGsesmkJKDvrGYkniouVPOZW_1WG3ZgZ8/s1600/solution_example.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoUhTTkYtq2Oxru1EUgoUvw1q6Tsr_fCFaS6W6PdWSETYq8bLuPG73W2X9Nu37VaJBEYjOnppXZMjoYCJhCnz3_q39G_5F_Qx0o4lT3QSdhTlGsesmkJKDvrGYkniouVPOZW_1WG3ZgZ8/s320/solution_example.png&quot; width=&quot;226&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
3. Update on Login frontend, add the onclick method&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;lt;p class=&quot;submitButton&quot;&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:Button ID=&quot;LoginButton&quot; runat=&quot;server&quot; onclick=&quot;LoginButton_Click&quot; Text=&quot;Log In&quot; ValidationGroup=&quot;LoginUserValidationGroup&quot;/&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/p&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
4. Update on Login backend&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;protected void LoginButton_Click(object sender, EventArgs e)&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bool authSuccess = false;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sc.AppCode = WebConfigurationManager.AppSettings[&quot;appCode&quot;];&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sc.AppPwd = WebConfigurationManager.AppSettings[&quot;appPwd&quot;];&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sc.ClientIP = &quot;aa&quot;;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sc.EndUserId = &quot;aa&quot;;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (LoginUser.UserName == WebConfigurationManager.AppSettings[&quot;userId&quot;]) // web.config user id&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (LoginUser.Password == WebConfigurationManager.AppSettings[&quot;userPwd&quot;])&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; authSuccess = true;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; authSuccess = false;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else // other user id&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; req.ServiceContext = sc;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; req.UserId = LoginUser.UserName;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; req.UserPwd = LoginUser.Password;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; response = port.Authenticate(req);&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(response.Status.ToUpper() == &quot;OK&quot;)&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; authSuccess = true;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; authSuccess = false;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wsStatus.Text = response.Message;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception lex)&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wsStatus.Text = lex.Message;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; authSuccess = false;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (authSuccess)&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FormsAuthentication.SetAuthCookie(LoginUser.UserName, false /* createPersistentCookie */);&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string continueUrl = Request.QueryString[&quot;ReturnUrl&quot;];&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (String.IsNullOrEmpty(continueUrl))&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continueUrl = &quot;~/&quot;;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Response.Redirect(continueUrl);&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LoginUser.FailureText = &quot;Login Failure!&quot;;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception lex)&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LoginUser.FailureText = lex.Message;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/7654478456480219105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/10/aspnet-default-login-page-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/7654478456480219105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/7654478456480219105'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/10/aspnet-default-login-page-and.html' title='ASP.NET default Login page and controller modification for using with Web Service or local method'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoUhTTkYtq2Oxru1EUgoUvw1q6Tsr_fCFaS6W6PdWSETYq8bLuPG73W2X9Nu37VaJBEYjOnppXZMjoYCJhCnz3_q39G_5F_Qx0o4lT3QSdhTlGsesmkJKDvrGYkniouVPOZW_1WG3ZgZ8/s72-c/solution_example.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-2346888598573872925</id><published>2012-10-05T00:09:00.004-07:00</published><updated>2012-10-05T00:19:20.905-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax Dateselector"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="datagrid"/><category scheme="http://www.blogger.com/atom/ns#" term="Dropdown update template"/><category scheme="http://www.blogger.com/atom/ns#" term="filter"/><category scheme="http://www.blogger.com/atom/ns#" term="filterCommand"/><category scheme="http://www.blogger.com/atom/ns#" term="sqlDataSource"/><category scheme="http://www.blogger.com/atom/ns#" term="update command"/><title type='text'>ASP.NET - Almost complete use of Datagrid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I was on a need of creating datagrid object on my page with sorting, filtering, updating needs. You could make use of below example for some complex cases (Dropdown, Date selector update columns for relational data table updates, filters, multiple update queries)&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;table border=&quot;0&quot; cellspacing=&quot;0&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tbody&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;tr&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;Owner_Name&amp;lt;/th&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;OS&amp;lt;/th&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;Type&amp;lt;/th&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;Status&amp;lt;/th&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;Action Type&amp;lt;/th&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;tr&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;asp:dropdownlist appenddatabounditems=&quot;true&quot; autopostback=&quot;true&quot; datasourceid=&quot;dsPopulateOwner_Name&quot; datatextfield=&quot;UNAME&quot; datavaluefield=&quot;UID&quot; font-size=&quot;11px&quot; id=&quot;ddlOwner_Name&quot; runat=&quot;server&quot; width=&quot;130px&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:listitem text=&quot;*&quot; value=&quot;%&quot;&amp;gt;&amp;lt;/asp:listitem&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:sqldatasource connectionstring=&quot;&amp;amp;lt;%$ ConnectionStrings:Connection %&amp;amp;gt;&quot; id=&quot;dsPopulateOwner_Name&quot; runat=&quot;server&quot; selectcommand=&quot;SELECT&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Id as UID, Name as UNAME FROM tblUser&quot;&amp;gt;&amp;lt;/asp:sqldatasource&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;asp:dropdownlist appenddatabounditems=&quot;true&quot; autopostback=&quot;true&quot; datasourceid=&quot;dsPopulateOS&quot; datavaluefield=&quot;OS&quot; font-size=&quot;11px&quot; id=&quot;ddlOS&quot; runat=&quot;server&quot; width=&quot;130px&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:listitem text=&quot;All&quot; value=&quot;%&quot;&amp;gt;&amp;lt;/asp:listitem&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:sqldatasource connectionstring=&quot;&amp;amp;lt;%$ ConnectionStrings:Connection %&amp;amp;gt;&quot; id=&quot;dsPopulateOS&quot; runat=&quot;server&quot; selectcommand=&quot;SELECT&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DISTINCT OS FROM tblServer&quot;&amp;gt;&amp;lt;/asp:sqldatasource&amp;gt;&amp;lt;/td&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;asp:dropdownlist appenddatabounditems=&quot;true&quot; autopostback=&quot;true&quot; datasourceid=&quot;dsPopulateType&quot; datavaluefield=&quot;Type&quot; font-size=&quot;11px&quot; id=&quot;ddlType&quot; runat=&quot;server&quot; width=&quot;130px&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:listitem text=&quot;All&quot; value=&quot;%&quot;&amp;gt;&amp;lt;/asp:listitem&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:sqldatasource connectionstring=&quot;&amp;amp;lt;%$ ConnectionStrings:Connection %&amp;amp;gt;&quot; id=&quot;dsPopulateType&quot; runat=&quot;server&quot; selectcommand=&quot;SELECT&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DISTINCT Type FROM tblServer&quot;&amp;gt;&amp;lt;/asp:sqldatasource&amp;gt;&amp;lt;/td&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;asp:dropdownlist appenddatabounditems=&quot;true&quot; autopostback=&quot;true&quot; datasourceid=&quot;dsPopulateStatus&quot; datavaluefield=&quot;Status&quot; font-size=&quot;11px&quot; id=&quot;ddlStatus&quot; runat=&quot;server&quot; width=&quot;130px&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:listitem text=&quot;All&quot; value=&quot;%&quot;&amp;gt;&amp;lt;/asp:listitem&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:sqldatasource connectionstring=&quot;&amp;amp;lt;%$ ConnectionStrings:Connection %&amp;amp;gt;&quot; id=&quot;dsPopulateStatus&quot; runat=&quot;server&quot; selectcommand=&quot;SELECT&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DISTINCT Status FROM tblServer&quot;&amp;gt;&amp;lt;/asp:sqldatasource&amp;gt;&amp;lt;/td&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;asp:dropdownlist appenddatabounditems=&quot;true&quot; autopostback=&quot;true&quot; datasourceid=&quot;dsPopulateActionType&quot; datavaluefield=&quot;ActionType&quot; font-size=&quot;11px&quot; id=&quot;ddlActionType&quot; runat=&quot;server&quot; width=&quot;130px&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:listitem text=&quot;All&quot; value=&quot;%&quot;&amp;gt;&amp;lt;/asp:listitem&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:sqldatasource connectionstring=&quot;&amp;amp;lt;%$ ConnectionStrings:Connection %&amp;amp;gt;&quot; id=&quot;dsPopulateActionType&quot; runat=&quot;server&quot; selectcommand=&quot;SELECT&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DISTINCT ActionType FROM tblServer&quot;&amp;gt;&amp;lt;/asp:sqldatasource&amp;gt;&amp;lt;/td&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;asp:gridview allowsorting=&quot;True&quot; autogeneratecolumns=&quot;False&quot; cellpadding=&quot;3&quot; datakeynames=&quot;Id&quot; datasourceid=&quot;SqlDataSource1&quot; id=&quot;GridView1&quot; pageindex=&quot;1&quot; pagesize=&quot;100&quot; runat=&quot;server&quot; width=&quot;95%&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;alternatingrowstyle backcolor=&quot;#B6CFA5&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;columns&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:templatefield headertext=&quot;Select&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:checkbox id=&quot;chkSelect&quot; runat=&quot;server&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:checkbox&amp;gt;&amp;lt;/itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:templatefield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:boundfield datafield=&quot;Id&quot; headertext=&quot;ID&quot; readonly=&quot;true&quot; sortexpression=&quot;Id&quot; visible=&quot;true&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:boundfield controlstyle-cssclass=&quot;cssWdth&quot; datafield=&quot;Hostname&quot; headertext=&quot;Hostname&quot; sortexpression=&quot;Hostname&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:boundfield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:boundfield controlstyle-cssclass=&quot;cssWdth&quot; datafield=&quot;IP_Address&quot; headertext=&quot;IP_Address&quot; sortexpression=&quot;IP_Address&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:boundfield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:templatefield headerstyle-horizontalalign=&quot;Left&quot; headertext=&quot;Owner&quot; sortexpression=&quot;Owner&quot;&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;edititemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:dropdownlist appenddatabounditems=&quot;true&quot; autopostback=&quot;false&quot; cssclass=&quot;cssWdth&quot; datasourceid=&quot;dsPopulateOwner_Name&quot; datatextfield=&quot;UNAME&quot; datavaluefield=&quot;UID&quot; id=&quot;ddlEditOwner_Name&quot; runat=&quot;server&quot; selectedvalue=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;Owner&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/edititemtemplate&amp;gt; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;itemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:label id=&quot;lblOwner_Name&quot; runat=&quot;server&quot; text=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;Owner_Name&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&amp;lt;/asp:label&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:templatefield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:templatefield headerstyle-horizontalalign=&quot;Left&quot; headertext=&quot;OS&quot; sortexpression=&quot;OS&quot;&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;edititemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:dropdownlist cssclass=&quot;cssWdth&quot; datasourceid=&quot;dsPopulateOS&quot; datatextfield=&quot;OS&quot; datavaluefield=&quot;OS&quot; id=&quot;ddlEditOS&quot; runat=&quot;server&quot; selectedvalue=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;OS&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/edititemtemplate&amp;gt; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;itemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:label id=&quot;lblOS&quot; runat=&quot;server&quot; text=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;OS&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&amp;lt;/asp:label&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:templatefield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:templatefield headerstyle-horizontalalign=&quot;Left&quot; headertext=&quot;Type&quot; sortexpression=&quot;Type&quot;&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;edititemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:dropdownlist cssclass=&quot;cssWdth&quot; datasourceid=&quot;dsPopulateType&quot; datatextfield=&quot;Type&quot; datavaluefield=&quot;Type&quot; id=&quot;ddlEditType&quot; runat=&quot;server&quot; selectedvalue=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;Type&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/edititemtemplate&amp;gt; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;itemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:label id=&quot;lblType&quot; runat=&quot;server&quot; text=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;Type&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&amp;lt;/asp:label&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:templatefield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:templatefield headerstyle-horizontalalign=&quot;Left&quot; headertext=&quot;Status&quot; sortexpression=&quot;Status&quot;&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;edititemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:dropdownlist cssclass=&quot;cssWdth&quot; datasourceid=&quot;dsPopulateStatus&quot; datatextfield=&quot;Status&quot; datavaluefield=&quot;Status&quot; id=&quot;ddlEditStatus&quot; runat=&quot;server&quot; selectedvalue=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;Status&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/edititemtemplate&amp;gt; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;itemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:label id=&quot;lblStatus&quot; runat=&quot;server&quot; text=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;Status&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&amp;lt;/asp:label&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:templatefield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:templatefield headerstyle-horizontalalign=&quot;Left&quot; headertext=&quot;ActionType&quot; sortexpression=&quot;ActionType&quot;&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;edititemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:dropdownlist appenddatabounditems=&quot;true&quot; autopostback=&quot;false&quot; cssclass=&quot;cssWdth&quot; datasourceid=&quot;dsPopulateActionType&quot; datatextfield=&quot;ActionType&quot; datavaluefield=&quot;ActionType&quot; id=&quot;ddlEditActionType&quot; runat=&quot;server&quot; selectedvalue=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;ActionType&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:dropdownlist&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/edititemtemplate&amp;gt; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;itemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:label id=&quot;lblActionType&quot; runat=&quot;server&quot; text=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;ActionType&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&amp;lt;/asp:label&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:templatefield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:templatefield headerstyle-horizontalalign=&quot;Left&quot; headertext=&quot;ActionDate&quot; sortexpression=&quot;ActionDate&quot;&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;edititemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:textbox cssclass=&quot;cssWdth&quot; id=&quot;TextBox2&quot; runat=&quot;server&quot; text=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;ActionDate&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&amp;lt;/asp:textbox&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ajaxtoolkit:calendarextender format=&quot;dd-MM-yyyy&quot; id=&quot;CalendarExtender2&quot; runat=&quot;server&quot; targetcontrolid=&quot;TextBox2&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ajaxtoolkit:calendarextender&amp;gt;&amp;lt;/edititemtemplate&amp;gt; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;itemtemplate&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:label id=&quot;lblActionDate&quot; runat=&quot;server&quot; text=&quot;&amp;amp;lt;%# Bind(&amp;amp;quot;ActionDate&amp;amp;quot;) %&amp;amp;gt;&quot;&amp;gt;&amp;lt;/asp:label&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/itemtemplate&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:templatefield&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:commandfield showeditbutton=&quot;True&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:commandfield&amp;gt;&amp;lt;/asp:boundfield&amp;gt;&amp;lt;/columns&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;editrowstyle backcolor=&quot;#FFCC99&quot; width=&quot;95%&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/editrowstyle&amp;gt;&amp;lt;/alternatingrowstyle&amp;gt;&amp;lt;/asp:gridview&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;code&amp;gt;&amp;lt;asp:button id=&quot;btnSelct&quot; onclick=&quot;GetSelected&quot; runat=&quot;server&quot; text=&quot;Edit selected records&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:button id=&quot;btnCancel&quot; postbackurl=&quot;~/Default.aspx&quot; runat=&quot;server&quot; text=&quot;Return&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:button&amp;gt;&amp;lt;/asp:button&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;code&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:sqldatasource connectionstring=&quot;&amp;amp;lt;%$ ConnectionStrings:Connection %&amp;amp;gt;&quot; filterexpression=&quot;Owner_Name like &#39;{0}%&#39; and OS like &#39;{1}%&#39; and Type like &#39;{2}%&#39; and Status like &#39;{3}%&#39; and ActionType like &#39;{4}%&#39;&quot; id=&quot;SqlDataSource1&quot; runat=&quot;server&quot; selectcommand=&quot;SELECT S.ID, S.HostName AS Hostname, S.IP AS IP_Address, U.Name AS Owner_Name, S.Owner, S.OS, S.Type, S.Status, S.ActionType, S.ActionDate&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FROM tblServer AS S INNER JOIN tblUser AS U ON S.Owner = U.Id&quot; updatecommand=&quot;UPDATE [tblServer]&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SET [HostName] = @HostName&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[IP] = @IP_Address&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[Owner] = @Owner&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[OS] = @OS&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[Type] = @Type&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[Status] = @Status&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ActionType] = @ActionType&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ActionDate] = @ActionDate&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ModifiedDate] = CURRENT_TIMESTAMP&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ModifiedBy] = @ModifiedBy&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE [Id] = @Id;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INSERT INTO [tblActivityLog]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;([ActionTimelog]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ActionCode]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ActionUserName]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerHostname]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerLocation]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerOS]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerType]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerOwner]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerStatus]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerFollowUpDate]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerActionType]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[ServerActionDate]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[UserLogin]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[UserName]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[UserType]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[UserStatus]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,[Notes])&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; values(&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CURRENT_TIMESTAMP&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@ActionCode&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@ModifiedBy&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@HostName&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&#39;&#39;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@OS&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@Type&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@Owner&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@Status&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&#39;&#39;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@ActionType&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@ActionDate&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@ModifiedBy&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,@ModifiedBy&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&#39;&#39;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&#39;&#39;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&#39;&#39;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filterparameters&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:controlparameter controlid=&quot;ddlOwner_Name&quot; name=&quot;Name&quot; propertyname=&quot;SelectedItem.Text&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:controlparameter controlid=&quot;ddlOS&quot; name=&quot;OS&quot; propertyname=&quot;SelectedValue&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;asp:controlparameter controlid=&quot;ddlType&quot; name=&quot;Type&quot; propertyname=&quot;SelectedValue&quot;&amp;gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:controlparameter controlid=&quot;ddlStatus&quot; name=&quot;Status&quot; propertyname=&quot;SelectedValue&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:controlparameter controlid=&quot;ddlActionType&quot; name=&quot;ActionType&quot; propertyname=&quot;SelectedValue&quot;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:controlparameter&amp;gt;&amp;lt;/asp:controlparameter&amp;gt;&amp;lt;/asp:controlparameter&amp;gt;&amp;lt;/asp:controlparameter&amp;gt;&amp;lt;/asp:controlparameter&amp;gt;&amp;lt;/filterparameters&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;updateparameters&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;Id&quot; type=&quot;Int32&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;HostName&quot; type=&quot;String&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;IP_Address&quot; type=&quot;String&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;Owner&quot; type=&quot;Int32&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;OS&quot; type=&quot;String&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;Type&quot; type=&quot;String&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;Status&quot; type=&quot;String&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;ActionType&quot; type=&quot;String&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter name=&quot;ActionDate&quot; type=&quot;DateTime&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter defaultvalue=&quot;UnKnown&quot; name=&quot;ModifiedBy&quot; type=&quot;string&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;asp:parameter defaultvalue=&quot;UPD&quot; name=&quot;ActionCode&quot; type=&quot;string&quot;&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/asp:parameter&amp;gt;&amp;lt;/updateparameters&amp;gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/asp:sqldatasource&amp;gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/2346888598573872925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/10/aspnet-almost-complete-use-of-datagrid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/2346888598573872925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/2346888598573872925'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/10/aspnet-almost-complete-use-of-datagrid.html' title='ASP.NET - Almost complete use of Datagrid'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-4711363034800402703</id><published>2012-08-10T03:32:00.000-07:00</published><updated>2012-08-10T03:32:52.210-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Get Alphabets"/><category scheme="http://www.blogger.com/atom/ns#" term="MSSQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Pad Zeroes"/><category scheme="http://www.blogger.com/atom/ns#" term="Parsename"/><category scheme="http://www.blogger.com/atom/ns#" term="Split"/><category scheme="http://www.blogger.com/atom/ns#" term="Substring"/><title type='text'>MSSQL Split, Pad Zeroes, Get Alphabets, and Substring</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Got a request to create a data table get from some existing data to some required data formatting.&lt;br /&gt;
The Source data is like &#39;C10 L1_B21773197D.xls&#39;, &#39;EV1 L1_B21773602F.xls&#39;, &#39;EV116 L1_B21773659G.xls&#39;, etc.&lt;br /&gt;
The following were the requirements.&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 0cm 0cm 0cm; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 95.4pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;CategoryCode&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.5pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 90.0pt;&quot; valign=&quot;top&quot; width=&quot;120&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;NVARCHAR(10)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 72.0pt;&quot; valign=&quot;top&quot; width=&quot;96&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;C&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 171.0pt;&quot; valign=&quot;top&quot; width=&quot;228&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Contained in legacy data file name &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Sample legacy data file name : “&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: blue; color: orange;&quot;&gt;C&lt;/span&gt;10 L1_B21773197D&lt;/span&gt;” &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo3; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Alphabets
  prior to Numeric characters)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 90.4pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 90.4pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 95.4pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;FolderNo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 90.4pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.5pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 90.4pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 90.0pt;&quot; valign=&quot;top&quot; width=&quot;120&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;VARCHAR(10)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 90.4pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 72.0pt;&quot; valign=&quot;top&quot; width=&quot;96&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;C001&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 90.4pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 171.0pt;&quot; valign=&quot;top&quot; width=&quot;228&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Contained in legacy data file name &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Sample legacy data file name : “&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;C&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: blue; color: orange;&quot;&gt;10&lt;/span&gt; L1_B21773197D&lt;/span&gt;” &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;convert
  numeric characters prior to “white space” to a 3 digit number (e.g. “1”
  --&amp;gt; “001”)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Append
  3 digit number to Category Code &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 95.4pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;VolumeNo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.5pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 90.0pt;&quot; valign=&quot;top&quot; width=&quot;120&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;VARCHAR(10)&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 72.0pt;&quot; valign=&quot;top&quot; width=&quot;96&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;C001L01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 171.0pt;&quot; valign=&quot;top&quot; width=&quot;228&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Contained in legacy data file name &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Sample legacy data file name : “&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;C10 L1_B21773197D&lt;/span&gt;” &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Extract
  the 2&lt;sup&gt;nd&lt;/sup&gt; occurrence of an Alphabets in File Name after “white
  Space” (It will be value L or V)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;convert
  the numeric characters prior to “_”to a 2 digit number (e.g. “1” --&amp;gt; “01”)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Append
  the 2 digit number (step2) to Alphabet (step1) to get volume code like L01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Append
  volume code to Folder No to get Volume No like C001L01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 95.4pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;VolumeBarcode&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.5pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 90.0pt;&quot; valign=&quot;top&quot; width=&quot;120&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;VARCHAR(12)&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 72.0pt;&quot; valign=&quot;top&quot; width=&quot;96&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;B21773203C&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 171.0pt;&quot; valign=&quot;top&quot; width=&quot;228&quot;&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Contained in legacy data file name &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;Sample legacy data file name : “&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;C10 L1_B21773197D&lt;/span&gt;” &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo2; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Symbol; mso-ansi-language: EN-GB; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-GB;&quot;&gt;The 10 Alphanumeric characters after “_”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
I created a temporary table with required values and get the desired data on another SELECT.&lt;br /&gt;
Follows the SQL statements.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
SELECT SUBSTRING([Filename],1,(len([Filename]) - 4)) as TFilename&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;--This line will remove the file extension&amp;nbsp;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
 &amp;nbsp;,dbo.f_get_alphabets(PARSENAME(REPLACE(SUBSTRING([Filename],1,(len([Filename]) - 4)), &#39; &#39;, &#39;.&#39;), 2)) as Code -- This is to get only the alphabets from first portion&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
,dbo.f_get_numbers(PARSENAME(REPLACE(SUBSTRING([Filename],1,(len([Filename]) - 4)), &#39; &#39;, &#39;.&#39;), 2)) AS TCat --This is to get only the numbers from first portion&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
,PARSENAME(REPLACE(SUBSTRING([Filename],1,(len([Filename]) - 4)), &#39; &#39;, &#39;.&#39;), 1) as Vol -- This part is to get the second portion&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
into #TempLD -- Store data into temp table&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
FROM [dbo].[SourceTable]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; SELECT&amp;nbsp;Code as CategoryCode,&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Code + RIGHT(&#39;000&#39;+ TCat, 3) as FolderNo, -- Padding Zeroes infront to make it 3 digit number with zeroes in front&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; Code + RIGHT(&#39;000&#39;+ TCat, 3) + LEFT(PARSENAME(REPLACE(Vol, &#39;_&#39;, &#39;.&#39;), 2),1)+RIGHT(&#39;00&#39;+ RIGHT(PARSENAME(REPLACE(Vol, &#39;_&#39;, &#39;.&#39;), 2),1),2) as VolumeNo, -- Padded numbers and Alphabets concatenated to make the desired string&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; PARSENAME(REPLACE(Vol, &#39;_&#39;, &#39;.&#39;), 1) as VolumeBarcode, -- Split the portion behind _ character&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; from #TempLD&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
Follow is the function used on the above query. For numbers, the IF condition would be changed as&amp;nbsp;@code between 48 and 57.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
CREATE FUNCTION [dbo].[f_get_alphabets](&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @string &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;varchar(255)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
) RETURNS varchar(255)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
BEGIN&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; DECLARE @newstring varchar(255)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; DECLARE @num int&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; DECLARE @code int&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;SELECT @newstring = &#39;&#39;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; SELECT @num = 1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; WHILE @num &amp;lt; LEN(@string)+1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; BEGIN&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SET @code = ASCII(SUBSTRING(@string, @num, 1))&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --- ascii: 48-57 (numbers 0-9)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --- ascii: 65-90 (uppercase letters A-Z)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --- ascii: 97-122 (lowercase letters a-z)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF (@code between 65 and 90) or (@code between 97 and 122)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BEGIN&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SET @newstring = @newstring + SUBSTRING(@string, @num, 1)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; END&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;SET @num = @num + 1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; END&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;RETURN @newstring&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
END&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/4711363034800402703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/08/mssql-split-pad-zeroes-get-alphabets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/4711363034800402703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/4711363034800402703'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2012/08/mssql-split-pad-zeroes-get-alphabets.html' title='MSSQL Split, Pad Zeroes, Get Alphabets, and Substring'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-1837343114895830486</id><published>2010-09-29T23:40:00.000-07:00</published><updated>2010-09-29T23:40:58.154-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="crontab"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="mysqldump"/><title type='text'>MySQL Dump cronjob on linux server</title><content type='html'>Creating mysql dump for production databases is very important. In case of any failure or malefic attack on DB, The only way to restore to previous state is by having proper mysql dump file. Follows an example mysql dump shell script with auto naming with dumping time stamp. Its important to create the shell scripts in unix mode, if you create on a PC, It&#39;ll add some unwanted character encoding, and it&#39;ll lead to some erroneous response on the script. &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;
today=`date +%Y%m%d%H%M`&lt;br /&gt;
backup=&quot;cmtdbbackup-$today.sql&quot;&lt;br /&gt;
mysqldump -u user -ppassword mydb &amp;gt; /apps/mysql_dump/$backup&lt;br /&gt;
&lt;/blockquote&gt;Its important to create the shell script carefully. No spaces, unless its required. in between -u and user name, there is a space, but no space between -p and password. As per the usage of system, we can decide on which interval the cronjob could be set. normally the format of a crontab entry is like the following.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;* * * * * /apps/scripts/scheduled_job.sh &amp;gt;&amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;/blockquote&gt;&amp;nbsp;Here the first 5 portions are the timing interval markers (Minute (0-59), Hour (2-24), Day of month (1-31), Month (1-12, Jan, Feb, etc), Day of week (0-6) 0 = Sunday, 1 = Monday etc or Sun, Mon etc). next to those is the script to run. The &#39;&amp;gt;&amp;gt; /dev/null 2&amp;gt;&amp;amp;1&#39; part means to send any standard output to /dev/null (the linux trash can) and to redirect standard error (2) to the same place as the standard output (1). Basically it runs the command without any output to a terminal.&lt;br /&gt;
&lt;br /&gt;
If you want to run the script for some specific times only, lets say you want to run it on 4 pm and 8 pm, the timers looks like the following&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt; 0 16,20 * * *&lt;/blockquote&gt;&lt;br /&gt;
if you want to run the script only in week days, the timers will be look like the following.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;0 16,20 * * 1,2,3,4,5&lt;/blockquote&gt;&lt;br /&gt;
If you run more than one script, better give them as seperate jobs.</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/1837343114895830486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/09/mysql-dump-cronjob-on-linux-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/1837343114895830486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/1837343114895830486'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/09/mysql-dump-cronjob-on-linux-server.html' title='MySQL Dump cronjob on linux server'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-5320554725196186717</id><published>2010-09-20T21:12:00.000-07:00</published><updated>2010-09-20T22:00:40.080-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="SOAP::LITE"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Services"/><title type='text'>building SOAP object in perl to call a web service</title><content type='html'>Follows an example perl script snippet structure to build SOAP object to call a web service&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Use the required library&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;use SOAP::Lite +trace =&amp;gt; &#39;debug&#39;;&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;Define the SOAP object&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;my $soap = SOAP::Lite&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; uri(&#39;http://localhost:1325/WSImpl/&#39;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; on_action( sub { return &#39;&quot;http://www.example.com/ws/MaterialService:updateMaterialIn&quot;&#39; } )&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; proxy(&#39;http://localhost:1325/WSImpl/MaterialService.asmx&#39;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; on_fault(sub { my($soap, $res) = @_; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;die ref $res ? $res-&amp;gt;faultdetail : $soap-&amp;gt;transport-&amp;gt;status, &quot;\n&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; });&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;Define the SOAP method&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;my $method = SOAP::Data-&amp;gt;name(&#39;UpdateMaterialRequest&#39;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;attr({xmlns =&amp;gt; &#39;http://www.example.com/ws/MaterialService&#39;});&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;Build the SOAP query data&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;my $query = SOAP::Data-&amp;gt;value(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SOAP::Data-&amp;gt;name(ServiceTags =&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; \SOAP::Data-&amp;gt;value(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; SOAP::Data-&amp;gt;name(UserName =&amp;gt; &#39;&#39;),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; SOAP::Data-&amp;gt;name(Pwd =&amp;gt; &#39;&#39;))),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; SOAP::Data-&amp;gt;name(Details =&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; \SOAP::Data-&amp;gt;value(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SOAP::Data-&amp;gt;name(DetailsName =&amp;gt; Name )&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; );&amp;nbsp; &lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;Make the Call&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;$result = $soap-&amp;gt;call($method =&amp;gt; $query);&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;Read the resultant data&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;my $statusmes = $result-&amp;gt;valueof(&#39;//GetResponse/Status&#39;);&lt;/blockquote&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/5320554725196186717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/09/building-soap-object-in-perl-to-call.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/5320554725196186717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/5320554725196186717'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/09/building-soap-object-in-perl-to-call.html' title='building SOAP object in perl to call a web service'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-5368447255201990747</id><published>2010-06-18T02:07:00.000-07:00</published><updated>2010-06-18T02:07:40.301-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="text parsing"/><title type='text'>Perl: Read Text Files and Filter Data</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;Perl is the language for text manipulation. Its designed in a way, to handle the data in whatever the format, and process out the data into the desired format. Lets see some text processing examples from an external text file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;Step One:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;Open a text file for reading,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&amp;nbsp;#!/usr/bin/perl&lt;br /&gt;
&amp;nbsp;open (FILE, &#39;data.txt&#39;);&lt;br /&gt;
&amp;nbsp;while (&lt;file&gt;) {&lt;/file&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; chomp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; print $_;&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;close (FILE);&lt;br /&gt;
&amp;nbsp;exit;&lt;br /&gt;
&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/5368447255201990747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/06/perl-read-text-files-and-filter-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/5368447255201990747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/5368447255201990747'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/06/perl-read-text-files-and-filter-data.html' title='Perl: Read Text Files and Filter Data'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-6554727048977496913</id><published>2010-06-07T08:07:00.000-07:00</published><updated>2010-06-07T08:07:04.437-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ceil"/><category scheme="http://www.blogger.com/atom/ns#" term="floor"/><category scheme="http://www.blogger.com/atom/ns#" term="round"/><title type='text'>Round the float</title><content type='html'>There are 3 types of rounding a float to integer is applicable in any language. we programmers will come across such situation in every project. the three types are,&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;round to next bigger integer, with not considering the&amp;nbsp;decimal value.&lt;/li&gt;
&lt;li&gt;round to the next smaller integer,&amp;nbsp;with not considering the&amp;nbsp;decimal value.&lt;/li&gt;
&lt;li&gt;round the float according to the value of decimal value, the real round of float number.&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;The rounding methods depend on which scenario we need the round function.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Follows the examples of php rounding methods.&lt;/div&gt;&lt;div&gt;for the case 1, rounding to the next big integer, we use&amp;nbsp;&lt;code&gt;&lt;a href=&quot;http://www.php.net/manual/en/function.ceil.php&quot;&gt;ceil()&lt;/a&gt;&lt;/code&gt; function&lt;/div&gt;&lt;div&gt;Example :&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;code&gt;$rounded_value = ceil($floor_value);&lt;/code&gt;&lt;/div&gt;&lt;div&gt;if rounded the following values, the results are like shown&lt;/div&gt;&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;2 = ceil(1.3)&lt;/div&gt;&lt;div&gt;2 = ceil(1.5)&lt;/div&gt;&lt;div&gt;2 = ceil(1.7)&lt;/div&gt;&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;for the case 2, round to the next small integer, we could use &lt;code&gt;&lt;a href=&quot;http://www.php.net/manual/en/function.floor.php&quot;&gt;floor()&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;&lt;div&gt;Example:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;$rounded_value = floor($floor_value);&lt;/code&gt;&lt;/div&gt;&lt;div&gt;if rounded the following values, the results are like shown&lt;/div&gt;&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;1 = floor(1.3)&lt;/div&gt;&lt;div&gt;1 = floor(1.5)&lt;/div&gt;&lt;div&gt;1 = floor(1.7)&lt;/div&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;/code&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;for the case 3, round as per the decimal value, we could use &lt;code&gt;&lt;a href=&quot;http://php.net/manual/en/function.round.php&quot;&gt;round()&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;&lt;div&gt;Example:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;code&gt;$rounded_value = round($floor_value);&lt;/code&gt;&lt;/div&gt;&lt;div&gt;if rounded the following values, the results are like shown&lt;/div&gt;&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;1 = round(1.3)&lt;/div&gt;&lt;div&gt;2&amp;nbsp;= round(1.5)&lt;/div&gt;&lt;div&gt;2 = round(1.7)&lt;/div&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;/code&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.amazon.com/Wicked-Cool-PHP-Real-World-Difficult/dp/1593271735?ie=UTF8&amp;amp;tag=latest0b-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=1593271735&amp;amp;tag=latest0b-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=latest0b-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=1593271735&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;/code&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/6554727048977496913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/06/round-float.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/6554727048977496913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/6554727048977496913'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/06/round-float.html' title='Round the float'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-8618556396424840302</id><published>2010-05-18T01:14:00.000-07:00</published><updated>2010-05-20T18:49:55.607-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><title type='text'>posting code snippets to blogger</title><content type='html'>When you try to post any code snippet, which related to web applications, If you directly include them into the post with blockquotes, you could never say whether its going to display as it is. because the browser transforms the html code as per the tags. So, its important to post the code with the correct formats.&amp;nbsp;There is a cool site, which converts code snippets to cope with posting on a blog page.&lt;br /&gt;
&lt;br /&gt;
The interface is like the following.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWintbDVCuG6w0VVh6NOykfivloJlz-UxYiyVci0Ssa7hmerg9xJbsKgWqxsy38g97zQ_KxDRL5V7lktBoxjE2qcCX6QaLXwHgYsu0ujQv6LE8EX7rq0-DVg-xZMwi3jdNu7vTOLMlQBY/s1600/first_page.jpg&quot; imageanchor=&quot;1&quot; rel=&quot;lightbox[Code Converter]&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Code Converter Page&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWintbDVCuG6w0VVh6NOykfivloJlz-UxYiyVci0Ssa7hmerg9xJbsKgWqxsy38g97zQ_KxDRL5V7lktBoxjE2qcCX6QaLXwHgYsu0ujQv6LE8EX7rq0-DVg-xZMwi3jdNu7vTOLMlQBY/s400/first_page.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;you have to paste your code into &#39;Enter Markup&#39; text box, and click process, then the site will return the HTML safe code in the second text box, also you can see the preview of the code.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwI8MVXEKRGwjFhlz4h2LDo4niOYDYSzeYyp-tJskoBxpr1YxbXNCSlumgBmLf0FiH_0gxXZ0EhGJdIZZqExy7sPRI57LD0X5rW7kPEqJ_XMGw0Fmxk3CQ9HmyhVT38eFbTFu1TgQlKBI/s1600/second_page.jpg&quot; imageanchor=&quot;1&quot; rel=&quot;lightbox[Code Converter]&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Converted Code and preview&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwI8MVXEKRGwjFhlz4h2LDo4niOYDYSzeYyp-tJskoBxpr1YxbXNCSlumgBmLf0FiH_0gxXZ0EhGJdIZZqExy7sPRI57LD0X5rW7kPEqJ_XMGw0Fmxk3CQ9HmyhVT38eFbTFu1TgQlKBI/s400/second_page.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
This is the site name :&amp;nbsp;&lt;a href=&quot;http://www.simplebits.com/cgi-bin/simplecode.pl&quot;&gt;http://www.simplebits.com/cgi-bin/simplecode.pl&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.amazon.com/Blogger-Customize-templates-advertising-Technologies/dp/184719317X?ie=UTF8&amp;amp;tag=latest0b-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Blogger: Beyond the Basics: Customize and promote your blog with original templates, analytics, advertising, and SEO (From Technologies to Solutions)&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=184719317X&amp;amp;tag=latest0b-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=latest0b-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=184719317X&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.amazon.com/Google-Blogger-Dummies-Susan-Gunelius/dp/0470407425?ie=UTF8&amp;amp;tag=latest0b-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Google Blogger For Dummies&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=0470407425&amp;amp;tag=latest0b-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=latest0b-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0470407425&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Then you can cut and paste the code which returned on the second box to the required place with block quotes. So the code will be displayed correctly. There are also some advanced methods and styles to post the code snippet to the blogger also available, but for this method, you might not need to do any further change on code.</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/8618556396424840302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/05/posting-code-snippets-to-blogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/8618556396424840302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/8618556396424840302'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/05/posting-code-snippets-to-blogger.html' title='posting code snippets to blogger'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWintbDVCuG6w0VVh6NOykfivloJlz-UxYiyVci0Ssa7hmerg9xJbsKgWqxsy38g97zQ_KxDRL5V7lktBoxjE2qcCX6QaLXwHgYsu0ujQv6LE8EX7rq0-DVg-xZMwi3jdNu7vTOLMlQBY/s72-c/first_page.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-4911778563663158724</id><published>2010-05-17T23:24:00.000-07:00</published><updated>2010-05-20T00:03:35.939-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="lightbox"/><title type='text'>lightbox Image viewer for blogger</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Its normally very hard with blogger pages when we click on an image. It opens the image on the browser.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;When i roam around to find any alternative to show the pictures on a&amp;nbsp;separate&amp;nbsp;shadow pop-up, I found some cool script which uses&amp;nbsp;scriptaculous&amp;nbsp;and prototype. Follows the steps.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Login to your blogger Layout&lt;/li&gt;
&lt;li&gt;Click on Edit HTML&lt;/li&gt;
&lt;li&gt;Find the &lt;code&gt;&amp;lt;/head&amp;gt;&lt;/code&gt; tag and replace it with the following&lt;/li&gt;
&lt;/ol&gt;&lt;blockquote&gt;&lt;code&gt;&lt;br /&gt;
&amp;lt;!--Light Box Code Starts--&amp;gt;&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
#lightbox{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;position: absolute;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}&lt;br /&gt;
#lightbox img{ width: auto; height: auto;}&lt;br /&gt;
#lightbox a img{ border: none; }&lt;br /&gt;
#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }&lt;br /&gt;
#imageContainer{ padding: 10px; }&lt;br /&gt;
#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }&lt;br /&gt;
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }&lt;br /&gt;
#imageContainer&amp;gt;#hoverNav{ left: 0;}&lt;br /&gt;
#hoverNav a{ outline: none;}&lt;br /&gt;
#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }&lt;br /&gt;
#prevLink { left: 0; float: left;}&lt;br /&gt;
#nextLink { right: 0; float: right;}&lt;br /&gt;
#prevLink:hover, #prevLink:visited:hover { background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC_yJAcOEkSEMz9nY1plUueDm9hAXs6a0pWpd0KLS-LOBCP2tkrwWNSguDFamzeOZI92Xa-8Qfrq0ec54ykqVTr9V69AXDtTjUZzU-zNJee1jiSDalmSIfMPMwV80_ZTV51dEaaPQrdJQ/) left 15% no-repeat; }&lt;br /&gt;
#nextLink:hover, #nextLink:visited:hover { background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiv_400Cc-0KEv58lTiWdFIeMMqvQkpFmtgMpfI2uxvEZdi9qAO3rc_Exfvz0cmp63F9T136P5qbcN5xGsnSj4unLgo4CIbrXSz1sRqGnxfeGI5divmuq_bfVej8t9beLZXBua5DsdcXE/) right 15% no-repeat; }&lt;br /&gt;
#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;; }&lt;br /&gt;
#imageData{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;padding:0 10px; color: #666; }&lt;br /&gt;
#imageData #imageDetails{ width: 70%; float: left; text-align: left; } &lt;br /&gt;
#imageData #caption{ font-weight: bold;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
#imageData #bottomNavClose{ width: 66px; float: right;&amp;nbsp;&amp;nbsp;padding-bottom: 0.7em; outline: none;}&lt;br /&gt;
#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }&lt;br /&gt;
round-color: #000; }&lt;br /&gt;
lute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }&lt;br /&gt;
round-color: #000; }&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;script src=&#39;http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js&#39; type=&#39;text/javascript&#39;/&amp;gt;&lt;br /&gt;
&amp;lt;script src=&#39;http://script.aculo.us/scriptaculous.js&#39; type=&#39;text/javascript&#39;/&amp;gt;&lt;br /&gt;
&amp;lt;script src=&#39;http://blogergadgets.googlecode.com/files/lightbox.js&#39; type=&#39;text/javascript&#39;/&amp;gt;&lt;br /&gt;
&amp;lt;!--Light Box Code Ends--&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
Now you have enabled javascript based lightbox.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.amazon.com/Google-Blogger-Dummies-Susan-Gunelius/dp/0470407425?ie=UTF8&amp;amp;tag=latest0b-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Google Blogger For Dummies&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=0470407425&amp;amp;tag=latest0b-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=latest0b-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0470407425&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.amazon.com/Creating-Websites-Blogger-Clarence-Galapon/dp/055706645X?ie=UTF8&amp;amp;tag=latest0b-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creating Unique Websites With Blogger&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=055706645X&amp;amp;tag=latest0b-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=latest0b-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=055706645X&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.amazon.com/ProBlogger-Secrets-Blogging-Six-Figure-Income/dp/0470246677?ie=UTF8&amp;amp;tag=latest0b-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;ProBlogger: Secrets for Blogging Your Way to a Six-Figure Income&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=0470246677&amp;amp;tag=latest0b-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=latest0b-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0470246677&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
To enable this to the images you upload, do the following&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Insert Image&lt;/li&gt;
&lt;li&gt;Switch the editor to &#39;Edit HTML&#39;&lt;/li&gt;
&lt;/ol&gt;There is an anchor tag for each of the picture you uploaded.&lt;br /&gt;
Insert the following code if you want to open the image as separate one ( there is no next, prev)&lt;br /&gt;
&lt;blockquote&gt;rel = &quot;lightbox&quot; title = &quot;Caption of your Image&quot;&lt;/blockquote&gt;Insert the following code, if your image is part of an album (set of images)&lt;br /&gt;
&lt;blockquote&gt;&amp;nbsp;rel = &quot;lightbox[album_name]&quot; title = &quot;Caption of your Image&quot;&lt;/blockquote&gt;Sometimes, the image is too bigger for showing on the window. To handle that, Check the &#39;href&#39; value of the anchor. There you can find something like &#39;/s1600&#39; (if you found &#39;/s1600-h&#39;, remove &#39;-h&#39;). s1600 means the x-large or original size of the image. so you can replace it with &#39;/s640&#39;, which is suitable within the monitor.&lt;br /&gt;
&lt;br /&gt;
Examples&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Single Image&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbyfO8TaUiCROW5KaTt-3tVuDLmtLE_cNKgnCgKGuitPVAV0W3NYrLFlNwmhX3UwHA0XFOHLf2FoQkyQMOqkzpWNgTWQUzRdnkbqjW1jkNi50YKBu731COIEqxkWpiwigX2jCTW_C2cjU/s1600/2006081421153445.jpg&quot; imageanchor=&quot;1&quot; rel=&quot;lightbox&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Single Image&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbyfO8TaUiCROW5KaTt-3tVuDLmtLE_cNKgnCgKGuitPVAV0W3NYrLFlNwmhX3UwHA0XFOHLf2FoQkyQMOqkzpWNgTWQUzRdnkbqjW1jkNi50YKBu731COIEqxkWpiwigX2jCTW_C2cjU/s400/2006081421153445.jpg&quot; width=&quot;283&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Album Images&lt;br /&gt;
&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8lDOXMqCoC-Si3d5YXRFXkJ_h8x5RFIwvC0FC1zD33yfET3nCBrrx80pqeHg66lqSuknQr5rcQI7DFkLn5QysrtlfHHOLr7oyngr0ayC7gjCU-KoOMP-Gw2077-Bev04mbCW_litj2kg/s640/26012010+011.jpg&quot; imageanchor=&quot;1&quot; rel=&quot;lightbox[Open Album]&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Album Image&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8lDOXMqCoC-Si3d5YXRFXkJ_h8x5RFIwvC0FC1zD33yfET3nCBrrx80pqeHg66lqSuknQr5rcQI7DFkLn5QysrtlfHHOLr7oyngr0ayC7gjCU-KoOMP-Gw2077-Bev04mbCW_litj2kg/s400/26012010+011.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8vMiLN0z5qER3cF5TcLOB7d296DnBvPidaTENMBu56sQxApKINCL8ItYUZ_uBYnvPmWIRJBHMZREJYgPUBMzB3CiFMjmL8EmOolYXeAV8d3n94OeDPmpT2b_5UP3nHOT9rnPrp4IFXgc/s640/26012010+015.jpg&quot; imageanchor=&quot;1&quot; rel=&quot;lightbox[Open Album]&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Album Image&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8vMiLN0z5qER3cF5TcLOB7d296DnBvPidaTENMBu56sQxApKINCL8ItYUZ_uBYnvPmWIRJBHMZREJYgPUBMzB3CiFMjmL8EmOolYXeAV8d3n94OeDPmpT2b_5UP3nHOT9rnPrp4IFXgc/s400/26012010+015.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3YoNf63sjvCUq78tG2YKs4N-KUep575AWQ0KLVlcfAXST_bv6e0MR9QG0zO2VZCTnOAQOi5zym9TYvWgNbCpJMFQtVFYmuXFR2cBV_fdu6K6e7qRRrpkdR7hOg4SrqATQd4rHS_2UN08/s640/26012010+010.jpg&quot; imageanchor=&quot;1&quot; rel=&quot;lightbox[Open Album]&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Album Image&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3YoNf63sjvCUq78tG2YKs4N-KUep575AWQ0KLVlcfAXST_bv6e0MR9QG0zO2VZCTnOAQOi5zym9TYvWgNbCpJMFQtVFYmuXFR2cBV_fdu6K6e7qRRrpkdR7hOg4SrqATQd4rHS_2UN08/s400/26012010+010.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfXyMIilh4FTzB8uV8PhpLey_WxctXb4T-qtu-CvEeUzLHIURiSJoaNbxXB97Vfkx0mxUDVMQ1mnYGKAbyAbAbdeMuBVjBYm8BwDR_3vFaDpSddP4-hkbMLmHl27g-aC2bTwBYWsAIKSE/s640/26012010+012.jpg&quot; imageanchor=&quot;1&quot; rel=&quot;lightbox[Open Album]&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Album Image&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfXyMIilh4FTzB8uV8PhpLey_WxctXb4T-qtu-CvEeUzLHIURiSJoaNbxXB97Vfkx0mxUDVMQ1mnYGKAbyAbAbdeMuBVjBYm8BwDR_3vFaDpSddP4-hkbMLmHl27g-aC2bTwBYWsAIKSE/s400/26012010+012.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/4911778563663158724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/05/lightbox-image-viewer-for-blogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/4911778563663158724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/4911778563663158724'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2010/05/lightbox-image-viewer-for-blogger.html' title='lightbox Image viewer for blogger'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbyfO8TaUiCROW5KaTt-3tVuDLmtLE_cNKgnCgKGuitPVAV0W3NYrLFlNwmhX3UwHA0XFOHLf2FoQkyQMOqkzpWNgTWQUzRdnkbqjW1jkNi50YKBu731COIEqxkWpiwigX2jCTW_C2cjU/s72-c/2006081421153445.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-6708597508244202672</id><published>2009-10-01T23:32:00.000-07:00</published><updated>2009-10-01T23:32:15.473-07:00</updated><title type='text'>Good Perl Tutorial</title><content type='html'>I have attached here a nice perl &lt;a href=&quot;http://www.cbkihong.com/download/perltut.pdf&quot;&gt;tutorial&lt;/a&gt; from Chan Bernard Ki Hong.&lt;br /&gt;
&lt;br /&gt;
&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot; /&gt;&lt;!--Session data--&gt;&lt;input id=&quot;jsProxy&quot; onclick=&quot;jsCall();&quot; type=&quot;hidden&quot; /&gt;&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/6708597508244202672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2009/10/good-perl-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/6708597508244202672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/6708597508244202672'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2009/10/good-perl-tutorial.html' title='Good Perl Tutorial'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-8816096861419065908</id><published>2009-09-30T23:42:00.000-07:00</published><updated>2009-09-30T23:50:43.583-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="packages"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><title type='text'>Display the list of installed packages on perl</title><content type='html'>Lets say that you are using the external vendor&#39;s hosted environment or somehow you don&#39;t know the inner things on your perl installations. how do you check the installed packages on the server using perl script?&lt;br /&gt;&lt;br /&gt;I came through the same scenario when i intended to use CGI::Cookie Package. I was unable to check the package availability. then found the following script on web after some search and filter. when applied on my site, I got the full list of installed packages&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;use ExtUtils::Installed;&lt;br /&gt;my $instmod = ExtUtils::Installed-&gt;new();&lt;br /&gt;foreach my $module ($instmod-&gt;modules()) {&lt;br /&gt;  my $version = $instmod-&gt;version($module) || &quot;Version Not Found&quot;;&lt;br /&gt;  print &quot;$module — $version&lt;br&gt;&quot;;&lt;br /&gt;}&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;This piece of code returns the list of packages and their versions on the system.</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/8816096861419065908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2009/09/display-list-of-installed-packages-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/8816096861419065908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/8816096861419065908'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2009/09/display-list-of-installed-packages-on.html' title='Display the list of installed packages on perl'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-852074271274982505.post-3085655530933581733</id><published>2009-08-03T19:25:00.000-07:00</published><updated>2009-08-03T20:08:41.700-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="embed"/><category scheme="http://www.blogger.com/atom/ns#" term="pdf"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><title type='text'>perl : viewing pdf file out of web folder</title><content type='html'>How to view a pdf file on your web page?&lt;br /&gt;If the pdf file parked in a web folder like /cgi-bin/files/example.pdf, you can easily show it in a page using the following code&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;embed src=&quot;/cgi-bin/files/example.pdf#toolbar=0&amp;amp;navpanes=1&amp;amp;scrollbar=0&quot; width=&quot;100%&quot; height=&quot;500&quot;&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;so the page will show the pdf file embedded on the web page like the following&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvrS0viZWIK2XaeJEVl4PgUPUsnffLgOc65QUqxaTTVgeMLQgfj1ICqzO6ejASiVj8PWYqtxDJxRDtzNnbDQtPDP-X30iMLYnGO1GuDkmwnVSycP3keOWNY-dOuS61qG1Jz5MnyoZrifs/s1600-h/example1.PNG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 239px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvrS0viZWIK2XaeJEVl4PgUPUsnffLgOc65QUqxaTTVgeMLQgfj1ICqzO6ejASiVj8PWYqtxDJxRDtzNnbDQtPDP-X30iMLYnGO1GuDkmwnVSycP3keOWNY-dOuS61qG1Jz5MnyoZrifs/s320/example1.PNG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5365930597794186386&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;but lets say that, the pdf file is not accessible on web page, that means its parked out of web directory for the sake of security. then how to get the file viewed on the web page?&lt;br /&gt;&lt;br /&gt;I did the following thing to achieve showing the pdf file out of web directory for testing.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;created a tempfile handler within web directory&lt;br /&gt;&lt;blockquote&gt;use File::Temp qw/ tempfile /;&lt;br /&gt;use File::Copy;&lt;br /&gt;use File::Basename;&lt;br /&gt;&lt;br /&gt;my($fh, $fname) = tempfile(&#39;TEMP_XXXX&#39;, SUFFIX =&gt; &#39;.pdf&#39;, DIR =&gt;&#39;d:/Inetpub/cgi-bin/temp/&#39;);&lt;br /&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;copied the file to the temp file&lt;br /&gt;&lt;blockquote&gt;copy(&quot;d:/files/example.pdf&quot;,&quot;$fname&quot;) or die &quot;Copy failed: $!&quot;;&lt;br /&gt;$output_file = &quot;temp/&quot;.basename($fname);&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;embedded the temp file on the web page&lt;br /&gt;&lt;blockquote&gt;&amp;lt; embed src=&quot;$output_file#toolbar=0&amp;amp;navpanes=1&amp;amp;scrollbar=0&quot; width=&quot;100%&quot; height=&quot;500&quot; &amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Now the page shows the pdf file out of web folder.  one more thing to consider on this is to remove the temp file after usage. by default, the temp file will be removed if application closed. but its better to unlink them after session ends.&lt;br /&gt;this method is not preferred to show secured documents.&lt;br /&gt;&lt;br /&gt;cheers!&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvrS0viZWIK2XaeJEVl4PgUPUsnffLgOc65QUqxaTTVgeMLQgfj1ICqzO6ejASiVj8PWYqtxDJxRDtzNnbDQtPDP-X30iMLYnGO1GuDkmwnVSycP3keOWNY-dOuS61qG1Jz5MnyoZrifs/s1600-h/example1.PNG&quot;&gt;&lt;/a&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot;&gt;&lt;!--Session data--&gt;&lt;input onclick=&quot;jsCall();&quot; id=&quot;jsProxy&quot; type=&quot;hidden&quot;&gt;&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot;&gt;&lt;!--Session data--&gt;&lt;input onclick=&quot;jsCall();&quot; id=&quot;jsProxy&quot; type=&quot;hidden&quot;&gt;&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;&lt;input id=&quot;gwProxy&quot; type=&quot;hidden&quot;&gt;&lt;!--Session data--&gt;&lt;input onclick=&quot;jsCall();&quot; id=&quot;jsProxy&quot; type=&quot;hidden&quot;&gt;&lt;div id=&quot;refHTML&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensoftwaresystems.blogspot.com/feeds/3085655530933581733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensoftwaresystems.blogspot.com/2009/08/perl-viewing-pdf-file-out-of-web-folder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/3085655530933581733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/852074271274982505/posts/default/3085655530933581733'/><link rel='alternate' type='text/html' href='http://opensoftwaresystems.blogspot.com/2009/08/perl-viewing-pdf-file-out-of-web-folder.html' title='perl : viewing pdf file out of web folder'/><author><name>கவினன்[Kavinan]</name><uri>http://www.blogger.com/profile/04215357776321310308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7QO_lORz6A8AczfubPgi14Mel2ulSz2mzjloUCZjmEFcTjpXrOUZXQKz6Zu4Mf0VPyVQWmpoF0c75LJjqE_YR7gI9l_P8psS7AZ4NpkraE3kQBCmi5B_3_G4-WIUZTg/s113/android_platform.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvrS0viZWIK2XaeJEVl4PgUPUsnffLgOc65QUqxaTTVgeMLQgfj1ICqzO6ejASiVj8PWYqtxDJxRDtzNnbDQtPDP-X30iMLYnGO1GuDkmwnVSycP3keOWNY-dOuS61qG1Jz5MnyoZrifs/s72-c/example1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>