<?xml version="1.0" encoding="UTF-8"?><rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><copyright>All content (copyright) respective authors</copyright><description>vmonpara's code bookmark</description><link>http://www.codaddict.com/vmonpara</link><title>vmonpara's code bookmark</title><item><title>Attach/Detach database using osql</title><description>exec sp_attach_db @dbname = 'Portal', @filename1 ='C:\Program Files\Microsoft SQL Server\MSSQL$VISHAL\Data\Portal.mdf', @filename2 ='C:\Program Files\Microsoft SQL Server\MSSQL$VISHAL\Data\Portal_log.LDF'<br />
go<br />
<br />
exec sp_detach_db 'Portal'<br />
go</description><link>http://www.codaddict.com/vmonpara/SQL Server</link><dc:creator>vmonpara</dc:creator><pubDate>Sat, 29 Dec 2007 11:33:32 GMT</pubDate></item><item><title>Get all nodes from SQL Server cluster</title><description>SELECT * FROM sys.dm_os_cluster_nodes</description><link>http://www.codaddict.com/vmonpara/SQL Server</link><dc:creator>vmonpara</dc:creator><pubDate>Wed, 19 Dec 2007 10:17:09 GMT</pubDate></item><item><title>Get active node from SQL Server cluster</title><description>SELECT SERVERPROPERTY('ComputerNamePhysicalNetBIOS') ActiveNode</description><link>http://www.codaddict.com/vmonpara/SQL Server</link><dc:creator>vmonpara</dc:creator><pubDate>Wed, 19 Dec 2007 10:13:48 GMT</pubDate></item><item><title>Using Windows and Forms Authentication Together</title><description>check URL</description><link>http://www.codaddict.com/Anri/ASP .Net</link><dc:creator>Anri</dc:creator><pubDate>Fri, 26 Oct 2007 05:34:44 GMT</pubDate></item><item><title>InfoPath: How to disable any control without script?</title><description>1.Extract InfoPath form<br />
2. Open View.xsl file<br />
3. In the control property put xd:disableEditing=&quot;yes&quot;<br />
4. Save the file</description><link>http://www.codaddict.com/vmonpara/InfoPath</link><dc:creator>vmonpara</dc:creator><pubDate>Tue, 25 Sep 2007 12:25:48 GMT</pubDate></item><item><title>InfoPath:Check for new form/already submitted form</title><description>XDocument.IsNew<br />
<br />
If this property is true it means the form is first time opened.<br />
If false, already submitted form is opened.</description><link>http://www.codaddict.com/vmonpara/InfoPath</link><dc:creator>vmonpara</dc:creator><pubDate>Tue, 25 Sep 2007 02:42:15 GMT</pubDate></item><item><title>InfoPath: How to combine extracted files?</title><description>open manifest.xsf file in design mode.<br />
Go to File &gt; Save As... and save the file.<br />
It will save the form as .xsn<br />
<br />
For doing it programatically use makecab.exe </description><link>http://www.codaddict.com/vmonpara/InfoPath</link><dc:creator>vmonpara</dc:creator><pubDate>Tue, 18 Sep 2007 05:58:40 GMT</pubDate></item><item><title>Using Windows and Forms Authentication Together</title><description>check URL</description><link>http://www.codaddict.com/vmonpara/ASP .Net</link><dc:creator>vmonpara</dc:creator><pubDate>Fri, 14 Sep 2007 09:41:08 GMT</pubDate></item><item><title>FileSystemObject : Get current working directory</title><description>fso.GetAbsolutePathName(&quot;.&quot;)</description><link>http://www.codaddict.com/vmonpara/javascript</link><dc:creator>vmonpara</dc:creator><pubDate>Mon, 10 Sep 2007 04:36:08 GMT</pubDate></item><item><title>Javascript: String trim function</title><description>String.prototype.trim = function() { return this.replace(/^\s+|\s+$/, ''); };<br />
<br />
Now use<br />
<br />
var str = &quot;vishal&quot;;<br />
str.trim();</description><link>http://www.codaddict.com/vmonpara/javascript</link><dc:creator>vmonpara</dc:creator><pubDate>Mon, 10 Sep 2007 03:00:58 GMT</pubDate></item></channel></rss>
