<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Idris Gani&#039;s Weblog</title>
	<atom:link href="http://idrisgani.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://idrisgani.wordpress.com</link>
	<description>Just another way to Lead</description>
	<lastBuildDate>Sat, 19 Nov 2011 22:23:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='idrisgani.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Idris Gani&#039;s Weblog</title>
		<link>http://idrisgani.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://idrisgani.wordpress.com/osd.xml" title="Idris Gani&#039;s Weblog" />
	<atom:link rel='hub' href='http://idrisgani.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Winxp System Response, reboot whitout rebooting</title>
		<link>http://idrisgani.wordpress.com/2011/11/19/winxp-system-response-reboot-whitout-rebooting/</link>
		<comments>http://idrisgani.wordpress.com/2011/11/19/winxp-system-response-reboot-whitout-rebooting/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 20:47:57 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=95</guid>
		<description><![CDATA[Have you ever been using your computer and your system sudddenly stops responding in ways like it if you try to open something it just hangs? One time I tried deleting a folder and it said it was in use, but it really wasn&#8217;t. If this ever happens to you, you can follow these simple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=95&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have you ever been using your computer and your system sudddenly stops responding in ways like it if you try to open something it just hangs? One time I tried deleting a folder and it said it was in use, but it really wasn&#8217;t. If this ever happens to you, you can follow these simple steps to &#8216;reboot&#8217; your computer without &#8216;rebooting&#8217; it.</p>
<p>Press CRTL + ALT + DEL</p>
<p>Goto the &#8216;processes&#8217; tab and click explorer.exe once and then click &#8216;end process&#8217;.</p>
<p>Now, click File &gt; New Task and type explorer.exe</p>
<p>Everything should be fine now! If the problem is major, I would recomend actually shutting down then starting up again.</p>
<p>&nbsp;</p>
<p>Source : Unknown</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=95&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2011/11/19/winxp-system-response-reboot-whitout-rebooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows XP hidden apps</title>
		<link>http://idrisgani.wordpress.com/2011/11/19/windows-xp-hidden-apps/</link>
		<comments>http://idrisgani.wordpress.com/2011/11/19/windows-xp-hidden-apps/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 20:44:33 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=92</guid>
		<description><![CDATA[WINDOWS XP HIDDEN APPS: ========================================= 1) Character Map = charmap.exe (very useful for finding unusual characters) 2) Disk Cleanup = cleanmgr.exe 3) Clipboard Viewer = clipbrd.exe (views contents of Windows clipboard) 4) Dr Watson = drwtsn32.exe (Troubleshooting tool) 5) DirectX diagnosis = dxdiag.exe (Diagnose &#38; test DirectX, video &#38; sound cards) 6) Private character editor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=92&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>WINDOWS XP HIDDEN APPS:</p>
<p>=========================================</p>
<p>1) Character Map = charmap.exe (very useful for finding unusual characters)</p>
<p>2) Disk Cleanup = cleanmgr.exe</p>
<p>3) Clipboard Viewer = clipbrd.exe (views contents of Windows clipboard)</p>
<p>4) Dr Watson = drwtsn32.exe (Troubleshooting tool)</p>
<p>5) DirectX diagnosis = dxdiag.exe (Diagnose &amp; test DirectX, video &amp; sound cards)</p>
<p>6) Private character editor = eudcedit.exe (allows creation or modification of characters)</p>
<p>7) IExpress Wizard = iexpress.exe (Create self-extracting / self-installing package)</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Microsoft Synchronization Manager = mobsync.exe (appears to allow synchronization of files on the network for when working offline. Apparently undocumented).</p>
<p>9) Windows Media Player 5.1 = mplay32.exe (Retro version of Media Player, very basic).</p>
<p>10) ODBC Data Source Administrator = odbcad32.exe (something to do with databases)</p>
<p>11) Object Packager = packager.exe (to do with packaging objects for insertion in files, appears to have comprehensive help files).</p>
<p>12) System Monitor = perfmon.exe (very useful, highly configurable tool, tells you everything you ever wanted to know about any aspect of PC performance, for uber-geeks only )</p>
<p>13) Program Manager = progman.exe (Legacy Windows 3.x desktop shell).</p>
<p>14) Remote Access phone book = rasphone.exe (documentation is virtually non-existant).</p>
<p>15) Registry Editor = regedt32.exe [also regedit.exe] (for hacking the Windows Registry).</p>
<p>16) Network shared folder wizard = shrpubw.exe (creates shared folders on network).</p>
<p>17) File siganture verification tool = sigverif.exe</p>
<p>18) Volume Contro = sndvol32.exe (I&#8217;ve included this for those people that lose it from the System Notification area).</p>
<p>19) System Configuration Editor = sysedit.exe (modify System.ini &amp; Win.ini just like in Win98! ).</p>
<p>20) Syskey = syskey.exe (Secures XP Account database &#8211; use with care, it&#8217;s virtually undocumented but it appears to encrypt all passwords, I&#8217;m not sure of the full implications).</p>
<p>21) Microsoft Telnet Client = telnet.exe</p>
<p>22) Driver Verifier Manager = verifier.exe (seems to be a utility for monitoring the actions of drivers, might be useful for people having driver problems. Undocumented).</p>
<p>23) Windows for Workgroups Chat = winchat.exe (appears to be an old NT utility to allow chat sessions over a LAN, help files available).</p>
<p>24) System configuration = msconfig.exe (can use to control starup programs)</p>
<p>25) gpedit.msc used to manage group policies, and permissions</p>
<p>&nbsp;</p>
<p>Source : Unknown</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=92&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2011/11/19/windows-xp-hidden-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>Clipboard hack problem</title>
		<link>http://idrisgani.wordpress.com/2011/05/07/clipboard-hack-problem/</link>
		<comments>http://idrisgani.wordpress.com/2011/05/07/clipboard-hack-problem/#comments</comments>
		<pubDate>Sat, 07 May 2011 20:39:21 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=89</guid>
		<description><![CDATA[Hi, Clipboard Hack Problem &#8211; Shocking news about CTRL+C* Ctrl+C may be the most important work we do everyday. But it&#8217;s not a very safe thing to do. Read on to know why. What happens when you press Ctrl+C while you are online. We do copy various data by Ctrl + C for pasting elsewhere. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=89&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Clipboard Hack Problem &#8211; Shocking news about CTRL+C* </p>
<p>Ctrl+C may be the most important work we do everyday. But it&#8217;s not a very<br />
safe thing to do. Read on to know why. What happens when you press Ctrl+C<br />
while you are online. We do copy various data by Ctrl + C for pasting<br />
elsewhere. This copied data is stored in clipboard and is accessible from<br />
the net by a combination of Javascripts and ASP. This is called clipboard<br />
hack problem. * </p>
<p>Just try this:*<br />
1. Copy any text by Ctrl + C<br />
2. Click the Link: http://www.sourcecodesworld.com/special/clipboard.asp<br />
3. You will see the text you copied was accessed by this web page. * </p>
<p>Surprised!* I know you are because i was also surprised to see it. Do not<br />
keep sensitive data (like passwords, credit card numbers, PIN etc.) in the<br />
clipboard while surfing the web. It is extremely easy to extract the text<br />
stored in the clipboard to steal your sensitive information. Forward this<br />
information to as many friends as you can, to save them from online frauds! </p>
<p>It is true, text you last copied for pasting (copy &amp; paste) can be stolen<br />
when you visit web sites using a combination of JavaScript and ASP (or PHP,<br />
or CGI) to write your possible sensitive data to a database on another<br />
server. * </p>
<p>How Cipboard Hack is done?* </p>
<p>The Clipboard hack is done by the following Source Code: * </p>
<p>var content = clipboardData.getData(&#8220;Text&#8221;);<br />
alert(content); </p>
<p>How to safeguard yourself from Clipboard Hack Problem?* </p>
<p>To avoid clipboard hack problem, do the following:<br />
1. Go to internet options-&gt;security.<br />
2. Press custom level.<br />
3. In the security settings, select disable under Allow paste operations via<br />
script. (Scripting sub heading) </p>
<p>Now the contents of your clipboard are safe. </p>
<p>Interestingly, this hack works only on internet explorer, and not on Mozilla<br />
Firefox browser. Please forward this article to as many friends as you can<br />
to make them aware of this issue with CTRL+C. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=89&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2011/05/07/clipboard-hack-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>Get all the Machine name under the Network</title>
		<link>http://idrisgani.wordpress.com/2009/08/12/get-all-the-machine-name-under-the-network/</link>
		<comments>http://idrisgani.wordpress.com/2009/08/12/get-all-the-machine-name-under-the-network/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 06:52:42 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=86</guid>
		<description><![CDATA[Goto -&#62; Add refrence -&#62; Add System.DirectoryServices The following code will add the list of machine name under the network into the Combobox. Use the following code in your .CS file using System.DirectoryServices; using System.Net; DirectoryEntry parent = new DirectoryEntry(&#8220;WinNT:&#8221;); foreach (DirectoryEntry dm in parent.Children) { if (dm.SchemaClassName == &#8220;Domain&#8221;) Console.WriteLine(&#8220;Domain {0}&#8221;, dm.Name); else continue; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=86&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Goto -&gt; Add refrence -&gt; Add System.DirectoryServices</p>
<p>The following code will add the list of machine name under the network into the Combobox.</p>
<p>Use the following code in your .CS file</p>
<p>using System.DirectoryServices;</p>
<p>using System.Net;</p>
<p>DirectoryEntry parent = new DirectoryEntry(&#8220;WinNT:&#8221;);<br />
foreach (DirectoryEntry dm in parent.Children)<br />
{<br />
if (dm.SchemaClassName == &#8220;Domain&#8221;)<br />
Console.WriteLine(&#8220;Domain {0}&#8221;, dm.Name);<br />
else<br />
continue;</p>
<p>// Scan Computers on this domain<br />
DirectoryEntry coParent = new DirectoryEntry(&#8220;WinNT://&#8221; + dm.Name);<br />
foreach (DirectoryEntry client in coParent.Children)<br />
{<br />
if (client.SchemaClassName == &#8220;Computer&#8221;)<br />
Console.WriteLine(&#8220;    Computer {0}&#8221;, client.Name);<br />
else<br />
continue;<br />
// The computer may be in the directory, but not online<br />
try<br />
{<br />
comboBox1.Items.Add(client.Name);<br />
}<br />
catch (Exception) { }<br />
}<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=86&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2009/08/12/get-all-the-machine-name-under-the-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>ReportService methods used in RSS File to deploy SQL reports</title>
		<link>http://idrisgani.wordpress.com/2009/06/04/reportservice-methods-used-in-rss-file-to-deploy-sql-reports/</link>
		<comments>http://idrisgani.wordpress.com/2009/06/04/reportservice-methods-used-in-rss-file-to-deploy-sql-reports/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 10:11:18 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[SQL Reports]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=80</guid>
		<description><![CDATA[CreateFolder(folder,parent,properties()) Parameters: Folder as string The name of the new folder. Parent as string The full path name of the parent folder to which to add the new folder. Properties An array of Property[] objects that defines the property names and values to set for the folder. Eg: Public Sub Main() Dim name As String [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=80&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong>CreateFolder(folder,parent,properties())</strong></span><br />
<strong>Parameters:</strong><br />
<em><strong>Folder as string</strong></em><br />
The name of the new folder.<br />
<em><strong>Parent as string</strong></em><br />
The full path name of the parent folder to which to add the new folder.<br />
<em><strong>Properties </strong></em><br />
An array of Property[] objects that defines the property names and values to set for the folder.<br />
<strong>Eg:</strong><br />
Public Sub Main()<br />
Dim name As String = &#8220;ReportFolder&#8221;<br />
Dim parent As String = &#8220;/&#8221;<br />
Dim fullpath As String = parent + name</p>
<p>&#8216;Common CatalogItem properties<br />
Dim descprop As New [Property]<br />
descprop.Name = &#8220;Description&#8221;<br />
descprop.Value = &#8220;&#8221;<br />
Dim hiddenprop As New [Property]<br />
hiddenprop.Name = &#8220;Hidden&#8221;<br />
hiddenprop.Value = &#8220;False&#8221;</p>
<p>Dim props(1) As [Property]<br />
props(0) = descprop<br />
props(1) = hiddenprop</p>
<p>Try<br />
RS.CreateFolder(name, parent, props)<br />
Console.WriteLine(&#8220;Folder created: {0}&#8221;, name)<br />
Catch e As SoapException<br />
If e.Detail.Item(&#8220;ErrorCode&#8221;).InnerText = &#8220;rsItemAlreadyExists&#8221; Then<br />
Console.WriteLine(&#8220;Folder / Reports already exists and cannot be overwritten&#8221;)<br />
Else<br />
Console.WriteLine(&#8220;Error : &#8221; + e.Detail.Item(&#8220;ErrorCode&#8221;).InnerText + &#8221; (&#8221; + e.Detail.Item(&#8220;Message&#8221;).InnerText + &#8220;)&#8221;)<br />
End If<br />
End Try<br />
End Sub</p>
<p><span style="text-decoration:underline;"><strong>CreateReport(Report,parent,overwrite,definition,properties())</strong></span><br />
<strong>Parameters</strong>:<br />
<strong><em>Report as String</em></strong><br />
The name of the new report.<br />
<em><strong>Parent as String</strong></em><br />
The full path name of the parent folder to which to add the report.<br />
<em><strong>Overwrite</strong></em><br />
A Boolean expression that indicates whether an existing report with the same name in the location specified should be overwritten.<br />
<em><strong>Definition</strong></em><br />
The report definition to publish to the report server.<br />
<em><strong>Properties</strong></em><br />
An array of Property[] objects that contains the property names and values to set for the report.<br />
<strong>Return Value</strong>:<br />
An array of Warning[] objects that describes any warnings that occurred when the report definition was validated.<br />
<strong>Eg:</strong><br />
The following example demonstrates how to take backup of report, create/publish a report and set a datasource to it.</p>
<p>Public Sub Main()<br />
Dim Reportname as String = &#8220;SampleReport&#8221;<br />
Dim parent As String = &#8220;/ParentFolder/Subfolder&#8221;<br />
Dim location As String = parent + “\” + Reportname<br />
Dim overwrite As Boolean = True<br />
Dim reportContents As Byte() = Nothing<br />
Dim warnings As Warning() = Nothing<br />
Dim fullpath As String = parent + &#8220;/&#8221; + name</p>
<p>&#8216;Common CatalogItem properties<br />
Dim descprop As New [Property]<br />
descprop.Name = &#8220;Description&#8221;<br />
descprop.Value = &#8220;&#8221;<br />
Dim hiddenprop As New [Property]<br />
hiddenprop.Name = &#8220;Hidden&#8221;<br />
hiddenprop.Value = &#8220;False&#8221;</p>
<p>Dim props(1) As [Property]<br />
props(0) = descprop<br />
props(1) = hiddenprop</p>
<p>&#8216;Read RDL definition from disk<br />
Try<br />
Dim stream As FileStream = File.OpenRead(location)<br />
reportContents = New [Byte](stream.Length-1) {}<br />
stream.Read(reportContents, 0, CInt(stream.Length))<br />
stream.Close()</p>
<p>warnings = RS.CreateReport(name, parent, overwrite, reportContents, props)</p>
<p>If Not (warnings Is Nothing) Then<br />
Dim warning As Warning<br />
For Each warning In warnings<br />
Console.WriteLine(Warning.Message)<br />
Next warning<br />
Else<br />
Console.WriteLine(&#8220;Report: {0} published successfully with no warnings&#8221;, name)<br />
End If</p>
<p>&#8216;Set report DataSource references<br />
Dim dataSources(0) As DataSource</p>
<p>Dim dsr0 As New DataSourceReference<br />
dsr0.Reference = &#8220;/Data Sources/DatasourceName&#8221;<br />
Dim ds0 As New DataSource<br />
ds0.Item = CType(dsr0, DataSourceDefinitionOrReference)<br />
ds0.Name=&#8221;SMS&#8221;<br />
dataSources(0) = ds0</p>
<p>RS.SetItemDataSources(fullpath, dataSources)</p>
<p>Console.Writeline(&#8220;Report DataSources set successfully&#8221;)</p>
<p>Catch e As IOException<br />
Console.WriteLine(e.Message)<br />
Catch e As SoapException<br />
Console.WriteLine(&#8220;Error : &#8221; + e.Detail.Item(&#8220;ErrorCode&#8221;).InnerText + &#8221; (&#8221; + e.Detail.Item(&#8220;Message&#8221;).InnerText + &#8220;)&#8221;)<br />
End Try<br />
End Sub</p>
<p><span style="text-decoration:underline;"><strong>CreateDatasource(datasource,parent,overwrite,definition,properties())</strong></span><br />
<strong>Parameters:</strong><br />
<em><strong>DataSource</strong></em><br />
The name of the data source.<br />
<em><strong>Parent as String</strong></em><br />
The full path name of the parent folder that contains the data source.<br />
<em><strong>Overwrite</strong></em><br />
A Boolean expression that indicates whether an existing data source with the same name in the location specified should be overwritten.<br />
<em><strong>Definition</strong></em><br />
A DataSourceDefinition object that describes the connection properties for the data source.<br />
<em><strong>Properties</strong></em><br />
An array of Property[] objects that defines the property names and values to set for the data source.<br />
<strong>Eg:</strong></p>
<p>Public Sub Main()<br />
Dim name As String = &#8220;Datasourcename&#8221;<br />
Dim parent As String = &#8220;/Data Sources&#8221;</p>
<p>&#8216;Common CatalogItem properties<br />
Dim descprop As New [Property]<br />
descprop.Name = &#8220;Description&#8221;<br />
descprop.Value = &#8220;&#8221;<br />
Dim hiddenprop As New [Property]<br />
hiddenprop.Name = &#8220;Hidden&#8221;<br />
hiddenprop.Value = &#8220;False&#8221;</p>
<p>Dim props(1) As [Property]<br />
props(0) = descprop<br />
props(1) = hiddenprop</p>
<p>Dim definition As New DataSourceDefinition<br />
definition.CredentialRetrieval = CredentialRetrievalEnum.Store<br />
definition.ConnectString = &#8220;Data Source=; Initial Catalog= &#8220;<br />
definition.Enabled = True<br />
definition.EnabledSpecified = True<br />
definition.Extension = &#8220;SQL&#8221;<br />
definition.ImpersonateUser = False<br />
definition.ImpersonateUserSpecified = True<br />
definition.UserName = &#8220;&#8221;<br />
definition.Password = &#8220;&#8221;<br />
definition.WindowsCredentials = False<br />
definition.OriginalConnectStringExpressionBased = False<br />
definition.UseOriginalConnectString = False</p>
<p>Try<br />
RS.CreateDataSource(name, parent,True, definition, props)<br />
Console.WriteLine(&#8220;DataSource created successfully&#8221;)</p>
<p>Console.WriteLine(&#8220;You must supply the password using Report Manager to use this DataSource&#8221;)</p>
<p>Catch e As SoapException<br />
Console.WriteLine(&#8220;Error : &#8221; + e.Detail.Item(&#8220;ErrorCode&#8221;).InnerText + &#8221; (&#8221; + e.Detail.Item(&#8220;Message&#8221;).InnerText + &#8220;)&#8221;)<br />
End Try<br />
End Sub</p>
<p><span style="text-decoration:underline;"><strong>CreateLinkedReport(Report,parent,link,properties())</strong></span><br />
<strong>Parameters:</strong><br />
<em><strong>Report as String</strong></em><br />
The name of the new linked report.<br />
<em><strong>Parent as String</strong></em><br />
The full path name of the parent folder to which to add the new report.<br />
<em><strong>Link as String</strong></em><br />
The full path name of the report that will be used for the report definition.<br />
<em><strong>Properties</strong></em><br />
An array of Property[] objects that defines the property names and values to set for the linked report.<br />
<strong>Eg:</strong></p>
<p>Public Sub Main()<br />
Dim overwrite As Boolean = True<br />
Dim name As String = &#8220;OriginalReportName&#8221;<br />
Dim parent As String = &#8220;/path&#8221;<br />
Dim fullpath As String = parent + &#8220;/&#8221; + name</p>
<p>&#8216;Common CatalogItem properties<br />
Dim descprop As New [Property]<br />
descprop.Name = &#8220;Description&#8221;<br />
descprop.Value = &#8220;&#8221;<br />
Dim hiddenprop As New [Property]<br />
hiddenprop.Name = &#8220;Hidden&#8221;<br />
hiddenprop.Value = &#8220;False&#8221;</p>
<p>Dim props(1) As [Property]<br />
props(0) = descprop<br />
props(1) = hiddenprop</p>
<p>Try<br />
RS.CreateLinkedReport(name,parent, &#8220;/OrignalPath/Reportname&#8221;, props)</p>
<p>Console.WriteLine(&#8220;Linked Report published successfully&#8221;)<br />
Catch e As SoapException<br />
If e.Detail.Item(&#8220;ErrorCode&#8221;).InnerText = &#8220;rsItemAlreadyExists&#8221; Then<br />
If overwrite Then<br />
RS.DeleteItem(fullpath)<br />
RS.CreateLinkedReport(name,parent, &#8220;/GoldenGate/Ascend_Claims_Not_In_Golden_Gate&#8221;, props)</p>
<p>Console.WriteLine(&#8220;Linked Report: published successfully&#8221;)<br />
Else<br />
End If<br />
Else<br />
Console.WriteLine(&#8220;Error : &#8221; + e.Detail.Item(&#8220;ErrorCode&#8221;).InnerText + &#8221; (&#8221; + e.Detail.Item(&#8220;Message&#8221;).InnerText + &#8220;)&#8221;)<br />
End If<br />
End Try<br />
End Sub</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=80&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2009/06/04/reportservice-methods-used-in-rss-file-to-deploy-sql-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>Get Object list from database</title>
		<link>http://idrisgani.wordpress.com/2009/04/22/get-object-list-for-database/</link>
		<comments>http://idrisgani.wordpress.com/2009/04/22/get-object-list-for-database/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 07:30:33 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=76</guid>
		<description><![CDATA[SELECT NAME,crdate FROM Sysobjects WHERE TYPE=&#8216;U&#8217; AND category=0 ORDER BY name &#8211; Get User tables SELECT NAME,crdate FROM Sysobjects WHERE TYPE=&#8216;FN&#8217; AND category=0 ORDER BY NAME &#8211;Get User Defined Functions Select NAME,crdate from sysobjects where type = &#8216;P&#8217; and category = 0 ORDER BY NAME &#8211;Get Stored Procedures SELECT NAME,crdate FROM Sysobjects WHERE TYPE=&#8216;V&#8217; AND [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=76&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span style="font-family:Calibri;color:blue;font-size:x-small;"><span style="font-size:11pt;color:blue;font-family:Calibri;">SELECT</span></span><span style="font-family:Calibri;font-size:x-small;"><span style="font-size:11pt;font-family:Calibri;"> <span style="color:blue;"><span style="color:blue;">NAME</span></span><span style="color:gray;"><span style="color:gray;">,</span></span>crdate <span style="color:blue;"><span style="color:blue;">FROM</span></span> Sysobjects <span style="color:blue;"><span style="color:blue;">WHERE</span></span> <span style="color:blue;"><span style="color:blue;">TYPE</span></span><span style="color:gray;"><span style="color:gray;">=</span></span><span style="color:red;"><span style="color:red;">&#8216;U&#8217;</span></span> <span style="color:gray;"><span style="color:gray;">AND</span></span> category<span style="color:gray;"><span style="color:gray;">=</span></span>0 <span style="color:blue;"><span style="color:blue;">ORDER</span></span> <span style="color:blue;"><span style="color:blue;">BY</span></span> <span style="color:blue;"><span style="color:blue;">name</span></span> <span style="color:green;"><span style="color:green;">&#8211; Get User  tables</span></span></span></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:blue;font-size:x-small;"><span style="font-size:11pt;color:blue;font-family:Calibri;">SELECT</span></span><span style="font-family:Calibri;font-size:x-small;"><span style="font-size:11pt;font-family:Calibri;"> <span style="color:blue;"><span style="color:blue;">NAME</span></span><span style="color:gray;"><span style="color:gray;">,</span></span>crdate <span style="color:blue;"><span style="color:blue;">FROM</span></span> Sysobjects <span style="color:blue;"><span style="color:blue;">WHERE</span></span> <span style="color:blue;"><span style="color:blue;">TYPE</span></span><span style="color:gray;"><span style="color:gray;">=</span></span><span style="color:red;"><span style="color:red;">&#8216;FN&#8217;</span></span> <span style="color:gray;"><span style="color:gray;">AND</span></span> category<span style="color:gray;"><span style="color:gray;">=</span></span>0 <span style="color:blue;"><span style="color:blue;">ORDER</span></span> <span style="color:blue;"><span style="color:blue;">BY</span></span> <span style="color:blue;"><span style="color:blue;">NAME</span></span> <span style="color:green;"><span style="color:green;">&#8211;Get User Defined  Functions</span></span></span></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:blue;font-size:x-small;"><span style="font-size:11pt;color:blue;font-family:Calibri;">Select</span></span><span style="font-family:Calibri;font-size:x-small;"><span style="font-size:11pt;font-family:Calibri;"> <span style="color:blue;"><span style="color:blue;">NAME</span></span><span style="color:gray;"><span style="color:gray;">,</span></span>crdate <span style="color:blue;"><span style="color:blue;">from</span></span> sysobjects <span style="color:blue;"><span style="color:blue;">where</span></span> <span style="color:blue;"><span style="color:blue;">type</span></span> <span style="color:gray;"><span style="color:gray;">=</span></span> <span style="color:red;"><span style="color:red;">&#8216;P&#8217;</span></span> <span style="color:gray;"><span style="color:gray;">and</span></span> category <span style="color:gray;"><span style="color:gray;">=</span></span> 0 <span style="color:blue;"><span style="color:blue;">ORDER</span></span> <span style="color:blue;"><span style="color:blue;">BY</span></span> <span style="color:blue;"><span style="color:blue;">NAME</span></span> <span style="color:green;"><span style="color:green;">&#8211;Get Stored  Procedures</span></span></span></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:blue;font-size:x-small;"><span style="font-size:11pt;color:blue;font-family:Calibri;">SELECT</span></span><span style="font-family:Calibri;font-size:x-small;"><span style="font-size:11pt;font-family:Calibri;"> <span style="color:blue;"><span style="color:blue;">NAME</span></span><span style="color:gray;"><span style="color:gray;">,</span></span>crdate <span style="color:blue;"><span style="color:blue;">FROM</span></span> Sysobjects <span style="color:blue;"><span style="color:blue;">WHERE</span></span> <span style="color:blue;"><span style="color:blue;">TYPE</span></span><span style="color:gray;"><span style="color:gray;">=</span></span><span style="color:red;"><span style="color:red;">&#8216;V&#8217;</span></span> <span style="color:gray;"><span style="color:gray;">AND</span></span> category<span style="color:gray;"><span style="color:gray;">=</span></span>0   <span style="color:blue;"><span style="color:blue;">ORDER</span></span> <span style="color:blue;"><span style="color:blue;">BY</span></span> <span style="color:blue;"><span style="color:blue;">NAME</span></span> <span style="color:green;"><span style="color:green;">&#8211;Get Views</span></span></span></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:navy;font-size:x-small;"><span style="font-size:11pt;color:navy;font-family:Calibri;"> </span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=76&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2009/04/22/get-object-list-for-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>Focusing a Div Element using JavaScript</title>
		<link>http://idrisgani.wordpress.com/2009/04/22/focusing-a-div-element-using-javascript/</link>
		<comments>http://idrisgani.wordpress.com/2009/04/22/focusing-a-div-element-using-javascript/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 07:28:46 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=74</guid>
		<description><![CDATA[The following code is used to focus a div element.It seems Focus is an inbuilt method which allows you to focus on the corresponding div element. &#60;div id=&#8221;map_canvas&#8221;  onmouseover=&#8221;focus(this)&#8221;/&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=74&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following code is used to focus a div element.It seems Focus is an inbuilt method which allows you to focus on the corresponding div element.</p>
<p><strong>&lt;div id=&#8221;map_canvas&#8221;  onmouseover=&#8221;focus(this)&#8221;/&gt;</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=74&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2009/04/22/focusing-a-div-element-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>Find For A Particular Column In A Database using SqlServer</title>
		<link>http://idrisgani.wordpress.com/2008/12/26/find-for-a-particular-column-in-a-database-using-sqlserver/</link>
		<comments>http://idrisgani.wordpress.com/2008/12/26/find-for-a-particular-column-in-a-database-using-sqlserver/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 06:44:24 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=72</guid>
		<description><![CDATA[SELECT so.name as tablename, sc.name as columnname from sysobjects so JOIN syscolumns sc on sc.id = so.id and sc.name like &#8216;&#60;&#60;Column Name&#62;&#62;&#8217; and so.xtype = &#8216;U&#8217; Source : http://www.sqlservercentral.com/scripts/TSQL/64706/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=72&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SELECT so.name as tablename, sc.name as columnname from sysobjects so</p>
<p>JOIN syscolumns sc</p>
<p>on sc.id = so.id and sc.name like &#8216;&lt;&lt;Column Name&gt;&gt;&#8217;</p>
<p>and so.xtype = &#8216;U&#8217;</p>
<p>Source : http://www.sqlservercentral.com/scripts/TSQL/64706/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=72&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2008/12/26/find-for-a-particular-column-in-a-database-using-sqlserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>Reading and Writing Text Files</title>
		<link>http://idrisgani.wordpress.com/2008/09/09/reading-and-writing-text-files/</link>
		<comments>http://idrisgani.wordpress.com/2008/09/09/reading-and-writing-text-files/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 10:12:12 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=70</guid>
		<description><![CDATA[Writing Text Data to a File using System; using System.IO; namespace SampleWrite1 { class FileWriter { static void Main(string[] args) { // create a writer and open the file TextWriter tw = new StreamWriter(&#8220;date.txt&#8221;); // write a line of text to the file tw.WriteLine(DateTime.Now); // close the stream tw.Close(); } } } Reading Text Data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=70&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong>Writing Text Data to a File</strong></span><br />
using System;<br />
using System.IO;</p>
<p>namespace SampleWrite1<br />
{<br />
class FileWriter<br />
{<br />
static void Main(string[] args)<br />
{<br />
// create a writer and open the file<br />
TextWriter tw = new StreamWriter(&#8220;date.txt&#8221;);</p>
<p>// write a line of text to the file<br />
tw.WriteLine(DateTime.Now);</p>
<p>// close the stream<br />
tw.Close();<br />
}<br />
}<br />
}</p>
<p><span style="text-decoration:underline;"><strong>Reading Text Data from a File</strong></span><br />
using System;<br />
using System.IO;</p>
<p>namespace SampleRead1<br />
{<br />
class FileReader<br />
{<br />
static void Main(string[] args)<br />
{<br />
// create reader &amp; open file<br />
Textreader tr = new StreamReader(&#8220;date.txt&#8221;);</p>
<p>// read a line of text<br />
Console.WriteLine(tr.ReadLine());</p>
<p>// close the stream<br />
tr.Close();<br />
}<br />
}<br />
}</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/idrisgani.wordpress.com/70/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/idrisgani.wordpress.com/70/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=70&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2008/09/09/reading-and-writing-text-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLXMLCOMMAND</title>
		<link>http://idrisgani.wordpress.com/2008/09/09/sqlxmlcommand/</link>
		<comments>http://idrisgani.wordpress.com/2008/09/09/sqlxmlcommand/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 10:07:40 +0000</pubDate>
		<dc:creator>idrisgani</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://idrisgani.wordpress.com/?p=68</guid>
		<description><![CDATA[Fill Grid Using SQLXMLCOMMAND string coString = &#8220;Provider=sqloledb;data source=&#8221;+ &#8220;diablo;userid=sa;password=mypassword;initial catalog=pubs&#8221;; SqlXmlCommand co = new SqlXmlCommand(coString); XmlReader xmlRead = new XmlReader(); DataSet ds = new DataSet(); co.CommandType = SqlXmlCommandType.Sql; co.CommandText = &#8220;select * from Students for xml Auto&#8221;; xmlRead = co.ExecuteXmlReader; ds.ReadXml(xmlRead); this.DataGrid1.DataSource = ds.Tables[0]; SQLXMLCOMMAND AND SQLXMLADAPTER string coString = &#8220;Provider=sqloledb;data source=diablo;&#8221; + &#8220;userid=sa;password=mypassword;initial [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=68&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong>Fill Grid Using SQLXMLCOMMAND</strong></span><br />
string coString = &#8220;Provider=sqloledb;data source=&#8221;+<br />
&#8220;diablo;userid=sa;password=mypassword;initial catalog=pubs&#8221;;<br />
SqlXmlCommand co = new SqlXmlCommand(coString);<br />
XmlReader xmlRead = new XmlReader();<br />
DataSet ds = new DataSet();<br />
co.CommandType = SqlXmlCommandType.Sql;<br />
co.CommandText = &#8220;select * from Students for xml Auto&#8221;;<br />
xmlRead = co.ExecuteXmlReader;<br />
ds.ReadXml(xmlRead);<br />
this.DataGrid1.DataSource = ds.Tables[0];</p>
<p><span style="text-decoration:underline;"><strong>SQLXMLCOMMAND AND SQLXMLADAPTER</strong></span><br />
string coString = &#8220;Provider=sqloledb;data source=diablo;&#8221; +<br />
&#8220;userid=sa;password=mypassword;initial catalog=pubs&#8221;<br />
SqlXmlCommand cmd  = new SqlXmlCommand(coString);<br />
cmd.RootTag = &#8220;Root&#8221;;<br />
cmd.CommandText = @&#8221; Students [@St_lname = "Stringer"]&#8220;;<br />
cmd.CommandType = SqlXmlCommandType.XPath;<br />
cmd.SchemaPath = &#8220;..\ Students.xsd&#8221;;<br />
DataSet ds  = new DataSet();<br />
SqlXmlAdapter ad  = new SqlXmlAdapter(cmd);<br />
ad.Fill(ds);<br />
this.DataGrid1.DataSource = ds;</p>
<p><span style="text-decoration:underline;"><strong>SQLXMLCOMMAND TO SAVE XML FILE</strong></span><br />
string coString = &#8220;Provider=sqloledb;data source=&#8221;+<br />
&#8220;diablo;userid=sa;password=mypassword;initial catalog=pubs&#8221;<br />
SqlXmlCommand cmd = new SqlXmlCommand(coString);<br />
XmlReader xr;<br />
XmlDocument xDoc = new XmlDocument();<br />
DataSet ds = new DataSet();<br />
cmd.RootTag = &#8220;Authors&#8221; ;<br />
cmd.ClientSideXml = True;<br />
cmd.CommandText = &#8220;exec spAllStudents for XML nested&#8221;;<br />
xr = cmd.ExecuteXmlReader();<br />
xDoc.Load(xr);<br />
xDoc.Save(&#8220;c:\testClientside.xml&#8221;); //save the output to a file<br />
ds.ReadXml(&#8220;c:\testClientside.xml&#8221;);  //read the file into a dataset<br />
this.DataGrid1.DataSource = ds; //bind the datagrid to the dataset</p>
<p><span style="text-decoration:underline;"><strong>Using Parameters with SqlXMLCommand</strong></span><br />
string coString = &#8220;Provider=sqloledb;;datasource=tpol;&#8221; +<br />
&#8220;userid=sa;password=mypassword;initial catalog=pubs&#8221;<br />
SqlXmlCommand cmd = new SqlXmlCommand(coString);<br />
SqlXmlParameter param;<br />
xAdp = New SqlXmlAdapter(cmd);<br />
xDs = New DataSet();<br />
cmd.RootTag = &#8220;Students&#8221;;<br />
cmd.CommandType = SqlXmlCommandType.Sql;<br />
cmd.CommandText = &#8220;select * from Students where st_lname = ? for xml auto&#8221;;<br />
param = cmd.CreateParameter;<br />
param.Value = this.ListBox1.SelectedItem;<br />
xAdp.Fill(xDs);<br />
this.DataGrid1.DataSource = xDs;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/idrisgani.wordpress.com/68/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/idrisgani.wordpress.com/68/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/idrisgani.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/idrisgani.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/idrisgani.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/idrisgani.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/idrisgani.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/idrisgani.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/idrisgani.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/idrisgani.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/idrisgani.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/idrisgani.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/idrisgani.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/idrisgani.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/idrisgani.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/idrisgani.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=idrisgani.wordpress.com&amp;blog=3187543&amp;post=68&amp;subd=idrisgani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://idrisgani.wordpress.com/2008/09/09/sqlxmlcommand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7940fb2869a498d34bc6c4cd67a6a4b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chellappa</media:title>
		</media:content>
	</item>
	</channel>
</rss>
