tag:blogger.com,1999:blog-23014166781846869572024-03-13T09:34:30.298-07:00Rajesh's C# blogs 4 uC# Blog that sharp your skills .Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.comBlogger71125tag:blogger.com,1999:blog-2301416678184686957.post-6635355155656093302017-12-14T11:17:00.000-08:002023-12-18T10:53:04.514-08:00Salesforce Governor Limits<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-Q7RlPusRcL8/WoHozN27njI/AAAAAAAAAig/64S5zJxAcM4XLnwxbljG47nHBSFwvcEsQCLcBGAs/s1600/images.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="168" data-original-width="300" src="https://1.bp.blogspot.com/-Q7RlPusRcL8/WoHozN27njI/AAAAAAAAAig/64S5zJxAcM4XLnwxbljG47nHBSFwvcEsQCLcBGAs/s1600/images.jpg" /></a></div>
<span face=""verdana" , sans-serif"> <span style="font-size: large;"><b>Salesforce Governor Limits</b></span><br /></span><br /><span face=""verdana" , sans-serif"><span style="font-size: small;"> </span></span><br />
<span face=""verdana" , sans-serif"><span style="font-size: small;">Since Apex runs in a multitenant environment, the Apex run time engine strictly enforces a number of limits to ensure that runaway Apex does not monopolize shared resources. These limits, or governors, track and enforce the statistics outlined in the following table. If some Apex code ever exceeds a limit, the associated governor issues a run time exception that cannot be handled.</span></span><br />
<br />
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><br class="Apple-interchange-newline" /></span></span></span>
<br />
<table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-text-stroke-width: 0px; border: 1pt solid windowtext; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; height: 1127px; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; width: 660px; word-spacing: 0px;"><thead>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" valign="top" width="73%"><div align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><b>Description</b></span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" valign="top" width="26%"><div align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><b>Limit</b></span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white;"><span face=""verdana" , sans-serif"><span style="font-size: small;">Total number of SOQL queries issued</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalSOQLQueries" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>100</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of SOQL queries issued for Batch Apex and future methods</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalSOQLQueriesAsync" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>200</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of records retrieved by SOQL queries</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalRecRetrieved" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>50,000</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of records retrieved by Database.getQueryLocator</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalRecordsQueryLocator" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>10,000</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of SOSL queries issued</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="SOSLQueries" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>20</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white;"><span face=""verdana" , sans-serif"><span style="font-size: small;">Total number of records retrieved by a single SOSL query</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="SOSLRecRetrieved" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>200</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of DML statements issued</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalDMLStatements" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>150</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of records processed as a result of DML statements,Approval.process, or database.emptyRecycleBin</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalRecProcessed" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>10,000</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of executed code statements</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalStatements" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>200,000</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of executed code statements for Batch Apex and future methods</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalStatementsAsync" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>1,000,000</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total heap size</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalHeapSize" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>6 MB</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total heap size for Batch Apex and future methods</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalHeapSizeAsync" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>12 MB</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total stack depth for any Apex invocation that recursively fires triggers due toinsert, update, or delete statements</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">16</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">For loop list batch size</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="for_loop_array_batch_size" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>200</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of callouts (HTTP requests or Web services calls) in a request</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="callouts_max_tx" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>10</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Maximum timeout for all callouts (HTTP requests or Web services calls) in a request</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="callout_max_time" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>120 seconds</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Default timeout of callouts (HTTP requests or Web services calls) in a request</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="callout_default_time" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>10 seconds</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of methods with the future annotation allowed per Apex invocation</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="async_limit" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>10</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Maximum size of callout request or response (HTTP request or Web services call)</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="max_soap_response_size" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>3 MB</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of sendEmail methods allowed</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="TotalSendEmail" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>10</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of describes allowed</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><a href="https://www.blogger.com/null" name="describe_result_limit" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>100</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of classes that can be scheduled concurrently</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">25</span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 3pt; width: 444.344px;" width="73%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">Total number of test classes that can be queued per a 24–hour period</span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 3pt; width: 152.344px;" width="26%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">The greater of <a href="https://www.blogger.com/null" name="asynTestQueueLimit" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>500 or 10 multiplied by the number of test classes in the organization</span></span></span></div>
</td></tr>
</thead></table>
<h3 style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><b><span style="color: red;">Visualforce Limits</span></b></span></span></span></h3>
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="color: #585757; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Available in: Contact Manager, Group, Professional, Enterprise,Performance, Unlimited, and Developer Editions</span><br style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" /><span style="color: #585757; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br /></span><span style="color: #585757; display: inline; float: none; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"></span></span></span></span><br />
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="-webkit-text-stroke-width: 0px; border-collapse: collapse; border: medium none; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><tbody>
<tr style="height: 23.25pt;"><td style="border: 1pt solid windowtext; height: 23.25pt; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span class="mw-headline">Limit</span></span></span></span></h2>
</td><td style="border: 1pt solid windowtext; height: 23.25pt; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span class="mw-headline">Value<span style="font-weight: normal;"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum response size for a<span class="apple-converted-space"> </span><span class="ph">Visualforce</span><span class="apple-converted-space"> </span>page</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Less than<span class="apple-converted-space"> </span><span class="ph">15 MB</span></span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum view state size in a<span class="apple-converted-space"> </span><span class="ph">Visualforce</span><span class="apple-converted-space"> </span>page</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">135KB</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum size of a<span class="apple-converted-space"> </span><span class="ph">Visualforce</span><span class="apple-converted-space"> </span>email template</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">1 MB</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum file size for a file uploaded using a<span class="apple-converted-space"> </span><span class="ph">Visualforce</span>page</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">10 MB</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum size of HTML response<span class="apple-converted-space"> </span><i>before</i><span class="apple-converted-space"> </span>rendering, when<span class="ph">Visualforce</span><span class="apple-converted-space"> </span>page is rendered as PDF</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Less than<span class="apple-converted-space"> </span><span class="ph">15 MB</span></span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum PDF file size for a<span class="apple-converted-space"> </span><span class="ph">Visualforce</span><span class="apple-converted-space"> </span>page rendered as a PDF</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">60 MB</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum total size of all images included in a<span class="apple-converted-space"> </span><span class="ph">Visualforce</span>page rendered as a PDF</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">30 MB</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">Maximum response size of a JavaScript remote call</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">15 MB</span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">Default timeout for a JavaScript remoting call</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span class="ph"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">30000</span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">milliseconds (<span class="ph">30</span>seconds)</span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">Maximum timeout for a JavaScript remoting call</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span class="ph"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">120000</span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">milliseconds (<span class="ph">120</span>seconds)<span class="ph"></span></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">Maximum number of rows retrieved by queries for a single<span class="ph">Visualforce</span><span class="apple-converted-space"> </span>page request</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">50,000<span class="ph"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">Maximum number of rows retrieved by queries for a single<span class="ph">Visualforce</span><span class="apple-converted-space"> </span>page request in<span class="apple-converted-space"> </span><span class="ph">read-only mode</span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">1 million</span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum number of collection items that can be iterated in an iteration component such as<span class="apple-converted-space"> </span></span><span class="tag"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"><apex:pageBlockTable</span></span><samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">></span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"> </span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">and</span><span class="tag"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"><apex:repeat</span></span><samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">></span></samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">1,000</span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Maximum number of collection items that can be iterated in an iteration component such as<span class="apple-converted-space"> </span></span><span class="tag"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"><apex:pageBlockTable</span></span><samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">></span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"> </span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">and</span><span class="tag"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"><apex:repeat</span></span><samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">></span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"> </span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">in<span class="apple-converted-space"> </span><span class="ph">read-only mode</span></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">10,000</span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">Maximum number of field sets that can be displayed on a single<span class="apple-converted-space"> </span><span class="ph">Visualforce</span><span class="apple-converted-space"> </span>page.</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">50</span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 296pt;" valign="top" width="395"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal;">Maximum number of records that can be handled by StandardSetController</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 166.1pt;" valign="top" width="221"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"><span style="font-weight: normal;">10,000</span><span style="color: #333333;"></span></span></span></span></span></h2>
</td></tr>
</tbody></table>
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><br style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" /><br style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" /><span style="color: red; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><b>SOQL and SOSL Limits</b></span><br style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" /></span></span></span><br />
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="-webkit-text-stroke-width: 0px; border-collapse: collapse; border: medium none; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; height: 1336px; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; width: 577px; word-spacing: 0px;"><tbody>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333;">Feature</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333;">Limit</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333;">Limit Description</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SOQL statements</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">Maximum length of SOQL statements</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">By default,<span class="apple-converted-space"> </span><span class="ph">SOQL</span><span class="apple-converted-space"> </span>statements cannot exceed 20,000 characters in length.</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SOSL statements</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">Maximum length of SOSL statements</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">The SOSL statement character limit is tied to the SOQL statement character limit defined for your organization. By default, SOQL and SOSL queries cannot exceed 20,000 characters.</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SOSL search query strings</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">Maximum length of</span><samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SearchQuery</span></samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">string</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">If the<span class="apple-converted-space"> </span></span><samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SearchQuery</span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;"> </span></span><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">string is longer than 10,000 characters, no result rows are returned. If<span class="apple-converted-space"> </span></span><samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SearchQuery</span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;"> </span></span><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">is longer than 4,000 characters, any logical operators are removed. For example, the<span class="apple-converted-space"> </span></span><samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">AND</span></samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">operator in a statement with a</span><samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SearchQuery</span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;"> </span></span><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">that’s 4,001 characters will default to the<span class="apple-converted-space"> </span></span><samp><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">OR</span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;"> </span></span><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">operator, which could return more results than expected.</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">SOSL query results</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">Maximum number of rows returned</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span class="ph"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">2,000</span></span><span class="apple-converted-space"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;"> </span></span><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">results total (API version 28.0 and later), unless you specify custom limits in the query. Previous API versions return 200 results.</span><span class="mw-headline"></span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">Relationship queries</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="font-weight: normal;"><span style="background-attachment: scroll; background-image: none; background-position: 0% 0%; background-repeat: repeat; background-size: auto; color: #333333; font-weight: normal;">Relationship query limits</span><span class="mw-headline"></span></span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 17.25pt; margin-left: 18.75pt; text-indent: -18pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="color: #333333;">·<span style="font-stretch: normal; line-height: normal;"> </span></span><span style="color: #333333;">No more than 35 child-to-parent relationships can be specified in a query. A custom object allows up to 25 relationships, so you can reference all the child-to-parent relationships for a custom object in one query.</span><span style="color: #333333;"></span></span></span></span></div>
<div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 17.25pt; margin-left: 18.75pt; text-indent: -18pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="color: #333333;">·<span style="font-stretch: normal; line-height: normal;"> </span></span><span style="color: #333333;">No more than 20 parent-to-child relationships can be specified in a query.</span><span style="color: #333333;"></span></span></span></span></div>
<div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 17.25pt; margin-left: 18.75pt; text-indent: -18pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="color: #333333;">·<span style="font-stretch: normal; line-height: normal;"> </span></span><span style="color: #333333;">In each specified relationship, no more than <a href="https://www.blogger.com/null" name="d518902e136-d519057e54" style="color: #fc5a0b; cursor: pointer; outline: currentcolor none medium; text-decoration: underline;"></a>five levels can be specified in a child-to-parent relationship. For example,</span><span style="color: #333333;">Contact.Account.Owner.FirstName</span><span style="color: #333333;">(three levels).</span><span style="color: #333333;"></span></span></span></span></div>
<div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 17.25pt; margin-left: 18.75pt; text-indent: -18pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="color: #333333;">·<span style="font-stretch: normal; line-height: normal;"> </span></span><span style="color: #333333;">In each specified relationship, only one level of parent-to-child relationship can be specified in a query. For example, if the </span><span style="color: #333333;">FROM</span><span style="color: #333333;"> clause specifies Account, the </span><span style="color: #333333;">SELECT</span><span style="color: #333333;"> clause can specify only the Contact or other objects at that level. It could not specify a child object of Contact.</span><span style="color: #333333;"></span></span></span></span></div>
<h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span class="mw-headline"><span style="font-weight: normal;"> </span></span></span></span></span></h2>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal; line-height: 24.15px;">FOR VIEW and FOR REFERENCE</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal; line-height: 24.15px;">Maximum<span class="ph">RecentlyViewed</span>records allowed</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 17.25pt; margin-left: 18.75pt; text-indent: -18pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">The<span class="apple-converted-space"> </span><span class="ph">RecentlyViewed</span><span class="apple-converted-space"> </span>object is updated every time the logged-in user views or references a record. It is also updated when records are retrieved using the<span class="apple-converted-space"> </span></span><samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">FOR VIEW</span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;"> </span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">or<span class="apple-converted-space"> </span></span><samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">FOR REFERENCE</span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;"> </span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">clause in a SOQL query. To ensure that the most recent data is available,<span class="apple-converted-space"> </span><span class="ph">RecentlyViewed</span><span class="apple-converted-space"> </span>data is periodically truncated down to 200 records per object.</span></span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal; line-height: 24.15px;">OFFSET clause</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal; line-height: 24.15px;">Maximum number of rows skipped by OFFSET</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 17.25pt; margin-left: 18.75pt; text-indent: -18pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="color: #333333;">·</span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">he maximum offset is 2,000 rows. Requesting an offset greater than 2,000 will result in a</span><samp><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">NUMBER_OUTSIDE_VALID_RANGE</span></samp><span class="apple-converted-space"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;"> </span></span><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 11.5px;">error.</span></span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 74.55pt;" valign="top" width="99"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal; line-height: 24.15px;">ORDER BY clause in SOQL statement</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 108.05pt;" valign="top" width="144"><h2 style="line-height: 19.5pt; margin: 7.5pt 0cm;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-weight: normal; line-height: 24.15px;">ORDER BY fields limit</span></span></span></span></h2>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 177.2pt;" valign="top" width="236"><div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 17.25pt; margin-left: 18.75pt; text-indent: -18pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 16.1px;">32 fields</span></span></span></span></div>
</td></tr>
</tbody></table>
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><br style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" /></span></span></span>
<h3 style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><b><span style="color: red;">Metadata Limits</span></b></span></span></span></h3><span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="color: #585757; display: inline; float: none; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"></span></span></span></span>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 16.1px;">The following are limits for deploying and retrieving metadata. These limits apply to the<span class="apple-converted-space"> </span><span class="ph">Force.com IDE</span>, the<span class="apple-converted-space"> </span><span class="ph">Force.com Migration Tool</span>, and the<span class="apple-converted-space"> </span><span class="ph">Metadata API</span>.</span></span></span></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 16.1px;"><br /></span></span></span></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 16.1px;"></span></span></span></span></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="-webkit-text-stroke-width: 0px; border-collapse: collapse; border: medium none; color: #585757; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><tbody>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 231.05pt;" valign="top" width="308"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;"><b>Metadata Limit</b></span></span></span></span></div>
</td><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 231.05pt;" valign="top" width="308"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><b> Limit Description</b></span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 231.05pt;" valign="top" width="308"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Retrieving and deploying metadata</span></span></span></span></div>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 231.05pt;" valign="top" width="308"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Metadata API can deploy and retrieve up to 5,000 filesor 400 MB at one time.</span></span></span></span></div>
<div class="MsoNormal" style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; line-height: 12.75pt; margin-bottom: 7.5pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;">While a specific file size limit is not enforced, you might encounter out-of-memory errors for very large files.</span></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><br /></span></span></span></div>
</td></tr>
<tr><td style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 231.05pt;" valign="top" width="308"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Change sets</span></span></span></span></div>
</td><td style="border-color: currentcolor windowtext windowtext currentcolor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 231.05pt;" valign="top" width="308"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span face=""verdana" , sans-serif"><span style="font-size: small;"><span style="background-color: white;"><span style="background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto;">Inbound and outbound change sets can have up to<span class="ph">5,000 files</span><span class="apple-converted-space"> </span>of metadata.</span></span></span></span></div>
</td></tr>
</tbody></table>
</div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-56428965124301504872017-12-06T11:34:00.000-08:002018-02-12T11:34:53.216-08:00Type of Application Programming Interface (API) in Salesforce<div dir="ltr" style="text-align: left;" trbidi="on">
<table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-text-stroke-width: 0px; background-color: #e4e4e4; color: #585757; font-family: Arial, Helvetica, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><tbody>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span style="color: #38761d;"><b><span>API Name</span></b><span></span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span style="color: #38761d;"><b><span>What It’s For</span></b><span></span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span style="color: #38761d;"><b><span>When to Use It</span></b><span></span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span style="color: #38761d;"><b><span>Protocol</span></b><span></span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span style="color: #38761d;"><b><span>Data Format</span></b><span></span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span style="color: #38761d;"><b><span>Communication</span></b><span></span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>REST API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Accessing objects in your organization using REST.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You want to leverage the REST architecture to integrate with your organization. No WSDL requirement.Well-suited for browser-based applications, mobile apps, and highly-interactive social applications.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>REST</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>JSON, XML</span><span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Synchronous</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>SOAP API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Integrating your organization’s data with other applications using SOAP.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You have pre-existing middleware services that need to work with WSDLs and XML data.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>SOAP/WSDL</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>XML</span><span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Synchronous</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Chatter REST API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Accessing Chatter feeds and social data such as users, groups, followers, and files using REST.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You want to integrateChatter into a variety of applications, such as mobile apps, intranet sites, and third-party Web applications.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>REST</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" summary=""><tbody>
<tr><td style="padding: 3pt; width: 21px;" width="14%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>J</span><span>SON,</span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span> XML</span><span></span></span></div>
</td><td style="padding: 3pt; width: 10px;" width="14%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><br /></span></div>
</td></tr>
</tbody></table>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Synchronous (photos are processed asynchronously)</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Bulk API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Loading or deleting large numbers of records.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You have over a million records to process and speed is a requirement.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>REST</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><span style="font-size: x-small;">csv,xml</span></td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Asynchronous</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" summary=""><tbody>
<tr><td style="padding: 3pt; width: 20px;" width="16%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Metadata API</span><span></span></span></div>
</td><td style="padding: 3pt; width: 21px;" width="20%"><span style="font-size: x-small;"><br /></span></td></tr>
</tbody></table>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Managing customizations in your organization and building tools that can manage the metadata model, not the data itself.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You want to migrate changes, such as custom object definitions and page layouts, from a sandbox to your production environment.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>SOAP/WSDL</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>XML</span><span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Asynchronous</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Streaming API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Providing a stream of data reflecting data changes in your organization.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You need near real-time notifications of when records are created or updated.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Bayeux</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>JSON</span><span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Asynchronous (stream of data)</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Apex REST API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Building your own REST API in Apex. ExposesApex classes as RESTful Web services.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You need to build custom JSON responses or you want to expose custom functionality that you implemented in Apex.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>REST</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>JSON, XML, Custom</span><span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Synchronous</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Apex SOAP API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="height: 79px; width: 142px;" summary=""><tbody>
<tr><td style="padding: 3pt; width: 0px;" width="6%"><span style="font-size: x-small;"><br /></span></td><td style="padding: 3pt; width: 126px;" width="93%"><div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-size: x-small;"><span>Creating custom SOAP Web services in Apex. Exposes Apex classes as SOAP Web services.</span><span></span></span></div>
</td></tr>
</tbody></table>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You need to build custom XML responses or you want to expose custom functionality that you implemented in Apex .</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>SOAP/WSDL</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>XML</span><span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Synchronous</span><span></span></span></div>
</td></tr>
<tr><td style="padding: 0cm; width: 43.3pt;" valign="top" width="58"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Tooling API</span><span></span></span></div>
</td><td style="padding: 0cm; width: 106.3pt;" valign="top" width="142"><table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" summary=""><tbody>
<tr><td style="padding: 3pt; width: 14px;" width="16%"><span style="font-size: x-small;"><br /></span></td><td style="padding: 3pt; width: 20px;" width="20%"><span style="font-size: x-small;"><br /></span></td></tr>
</tbody></table>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Building custom development tools forForce.com applications</span></span></div>
</td><td style="padding: 0cm; width: 4cm;" valign="top" width="151"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>You want to add functionality to your existing development and integration tools or you want to build specialized development tools for a specific application or service.</span><span></span></span></div>
</td><td style="padding: 0cm; width: 2cm;" valign="top" width="76"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>REST and SOAP</span><span></span></span></div>
</td><td style="padding: 0cm; width: 35.45pt;" valign="top" width="47"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>JSON, XML, Custom</span><span></span></span></div>
</td><td style="padding: 0cm; width: 63.8pt;" valign="top" width="85"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: x-small;"><span>Asynchronous</span><span></span></span></div>
</td></tr>
</tbody></table>
<span style="-webkit-text-stroke-width: 0px; background-color: #e4e4e4; color: #585757; font-family: Verdana, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><br class="Apple-interchange-newline" /></span></div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-35191857676838666792017-11-23T11:23:00.000-08:002018-02-12T11:24:22.766-08:00What are Feature method Considerations?<div dir="ltr" style="text-align: left;" trbidi="on">
Methods with the future annotation must be static methods, and can only return a void type. The specified parameters must be primitive data types, arrays of primitive data types, or collections of primitive data types. Methods with the future annotation cannot take sObjects or objects as arguments.<br />
<br />
<ul style="text-align: left;">
<li>Specify <span style="color: blue;">(callout=true)</span> to allow callouts in a future method. </li>
</ul>
<ul style="text-align: left;">
<li>Specify <span style="color: blue;">(callout=false) </span>to prevent a method from making callouts.</li>
<li> </li>
</ul>
<span style="font-family: "Courier New", Courier, monospace;">@future (callout=true)<br /> public static void doCalloutFromFuture() {<br /> //Add code to perform callout<br />} </span><br />
<br />
<br />
<ul style="text-align: left;">
<li><span style="font-family: Times, "Times New Roman", serif;">Remember that any method using the future annotation requires special consideration because the method does not necessarily execute in the same order it is called.</span></li>
</ul>
<ul style="text-align: left;">
<li><span style="font-family: Times, "Times New Roman", serif;">Methods with the future annotation cannot be used in Visualforce controllers in either getMethodName or setMethodName methods, nor in the constructor.</span></li>
</ul>
<ul style="text-align: left;">
<li><span style="font-family: Times, "Times New Roman", serif;">You cannot call a method annotated with future from a method that also has the future annotation. Nor can you call a trigger from an annotated method that calls another annotated method.</span></li>
</ul>
<span style="font-family: Times, "Times New Roman", serif;"><br /> </span></div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-66676083518876863692017-09-06T08:45:00.000-07:002017-09-27T08:47:28.232-07:00Modify variable with operations<div dir="ltr" style="text-align: left;" trbidi="on">
One of the most important functionality of programming is to do calculations. And that is why computers are called computers. In order to do calculations, we need operators.<br /><br /><br />Here is the sample code:<br /><br /><br />Integer i = 10;<br /><br />i *= 2; //Means i = i * 2, i is 20 now<br /><br />i++; //Means i = i + 1, i is 21 now<br /><br />Boolean b = i > 15; // b is true<br /><br />Boolean b2 = i <= 20; //b2 is false<br /><br />Boolean b3 = b && b2; // && means And, b3 is false<br /><br />Boolean b4 = b || b2; // || means Or, b4 is true<br /><br />String str = 'Hello ' + 'World'; //str is Hello World<br /><br /><br /><br /><br /><br />Sometimes people from non-technical background may find it hard to understand statements like i = i + 1. Please note, this is not a mathematical equation. It is a statement in programming. This statement simply means get the value of i, add it by 1, then store the new value back to i.<br /><br />i *= 2 is the abbreviation for i = i * 2. Similarly we can write i += 20 and i /= 2.<br /><br />i++ is the abbreviation for i = i + 1; Similarly we can write i–, ++i and –1. But there is no i** or i // .<br /><br />&& and || are logical operators, means And and Or.<br /><br />+ in String operations means joining two strings together. Please note only + works for string. There is no -, * or / for String operation.<br /><br /><br /><br /> </div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-38629850905417516452017-08-25T08:43:00.000-07:002017-09-27T08:44:17.522-07:00Guys Convert your data type before doing calculation ..<div dir="ltr" style="text-align: left;" trbidi="on">
Here is the Code :<br />
.<br />
<br />
<div class="line number1 index0 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Integer i = </code><code class="java value" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">12</code><code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number2 index1 alt1" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Decimal d = i / </code><code class="java value" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">5</code><code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">System.debug(d);</code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">According to you what should be the right answer 2.4?</span> Nopes current answer is 2.</code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><br /></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Let me explain to you..</code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><br /></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<br /><code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Decimal is a real number, so it can definitely hold 2.4. But the problem is, i is an integer, and 5 is an integer. So Apex will consider the type of i / 5 to be an integer because of that!</span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">So the above code can be translated as:</span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Integer i = 12;<br />Integer temp = i / 5; <br />Decimal d = temp;<br />System.debug(d)</span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Now, make sense?</span></span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </span></span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Okay, what if we want to fix it? We should do the data conversion first, and the calculation later. Below is the code.</span></span></span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </span></span></span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </span></span></span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Integer i = 12; <br />Decimal decVersion = i; <br />Decimal d = decVersion / 5; System.debug(d); </span></span></span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </span></span></span></span></code></div>
<div class="line number3 index2 alt2" style="-webkit-text-stroke-width: 0px; background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #222222; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; height: auto !important; left: auto !important; letter-spacing: normal; line-height: 1.1em !important; margin: 0px !important; orphans: 2; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; top: auto !important; vertical-align: baseline !important; white-space: pre !important; widows: 2; width: auto !important; word-spacing: 0px;">
<code class="java plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: Domine, serif; font-size: 18px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">This will output 2.4</span> </span> </span> </span> </span></code></div>
</div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-83935291455547323462017-08-15T10:10:00.000-07:002017-09-26T10:16:02.228-07:00<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<b id="docs-internal-guid-b4ad51f7-bc72-14a7-d9b5-6360067b35c4" style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue", Helvetica, arial, "Liberation Sans", FreeSans, sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 600; letter-spacing: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">BEST PRACTICES FOR WRITING APEX TEST CLASSES IN SALESFORCE</b></div>
<div style="text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<b id="docs-internal-guid-b4ad51f7-bc72-14a7-d9b5-6360067b35c4" style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue", Helvetica, arial, "Liberation Sans", FreeSans, sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 600; letter-spacing: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><a href="https://1.bp.blogspot.com/-pHBd1OYopSg/WcqKgAQbzII/AAAAAAAAAhM/V5n7GqBE3joX9YZaVXT_ob_kkzv2O5uyACLcBGAs/s1600/salesforce1600.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1600" height="320" src="https://1.bp.blogspot.com/-pHBd1OYopSg/WcqKgAQbzII/AAAAAAAAAhM/V5n7GqBE3joX9YZaVXT_ob_kkzv2O5uyACLcBGAs/s320/salesforce1600.png" width="320" /></a></b></div>
<br />
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; margin: 0px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; margin: 0px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Here are some best practices that we need to be followed while writing test classes in Salesforce:</span></span></div>
<div style="text-align: left;">
<br /></div>
<ol style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; list-style-position: inside; margin: 5px 0px 20px; padding: 0px 0px 0px 20px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">All test methods should reside in a separate class from the class in which the method being tested resides.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">These classes should be perfixed with the word Test the name of the class being tested, e.g.<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/TestReferenceUseRequest" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="TestReferenceUseRequest">TestReferenceUseRequest</a>.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">These classes should all use the @isTest annotation.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">There should be a minimum of “Null Pointer Exception test” as part of negative testing for each method, specially the methods that accept parameters.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">A method without an assert statement is not considered a test method. Large number of relevant assert statements increases confidence in the correct behaviour of business logic.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">There should be a comment with each assert statement explaining what is being tested and what the expected output is.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Only use isTest(<a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/SeeAllData" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="SeeAllData">SeeAllData</a><span> </span>= true) on class methods in exceptional cases where there are sObjects that doesn't allow DML operation e.g.<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/PriceBook" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="PriceBook">PriceBook</a><span> </span>creation.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">No hard coded ids of any sObject in any test method.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">If a Constant needs to be asserted ,its a best practice to reference that from the Constant class or from Custom Labels or Custom Settings. Using hard coded string in unit tests( or any class for that matter) will trigger failures when things like Picklist values change.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">All test data creation should be done from a Utility class. This allows for a streamlined creation of test objects that adhere to all the validation rules.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Creating multiple test method for testing that same production code method should be avoided. We want to ensure that our unit test methods are properly testing the logic but the same time the efficiency of the unit test method should not be ignored. All the unit test methods run with every deployment so the cumulative run time should be as small as possible.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">All private methods should also have its corresponding unit test method. In the production code, add a public method for each private method.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Any asynchronous method testing should include Test.startTest and Test.stopTest. Test.stopTest forces the asynchronous methods to run so the results could be asserted.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Any exceptions that are caught in the production methods should be tested by feeding the test data that throws exception. Exception Type and error message should be asserted.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Every class should have test coverage close to 95% as possible. The focus should be on asserting method behaviour rather than increasing coverage. There are very few instances where a method behaviour is not straightforward to reproduce and hence test. These should be properly commented.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Avoid Try/Catch blocks in test methods.</span></div>
</li>
<li style="box-sizing: border-box; list-style-position: outside; margin: 0px 0px 3px; padding: 0px;"><div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Any business logic that needs to be tested should be enveloped within a Test.runAs(user) statement so profile restrictions can be tested. . Using any admin profiles should be avoided.</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">For Example:A new test user is created, then code is run as that user, with that user's record sharing access:</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">@isTest</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">private class<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/TestRunAs" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="TestRunAs">TestRunAs</a><span> </span>{</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> public static testMethod void testRunAs() {</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> // Setup test data</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> // This code runs as the system user</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> Profile p = [SELECT Id FROM Profile WHERE Name='Standard User'];</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> User u = new User(Alias = 'standt', Email='standarduser@testorg.com',</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> <a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/EmailEncodingKey" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="EmailEncodingKey">EmailEncodingKey</a>='UTF-8',<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/LastName" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="LastName">LastName</a>='Testing',<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/LanguageLocaleKey" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="LanguageLocaleKey">LanguageLocaleKey</a>='en_US',</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> <a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/LocaleSidKey" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="LocaleSidKey">LocaleSidKey</a>='en_US',<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/ProfileId" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="ProfileId">ProfileId</a><span> </span>= p.Id,</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> <a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/TimeZoneSidKey" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="TimeZoneSidKey">TimeZoneSidKey</a>='America/Los_Angeles',<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/UserName" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="UserName">UserName</a>='standarduser@testorg.com');</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<br /></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> System.runAs(u) {</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> // The following code runs as user 'u'</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> System.debug('Current User: ' +<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/UserInfo" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="UserInfo">UserInfo</a>.getUserName());</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> System.debug('Current Profile: ' +<span> </span><a class="wiki_link" href="https://app.assembla.com/wiki/show/refedge/UserInfo" style="background-color: transparent; box-sizing: border-box; color: #1870b7; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none;" title="UserInfo">UserInfo</a>.getProfileId());</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> }</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;"> }</span></div>
<div style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.4; margin: 0px 0px 20px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<span style="box-sizing: border-box; margin: 0px; padding: 0px;">}</span></div>
<div style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">
<br /></div>
</li>
</ol>
<div style="text-align: left;">
<span style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; margin: 0px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue",Helvetica,arial,"Liberation Sans",FreeSans,sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; margin: 0px; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"> </span></span><b id="docs-internal-guid-b4ad51f7-bc72-14a7-d9b5-6360067b35c4" style="-webkit-text-stroke-width: 0px; box-sizing: border-box; color: #111111; font-family: "Helvetica Neue", Helvetica, arial, "Liberation Sans", FreeSans, sans-serif; font-size: 15px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 600; letter-spacing: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> </b></div>
</div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-63622731366390349802012-07-18T03:56:00.000-07:002013-07-18T03:56:49.709-07:00How to Fetch Gmail contact List From your gmail account<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-XPG_Glu0uIk/Uee-7KusP_I/AAAAAAAAAOo/ZnpAXR7IMbc/s1600/GmailLogo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-XPG_Glu0uIk/Uee-7KusP_I/AAAAAAAAAOo/ZnpAXR7IMbc/s1600/GmailLogo.png" /></a></div>
Hi Friends,<br />
<br />
Here I am posting a code to fetch or get gmail contact in our application. For this we need to include some gmail APIs which required while in importing the contact list.<br />
Before code we have to download APIs from <a href="http://code.google.com/p/google-gdata/downloads/list">HERE </a>.After clicking on this you will get a page like this:<br />
<img alt="" height="224" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABjoAAAI1CAYAAABvxyOXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAM40SURBVHhe7P17rGXXnd+J3RlgBkhmArjjAYKZTBLEwDh/xJOggWCCjB17JukxAsRwMhPEM4AHdsaOpYg9LSM3wAyCAD1K4j/IbharSEpUt47IULRkPVoSrZaadl9JZPNVVaSuSpZ0xS6piqwiq5qPWy9WkSIlkuLK/q291z6/9dxrn7PPvefc+nyAb9XZe70f+7W+d5+z9dyf3jQIIYQQQgghhBBCCCGEEEKbqC0DAAAAAAAAAAAAAACwoWB0AAAAAAAAAAAAAADAxoLRAQAAAAAAAAAAAAAAGwtGBwAAAAAAAAAAAAAAbCwYHQAAAAAAAAAAAAAAsLFgdAAAAAAAAAAAAAAAwMaC0QEAAAAAAAAAAAAAABsLRgcAAAAAAAAAAAAAAGwsGB0AAAAAAAAAAAAAALCxYHQAAAAAAAAAAAAAAMDGgtEBAAAAAAAAAA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MQydAAAAAAAALEMHQAAAAAAQCxDBwAAAAAAEMvQAQAAAAAAxDJ0AAAAAAAAsQwdAAAAAABALEMHAAAAAAAQy9ABAAAAAADEMnQAAAAAAACxDB0AAAAAAEAsQwcAAAAAABDL0AEAAAAAAMQydAAAAAAAALEMHQAAAAAAQCxDBwAAAAAAEMvQAQAAAAAAxDJ0AAAAAAAAsQwdAAAAAABALEMHAAAAAAAQy9ABAAAAAADEMnQAAAAAAACxDB0AAAAAAEAsQwcAAAAAABDL0AEAAAAAAMQydAAAAAAAALEMHQAAAAAAQCxDBwAAAAAAEMvQAQAAAAAAxDJ0AAAAAAAAsQwdAAAAAABALEMHAAAAAAAQy9ABAAAAAADEMnQAAAAAAACxDB0AAAAAAEAsQwcAAAAAABDL0AEAAAAAAMQydAAAAAAAALEMHQAAAAAAQCxDBwAAAAAAEMvQAQAAAAAAxDJ0AAAAAAAAsQwdAAAAAABALEMHAAAAAAAQy9ABAAAAAADEMnQAAAAAAACxDB0AAAAAAEAsQwcAAAAAABDL0AEAAAAAAMQydAAAAAAAALEMHQAAAAAAQCxDBwAAAAAAEMvQAQAAAAAAxDJ0AAAAAAAAsQwdAAAAAABALEMHAAAAAAAQy9ABAAAAAADEMnQAAAAAAACxDB0AAAAAAECo1eo/Yg3lIYivKgQAAAAASUVORK5CYII=" width="640" /><br />
You should include following name spaces<br />
using Google.GData.Client;<br />using Google.Contacts;<br />using Google.GData.Extensions;<br />using System.Collections.Generic;<br />
<br />
Then you can use this method...<br />
<br />
private <span style="color: #6fa8dc;">List</span><<span style="color: blue;">string</span>> GetContactList(<span style="color: blue;">string </span>email, <span style="color: blue;">string </span>pwd)<br /> {<br /><br /> <span style="color: #3d85c6;">List</span><<span style="color: blue;">string</span>> lstContacts = <span style="color: blue;">new </span><span style="color: #3d85c6;">List</span><string>();<br /><br /> <span style="color: #6aa84f;"> // Here required your gmail id and password.</span><br /> <span style="color: #3d85c6;"> RequestSettings</span> rsLoginInfo = <span style="color: blue;">new </span><span style="color: #3d85c6;">RequestSettings</span>("", email, pwd);<br /> rsLoginInfo.AutoPaging = <span style="color: blue;">true</span>;<br /> <span style="color: #3d85c6;">ContactsRequest </span>cRequest = <span style="color: blue;">new </span><span style="color: #3d85c6;">ContactsRequest</span>(rsLoginInfo);<br /><br /> <span style="color: #6aa84f;"> // get contacts list</span><br /> <span style="color: #3d85c6;"> Feed<Contact></span> feedContacts = cRequest.GetContacts();<br /><br /> <span style="color: #6aa84f;">// looping the feedcontact entries</span><br /> <span style="color: blue;">foreach </span>(<span style="color: #3d85c6;">Contact </span>gmailAddresses in feedContacts.Entries)<br /> {<br /> <span style="color: #6aa84f;">// Looping to read email addresses</span><br /> <span style="color: blue;">foreach </span>(<span style="color: #3d85c6;">EMail </span>emailId in gmailAddresses.Emails)<br /> {<br /> lstContacts.Add(emailId.Address);<br /> }<br /> }<br /> <br /> <span style="color: blue;">return </span>lstContacts; <br /> }<br />
<br />
Hope this will help you ...<br />
Regards,<br />
Rajesh</div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-88189934375603392082012-07-04T05:02:00.000-07:002013-07-18T05:04:34.056-07:00Cloud Computing on Microsoft Technologies<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-C0UjgI6ORKA/UefYuzkrX9I/AAAAAAAAAPw/0Lky0utI_mk/s1600/Cloud.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-C0UjgI6ORKA/UefYuzkrX9I/AAAAAAAAAPw/0Lky0utI_mk/s1600/Cloud.jpg" /></a></div>
Cloud computing delivers the ability to provision resources on demand to your users. Cloud computing is enabling a major transformation in which you can turn your datacenter into an IT-as-a-Service platform. This means you can deliver applications to your end users faster than ever, without investing in new infrastructure, training new personnel, or licensing new software. Cloud computing also helps your organization compete in new markets and communicate with customers in new ways. You can drive down the costs of doing business and increase your ability to adapt to changing market conditions.<br />
<br />
Because cloud computing changes the way your organization consumes IT, you can change the role of IT in your organization and the way your team thinks about and delivers business success.<br />
<br />
Whether in your datacenter, with a service provider, or from Microsoft’s datacenters, Microsoft provides the choice, flexibility, and control to adopt cloud computing in whichever way best meets your unique business needs; whether that be through a private cloud, a public cloud, or a combination of the two.<br />
<br />
Microsoft provides the following cloud computing offerings:<br />
<br />
<b>Private Cloud</b><br />
<br />
Microsoft private cloud solutions give you the flexibility and control to harness the power of the cloud on your terms. A Microsoft private cloud provides end to end service management giving you deep insight about your applications and workloads so you focus more attention on delivering business value. And with your choice of a hosted, pre-configured, or custom offering, you have the power to find the private cloud solution that fits your unique business needs.<br />
<br />
<br />
<br />
<b>Public Cloud</b><br />
<br />
Windows Azure is the cloud platform that empowers you to develop and run applications with unbounded scalability and ease-of-use. With this flexible platform you can easily scale up or down to meet the demands of your business. With the pay-for-use business model, you don’t waste money on services you won’t use. And Windows Azure allows your developers to develop and run applications quickly, while leveraging current skills to develop applications with .NET, PHP, or Java.<br />
<br />
<b>Benefits</b><br />
<br />
The future of the cloud is going to be a hybrid combination of public and private cloud, not one or the other. There will be times when you want to run a workload in a private cloud, then move it up to a public cloud, and later move it back again to your private cloud. We see a Microsoft private cloud as the first step towards building a cloud that allows you to go into the public cloud, which is what we call Windows Azure. With Microsoft, our cloud offerings are designed so that your private cloud and public cloud work together.<br />
<br />
<b>Cloud computing on your terms</b><br />
<br />
With Microsoft cloud solutions, you remain in full control whether it is in your datacenter, a partner datacenter, or Microsoft’s datacenters. Only with Microsoft cloud solutions do you get:<br />
<br />
<br />
=> A common set of management tools.<br />
=> The ability to see all the applications in your traditional, public, and private cloud environments from a single console.<br />
=>A common set of identity tools.<br />
=>When users log in, they get access to all the traditional, private, and public cloud services you’ve given them access to.<br />
=>The ability to develop applications that run in both the private and public cloud. <br />
<br />
Find out more about <a href="http://www.microsoft.com/en-in/server-cloud/cloud-computing/default.aspx">Microsoft’s cloud solution.</a></div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-70192384529816162632012-03-04T03:41:00.000-08:002012-05-14T07:59:38.520-07:00How to get query string value in javascript<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-e5HCYwinjvI/T7EdWmenvrI/AAAAAAAAAKc/8xGW5jLyfwo/s1600/RajeshC%23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="154" src="http://1.bp.blogspot.com/-e5HCYwinjvI/T7EdWmenvrI/AAAAAAAAAKc/8xGW5jLyfwo/s200/RajeshC%23.png" width="200" /></a></div>
<br />
<br />
<div class="MsoNormal">
Hi Friends,</div>
<div class="MsoNormal">
Few days ago I need to get the query string value at client
side in my application then I got a java script method via searching which returns the query
string value.</div>
<div class="MsoNormal">
You just pass the name of the parameter name to the method.
Here I am placing the method.</div>
<div class="MsoNormal">
<br /></div>
<br />
<span style="color: blue;"><script type="text/javascript"> </span><br />
<span style="color: blue;">function getQuerystring(key, default_) {</span><br />
<span style="color: blue;"> if (default_ == null) default_ = "";</span><br />
<span style="color: blue;"> key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");</span><br />
<span style="color: blue;"> var regex = new RegExp("[\\?&]" + key + "=([^&#]*)");</span><br />
<span style="color: blue;"> var qs = regex.exec(window.location.href);</span><br />
<span style="color: blue;"> if (qs == null)</span><br />
<span style="color: blue;"> return default_;</span><br />
<span style="color: blue;"> else</span><br />
<span style="color: blue;"> return qs[1];</span><br />
<span style="color: blue;"> }</span><br />
<span style="color: blue;"></script></span><br />
<span style="color: blue;"><br /></span><br />
<span style="color: #38761d;">you just get the query string value like this </span><br />
<span style="background-color: yellow;">var paraValue=getQuerystring(key, 'ParaName') ;</span><br />
<br />
Hope this will help you...<br />
Rajesh</div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-36312623948893107922012-02-08T00:36:00.000-08:002012-02-08T03:02:46.098-08:00Converting Multipage TIFF image to PDF<div dir="ltr" style="text-align: left;" trbidi="on"><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-qzlOa8GUmDc/TzJWQJW3qaI/AAAAAAAAAHA/oJuKioqL0ck/s1600/Rajesh_C%23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="133" src="http://1.bp.blogspot.com/-qzlOa8GUmDc/TzJWQJW3qaI/AAAAAAAAAHA/oJuKioqL0ck/s200/Rajesh_C%23.png" width="200" /></a></div><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">Hi friends </span></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">Here I am placing a code to convert tiff image to pdf file. Some time we need to convert the tiff</span> <span style="font-family: "Times New Roman","serif"; font-size: 12pt;">image to pdf file according to the client need .There are a few for .NET including </span><a href="http://itextsharp.sourceforge.net/" target="_blank">iTextSharp</a>, <a href="http://www.pdfsharp.net/" target="_blank">PDFsharp</a> and <a href="http://www.stefanochizzolini.it/en/projects/clown/" target="_blank">PDF Clown</a>. <span style="font-family: "Times New Roman","serif"; font-size: 12pt;">I used iTextSharp because it has a sample that was showing how to create a PDF file from a multipage TIFF image</span></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal;"></div><div class="MsoNormal" style="color: #38761d; line-height: normal;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">// creation of the document with a certain size and certain margins </span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">iTextSharp.text.Document document = new iTextSharp.text.Document(iTextSharp.text.PageSize.A4, 0, 0, 0, 0); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: #38761d; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">// creation of the different writers </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">iTextSharp.text.pdf.PdfWriter writer = iTextSharp.text.pdf.PdfWriter.GetInstance(document, new System.IO.FileStream(Server.MapPath("~/PDF/Output.pdf"), System.IO.FileMode.Create)); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: #38761d; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">// load the tiff image and count the total pages </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">System.Drawing.Bitmap bm = new System.Drawing.Bitmap(Server.MapPath("~/FolderLocation/file.tif")); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">int total = bm.GetFrameCount(System.Drawing.Imaging.FrameDimension.Page); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">document.Open(); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">iTextSharp.text.pdf.PdfContentByte cb = writer.DirectContent; </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">for (int k = 0; k < total; ++k) </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">{ </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> bm.SelectActiveFrame(System.Drawing.Imaging.FrameDimension.Page, k); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance(bm, System.Drawing.Imaging.ImageFormat.Bmp); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> <span style="color: #38761d;"> // scale the image to fit in the page </span></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> img.ScalePercent(72f / img.DpiX * 100); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> img.SetAbsolutePosition(0, 0); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> cb.AddImage(img); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> document.NewPage(); </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">} </span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-left: 22.5pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">document.Close(); </span></div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-62052475761334335642012-01-15T02:23:00.000-08:002013-07-22T05:34:21.160-07:00String Format for Double and Int in C#<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> <w:DontVertAlignCellWithSp/> <w:DontBreakConstrainedForcedTables/> <w:DontVertAlignInTxbx/> <w:Word11KerningPairs/> <w:CachedColBalance/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathPr> <m:mathFont m:val="Cambria Math"/> <m:brkBin m:val="before"/> <m:brkBinSub m:val="--"/> <m:smallFrac m:val="off"/> <m:dispDef/> <m:lMargin m:val="0"/> <m:rMargin m:val="0"/> <m:defJc m:val="centerGroup"/> <m:wrapIndent m:val="1440"/> <m:intLim m:val="subSup"/> <m:naryLim m:val="undOvr"/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267"> <w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/> <w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/> <w:LsdException Locked="false" Priority="39" Name="toc 1"/> <w:LsdException Locked="false" Priority="39" Name="toc 2"/> <w:LsdException Locked="false" Priority="39" Name="toc 3"/> <w:LsdException Locked="false" Priority="39" Name="toc 4"/> <w:LsdException Locked="false" Priority="39" Name="toc 5"/> <w:LsdException Locked="false" Priority="39" Name="toc 6"/> <w:LsdException Locked="false" Priority="39" Name="toc 7"/> <w:LsdException Locked="false" Priority="39" Name="toc 8"/> <w:LsdException Locked="false" Priority="39" Name="toc 9"/> <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/> <w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/> <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/> <w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/> <w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/> <w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/> <w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/> <w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/> <w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/> <w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/> <w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/> <w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/> <w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/> <w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/> <w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/> <w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/> <w:LsdException Locked="false" Priority="37" Name="Bibliography"/> <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style> <![endif]--> <br />
<h1>
<span style="font-size: 16.0pt; mso-bidi-font-size: 24.0pt;">String Format for Double [C#]</span></h1>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-L8iXDQpgJxo/Ue0moy9a7OI/AAAAAAAAAQE/z7pgDko0cCI/s1600/vs..jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-L8iXDQpgJxo/Ue0moy9a7OI/AAAAAAAAAQE/z7pgDko0cCI/s1600/vs..jpg" /></a></div>
<h1>
<span style="font-size: 16pt;"> </span></h1>
The following examples show how to format float numbers to string in C#. You can use static method <b><a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx">String.Format</a></b> or instance methods <a href="http://msdn2.microsoft.com/en-us/library/kfsatb94.aspx">double.ToString</a> and <a href="http://msdn2.microsoft.com/en-us/library/f71z6k0c.aspx">float.ToString</a>.<br />
<b style="mso-bidi-font-weight: normal;">Digits after decimal point</b><br />
This example formats double to string with <b>fixed number of decimal places</b>. For two decimal places use pattern „<b>0.00</b>“. If a float number has less decimal places, the rest digits on the right will be zeroes. If it has more decimal places, the number will be rounded.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="comments"><span style="color: #00b050;">// just two decimal places</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.00}"</span>, 123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.46"</span></span><span style="color: #00b050;"></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.00}"</span>, 123.4);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.40"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.00}"</span>, 123.0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.00"</span></span></pre>
<pre> </pre>
Next example formats double to string with <b>floating number of decimal places</b>. E.g. for maximal two decimal places use pattern „<b>0.##</b>“.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="comments"><span style="color: #00b050;">// max. two decimal places</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.##}"</span>, 123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.46"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.##}"</span>, 123.4);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.4"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.##}"</span>, 123.0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123"</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Digits before decimal point</b><br />
If you want a float number to have any <b>minimal number of digits before decimal point</b> use N-times zero before decimal point. E.g. pattern „<b>00.0</b>“ formats a float number to string with at least two digits before decimal point and one digit after that.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="comments"><span style="color: #00b050;">// at least two digits before decimal point</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:00.0}"</span>, 123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.5"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:00.0}"</span>, 23.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "23.5"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:00.0}"</span>, 3.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "03.5"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:00.0}"</span>, -3.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "-03.5"</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Thousands separator</b><br />
To format double to string <b>with use of thousands separator</b> use zero and comma separator before an usual float formatting pattern, e.g. pattern „<b>0,0.0</b>“ formats the number to use thousands separators and to have one decimal place.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0,0.0}"</span>, 12345.67);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "12,345.7"</span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt;"></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0,0}"</span>, 12345.67);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "12,346"</span></span></pre>
<pre><span class="comments"><span style="color: #00b050;"> </span></span></pre>
<b style="mso-bidi-font-weight: normal;">Zero</b><br />
Float <b>numbers between zero and one</b> can be formatted in two ways, with or without leading zero before decimal point. To format number without a leading zero use <b>#</b> before point. For example „<b>#.0</b>“ formats number to have one decimal place and zero to N digits before decimal point (e.g. „.5“ or „123.5“).<br />
Following code shows <b>how can be formatted a zero</b> (of double type).<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.0}"</span>, 0.0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "0.0"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.#}"</span>, 0.0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "0"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:#.0}"</span>, 0.0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// ".0"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:#.#}"</span>, 0.0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// ""</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Align numbers with spaces</b><br />
To align float number <b>to the right</b> use comma „<b>,</b>“ option before the colon. Type comma followed by a number of spaces, e.g. „<b>0,10:0.0</b>“ (this can be used only in <a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx">String.Format</a> method, not in <a href="http://msdn2.microsoft.com/en-us/library/kfsatb94.aspx">double.ToString</a> method). To align numbers <b>to the left</b> use negative number of spaces.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0,10:0.0}"</span>, 123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "<span style="mso-spacerun: yes;"> </span>123.5"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0,-10:0.0}"</span>, 123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.5</span><span style="mso-spacerun: yes;"> </span>"</span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0,10:0.0}"</span>, -123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "<span style="mso-spacerun: yes;"> </span>-123.5"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0,-10:0.0}"</span>, -123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "-123.5<span style="mso-spacerun: yes;"> </span>"</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Custom formatting for negative numbers and zero</b><br />
If you need to use custom format for negative float numbers or zero, use <b>semicolon separator</b> „<b>;</b>“ to split pattern to <b>three sections</b>. The first section formats positive numbers, the <b>second section formats negative numbers</b> and the third section formats zero. If you omit the last section, zero will be formatted using the first section.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.00;minus 0.00;zero}"</span>, 123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "123.46"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.00;minus 0.00;zero}"</span>, -123.4567);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "minus 123.46"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0.00;minus 0.00;zero}"</span>, 0.0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;"><span style="mso-spacerun: yes;"> </span>// "zero"</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Some funny examples</b><br />
As you could notice in the previous example, you can put any text into formatting pattern, e.g. before an usual pattern „<b><i>my text </i>0.0</b>“. You can even put any text between the zeroes, e.g. „<b>0<i>aaa</i>.<i>bbb</i>0</b>“.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0:my number is 0.0}"</span>, 12.3);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "my number is 12.3"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:0aaa.bbb0}"</span>, 12.3);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "12aaa.bbb3"</span></span></pre>
<pre><span class="comments"><span style="color: #00b050;"> </span></span></pre>
<pre><span class="comments"><span style="color: #00b050;"> </span></span></pre>
<h1>
<span style="font-size: 16.0pt; mso-bidi-font-size: 24.0pt;">String Format for Int [C#]</span></h1>
<h1>
<span style="font-size: 16pt;"> </span></h1>
Integer numbers can be formatted in .NET in many ways. You can use static method String.<a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx">Format</a> or instance method int.<a href="http://msdn2.microsoft.com/en-us/library/system.int32.tostring.aspx">ToString</a>. Following examples shows how to align numbers (with spaces or zeroes), how to format negative numbers or how to do custom formatting like phone numbers.<br />
<b style="mso-bidi-font-weight: normal;">Add zeroes before number</b><br />
To add zeroes before a number, use <b>colon separator „:“</b><br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0:00000}"</span>, 15);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "00015"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:00000}"</span>, -15);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;"><span style="mso-spacerun: yes;"> </span></span></span><span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "-00015"</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Align number to the right or left</b><br />
To align number to the right, use <b>comma „,“</b> followed by a number of characters. This alignment option must be before the colon separator.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0,5}"</span>, 15);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "<span style="mso-spacerun: yes;"> </span>15"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0,-5}"</span>, 15);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "15<span style="mso-spacerun: yes;"> </span>"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0,5:000}"</span>, 15);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "<span style="mso-spacerun: yes;"> </span>015"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0,-5:000}"</span>, 15);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "015<span style="mso-spacerun: yes;"> </span>"</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Different formatting for negative numbers and zero</b><br />
You can have special format for negative numbers and zero. Use <b>semicolon separator „;“</b> to separate formatting to two or three sections. The second section is format for negative numbers, the third section is for zero.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0:#;minus #}"</span>, 15);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "15"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:#;minus #}"</span>, -15); <span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "minus 15"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:#;minus #;zero}"</span>, 0);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "zero"</span></span></pre>
<pre> </pre>
<b style="mso-bidi-font-weight: normal;">Custom number formatting (e.g. phone number)</b><br />
Numbers can be formatted also to any custom format, e.g. like phone numbers or serial numbers.<br />
<div class="MsoNormal">
[C#]</div>
<pre><span class="type">String</span>.Format(<span class="string">"{0:+### ### ### ###}"</span>, 447900123456); <span class="comments"><span style="color: #00b050;">// "+447 900 123 456"</span></span></pre>
<pre><span class="type">String</span>.Format(<span class="string">"{0:##-####-####}"</span>, 8958712551);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "89-5871-2551"</span></span></pre>
<pre> </pre>
<pre><span class="comments"><span style="color: #00b050;"> </span></span></pre>
<pre> </pre>
<div class="MsoNormal">
<br /></div>
</div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-46074780489291547872012-01-15T00:51:00.000-08:002012-02-08T01:52:07.220-08:00Basic XML Operations in C#<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-Jb4-DcvzOu8/TzI7fxMa3dI/AAAAAAAAAGw/pPvQ6IePap0/s1600/xml-tutorial.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-Jb4-DcvzOu8/TzI7fxMa3dI/AAAAAAAAAGw/pPvQ6IePap0/s1600/xml-tutorial.png" /></a></div>Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications , all gratis open standards.<br />
<br />
Here I am explaining you the basic XML operations which is normally used in the C# coding .<br />
<br />
<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;"></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;"><b><span style="font-family: "Times New Roman","serif"; font-size: 16pt;">Select XML Nodes by Name [C#]</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal;"></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To find nodes in an XML file you can use XPath expressions. Method</span><span style="font-family: "Times New Roman","serif"; font-size: 10pt;"> <b><a href="http://msdn2.microsoft.com/en-us/library/system.xml.xmlnode.selectnodes.aspx"><span style="color: blue;">XmlNode.SelectNodes</span></a></b> </span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">returns</span><span style="font-family: "Times New Roman","serif"; font-size: 10pt;"> </span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">a list of <b style="mso-bidi-font-weight: normal;">nodes</b> selected by the XPath string. Method </span><b><span style="font-family: "Times New Roman","serif"; font-size: 10pt;"><a href="http://msdn2.microsoft.com/en-us/library/system.xml.xmlnode.selectsinglenode.aspx"><span style="color: blue;">XmlNode.SelectSingleNode</span></a></span></b><span style="font-family: "Times New Roman","serif"; font-size: 10pt;"> </span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">finds the <b style="mso-bidi-font-weight: normal;">first node</b> that matches the XPath string.</span></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">Suppose we have this XML file.</span></div><div class="MsoNormal" style="line-height: normal;"></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"><Names></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <b><Name></b></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <FirstName>Vishal</FirstName></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <LastName>Soni</LastName></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <b></Name></b></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <b><Name></b></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <FirstName>Bharat</FirstName></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <LastName></span> <span style="font-family: "Courier New"; font-size: 10pt;">Shekhar</LastName></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <b></Name></b></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"></Names></span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To get all <Name> nodes use <b>XPath expression</b> </span><span style="font-family: "Courier New"; font-size: 10pt;">/Names/Name</span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">. The first slash means that the <Names> node must be a root node. SelectNodes method returns collection <a href="http://msdn2.microsoft.com/en-us/library/system.xml.xmlnodelist.aspx"><span style="color: blue;">XmlNodeList</span></a> which will contain the <Name> nodes. To <b>get value</b> of sub node <FirstName> you can simply index <a href="http://msdn2.microsoft.com/en-us/library/system.xml.xmlnode.aspx"><span style="color: blue;">XmlNode</span></a> with the node name: </span><span style="font-family: "Courier New"; font-size: 10pt;">xmlNode["FirstName"].InnerText</span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">. See the example below.</span></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">@[C#]</span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">XmlDocument xml = new XmlDocument();</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">xml.LoadXml(myXmlString); <span style="color: #38761d;">// suppose that myXmlString contains "<Names>...</span></Names>"</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">XmlNodeList xnList = xml.<b>SelectNodes</b>("/Names/Name");</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">foreach (XmlNode xn in xnList)</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">{</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> string firstName = xn["FirstName"].InnerText;</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> string lastName = xn["LastName"].InnerText;</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> Console.WriteLine("Name: {0} {1}", firstName, lastName);</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">}</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">The output is:</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Name: Vishal Soni</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Name: Bharat Shekhar</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;"><b><span style="font-family: "Times New Roman","serif"; font-size: 16pt;">Select XML Nodes by Attribute Value [C#]</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">This example shows how to select nodes from XML document <b>by attribute value</b>. Use method <b><a href="http://msdn2.microsoft.com/en-us/library/system.xml.xmlnode.selectnodes.aspx"><span style="color: blue;">XmlNode.SelectNodes</span></a></b> to get list of nodes selected by the XPath expression. Suppose we have this XML file.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">[XML]</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"><Names></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name type="M"></span> <span style="font-family: "Courier New"; font-size: 10pt;">Bharat</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name type="F"></span> <span style="font-family: "Courier New"; font-size: 10pt;">Shekhar</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name type="M"></span> <span style="font-family: "Courier New"; font-size: 10pt;">Vashistha</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"></Names></span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To get <b>all name nodes</b> use XPath expression </span><span style="font-family: "Courier New"; font-size: 10pt;">/Names/Name</span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">. To get <b>only male names</b> (to select all nodes with specific XML attribute) use XPath expression </span><span style="font-family: "Courier New"; font-size: 10pt;">/Names/Name[@type='M']</span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">@[C#]</span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">XmlDocument xml = new XmlDocument();</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">xml.LoadXml(str); <span style="color: #38761d;">// suppose that str string contains "<Names>...</Names>"</span></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">XmlNodeList xnList = xml.<b>SelectNodes</b>("/Names/Name[@type='M']");</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">foreach (XmlNode xn in xnList)</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">{</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> Console.WriteLine(xn.InnerText);</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">}</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">The output is:</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Bharat </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Vashistha</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;"><b><span style="font-family: "Times New Roman","serif"; font-size: 16pt;">Select Top XML Nodes using XPath [C#]</span></b><br />
<br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">This example shows how to select <b>Top N</b> nodes of the specific name from an XML document. To <a href="http://www.csharp-examples.net/xml-nodes-by-name/"><span style="color: blue;">select nodes from XML</span></a> use method <a href="http://msdn2.microsoft.com/en-us/library/system.xml.xmlnode.selectnodes.aspx"><span style="color: blue;">XmlNode.SelectNodes</span></a>. Pass <b>XPath</b> expression as a parameter and the method returns a list of selected nodes. Suppose we have this XML file.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">[XML]</span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"><Names></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name>Vishal</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name>Piyush</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name>Shiv</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name>Amit</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name></span><span style="font-family: "Courier New"; font-size: 10pt;">Bharat</span><span style="font-family: "Courier New"; font-size: 10pt;"></Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name>Shekhar</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> <Name>Vashistha</Name></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"></Names></span></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To get all <Name> nodes use XPath expression </span><span style="font-family: "Courier New"; font-size: 10pt;">/Names/Name</span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">. If you don't want to selected all nodes, but only <b>top 5 nodes</b>, you can uses XPath expression like this </span><span style="font-family: "Courier New"; font-size: 10pt;">/Names/Name[position() <= 5]</span><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">. See the example below.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">[C#]</span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">XmlDocument xml = new XmlDocument();</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">xml.LoadXml(str); <span style="color: #38761d;">// suppose that str string contains "<Names>...</Names>"</span></span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">XmlNodeList xnList = xml.<b>SelectNodes</b>("/Names/Name[<b>position</b>() <= 5]");</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">foreach (XmlNode xn in xnList)</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">{</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> Console.WriteLine(xn.InnerText);</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 10pt;">}</span></div><span style="color: blue;"> </span><br />
<div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">The output is:</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Vishal </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Piyush </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Shiv </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Amit </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Bharat</span><span style="font-family: "Courier New"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"> Hope this will help you ..</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;"><br />
</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">Regards ,</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">Rajesh</span></div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="color: blue; line-height: normal; margin-bottom: 0.0001pt;"><br />
</div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal;"><br />
</div><br />
<br />
</div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com1tag:blogger.com,1999:blog-2301416678184686957.post-14780712385984204812012-01-08T03:14:00.000-08:002012-12-21T03:20:09.108-08:00Difference between dot net 3.5 and 4.0<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
<br /></div>
<table border="2" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="margin-left: .5in; mso-cellspacing: 0in; mso-padding-alt: 5.25pt 5.25pt 5.25pt 5.25pt; mso-yfti-tbllook: 1184; width: 608px;">
<colgroup><col width="38"></col><col width="222"></col><col width="251"></col></colgroup>
<tbody>
<tr>
<td style="background: silver; padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"><b>S.No</b><o:p></o:p></span></div>
</td>
<td style="background: silver; padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"><b>ASP.NET 3.5</b><o:p></o:p></span></div>
</td>
<td style="background: silver; padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"><b>ASP.NET 4.0</b><o:p></o:p></span></div>
</td>
</tr>
<tr style="height: 204.15pt; mso-yfti-irow: 1;">
<td style="height: 204.15pt; padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">1<o:p></o:p></span></div>
</td>
<td style="height: 204.15pt; padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether Client data can be directly
accessed ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">In ASP.NET 3.5, the data from the client side
cannot be directly accessed. The client side data can only be accessed using
script manager’s Page methods,<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">interface named ICallbackEventHandler<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">or by using the component<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">XMLHttpHandler.</span></div>
</td><td style="height: 204.15pt; padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether Client data can be directly
accessed ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">In ASP.NET 4, the data from the client side
can be</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">directly accessed using client data view and client</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> data context </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> objects.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Following methods are available in
ASP.NET 4.0 to access </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Client data directly,<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">1) Client data controls<br />
2) Client templates<br />
3) Client data context<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">2<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether we can set MetaTags
(Keywords,Description) in the Page Directive?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">In ASP.NET 3.5, two meta tags can be used,
one with name as keywords and other with name as description to record the
keywords and description for SEO purpose.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Please look atMetaTags for ASP.NET 3.5<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether we can set MetaTags
(Keywords,Description) </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">in the Page Directive?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">The meta keywords and meta<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">description is really useful for SEO<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">optimization of the web page. In<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">ASP.NET 4, the keywords and<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">description can be included as part of
page directive itself.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Please look at MetaTags for ASP.NET
4.0<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">3<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether ViewState can be applied at the
Control level ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">ASP.NET 3.5 EnableViewState property
cannot be used to apply ViewState at the Control level.It is mainly used at
the page level.Its default value is True and its acceptable values ae True
and False.<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether ViewState can be applied at the
Control</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> level ?<br />
In ASP.NET 4, ViewState mechanism is improved</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> to set ViewState at the Contol
level besides at </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">the page level set by EnableViewState property in </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">ASP.NET
3.5 .Its default value is Inherit and</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> acceptable values areEnabled,Disabled
and Inherit.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">4<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">How ASP.NET 3.5 identifies ClientID ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">In ASP.NET 3.5, ClientId property has to be
used to find the dynamically generated client id.<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">How ASP.NET 4.0 identifies ClientID ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">In ASP.NET 4, a property called<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">ClientIDMode is newly introduced to </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> identify and record the ClientId easily.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">ClientIDMode has following values.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">AutoID – Same as ASP.NET 3.5<br />
Static – There won’t be any separate </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">clientid generated at run time<br />
Predictable-These are used particularly</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> in datacontrols. Format is like
clientIDrowsuffix </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">with the clientid vlaue<br />
Inherit- This value specifies that a control’s ID</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> generation is the same as
its parent.<br />
<br />
<br />
The default value of <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.control.clientidmode.aspx"><span style="color: black; text-decoration: none; text-underline: none;">ClientIDMode</span></a> for
a page</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> is<a href="http://msdn.microsoft.com/en-us/library/system.web.ui.clientidmode.aspx" style="text-decoration: initial;"><span style="color: black;">Predictable</span></a>. The default value of <span style="color: black; text-decoration: none; text-underline: none;"><a href="http://msdn.microsoft.com/en-us/library/system.web.ui.control.clientidmode.aspx">ClientIDMode</a></span></span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> for
a control is <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.clientidmode.aspx"><span style="color: black; text-decoration: none; text-underline: none;">Inherit</span></a>.
Because the default for</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> controls is<a href="http://msdn.microsoft.com/en-us/library/system.web.ui.clientidmode.aspx" style="text-decoration: initial;"><span style="color: black;">Inherit</span></a>, the default generation mode is</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.clientidmode.aspx"><span style="color: black; text-decoration: none; text-underline: none;">Predictable</span></a>.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">5<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether permanent redirection is possible
or not ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">There is no RedirectPermanent() method
available in ASP.NET 3.5.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Redirect method is less useful than the
RedirectPermanent method. It will cause search engine results to be less
current, and this can also impact performance because visitors will not be
accessing the best URL. Redirect may be most useful for login pages or more
complex situations.<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Whether permanent redirection is possible
or not ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">ASP.Net 4.0 introduced a new URL
redirection method RedirectPermanent() which avoids round trips.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"><br />
We can implement this as shown below:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">RedirectPermanent("/newpath/newpage.aspx");<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">RedirectPermanent returns a 301 HTTP
response</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">—it redirects permanently to another location. </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Search engines such as
Google and Bing will</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> change their indexes to point to the new page </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">directly.
To call RedirectPermanent you will need</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> to get the Response object from the
HttpContext.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Then, you can call
RedirectPermanent: if you pass false as the second parameter, you can perform
further ac</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">tions and avoid an exception.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">6<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Output Caching Enhancement:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">OutPut Cache in ASP.Net 3.5 has a
limitation - generated content always has to be stored in memory, and on
servers that are experiencing heavy traffic, the memory consumed by output
caching can compete with memory demands from other portions of a Web
application.<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Output Caching Enhancement:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">ASP.NET 4 adds an extensibility point to
output</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> caching that enables you to configure one or </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">more custom output-cache
providers. Output-cache</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> providers can use any storage mechanism to </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">persist
HTML content. This makes it possible to </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">create custom output-cache providers
for diverse </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">persistence mechanisms, which can include local </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">or remote disks,
cloud storage, and distributed </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">cache engines.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">In order to know how to implement Custom </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> Output Caching, please refer to the following </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">URL,<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"><a href="http://www.technologymaterial.com/QAndADetails.aspx?qid=3&type=aspnet4" style="text-decoration: initial;"><span style="color: black;">http://www.technologymaterial.com/QAndADetails.aspx?qid=3&type=aspnet4</span></a><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 30.05pt;" valign="top" width="40"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">7<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 100.45pt;" valign="top" width="134"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">QueryExtender Control for filtering the
data returned by EntityDataSource and LinqDataSource controls:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">There is no QueryExtender control
available in ASP.NET 3.5 to filter the data returned by DataSource Controls(
EntityDataSource and LinqDataSource).It has to explicitly use 'Where clause'
in the data source.<o:p></o:p></span></div>
</td>
<td style="padding: 5.25pt 5.25pt 5.25pt 5.25pt; width: 325.5pt;" valign="top" width="434"><div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">QueryExtender Control for filtering the
data returned </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">by EntityDataSource and LinqDataSource controls:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">QueryExtender Control is an add-on to the
DataSource</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> Controls: EntityDataSource and LinqDataSource. </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">QueryExtender is
used to filter the data returned by </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">these controls. As the QueryExtender
control relies on </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">LINQ, the filter is applied on the database server before
the data is sent to the page, which results in very efficient operations.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">i.e., QueryExtender Control is
intended to be used </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">to create filters for data that is retrieved from a data </span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> source, without using an explicit Where clause in the</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> data source. The
control can be used to filter data in</span><br />
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;"> the markup of a Web page by using
declarative syntax.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Verdana, sans-serif; font-size: 7.5pt; line-height: 115%;">Please look at QueryExtender Control
in ASP.NET 4.0<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
</div>
Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-71856604650505538642011-12-25T02:04:00.000-08:002012-02-08T02:19:12.293-08:00String Format for DateTime [C#]<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-Uxl9EYzebzg/TzJK6JokJaI/AAAAAAAAAG4/89QOWFcysh4/s1600/Rajesh+C%23.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-Uxl9EYzebzg/TzJK6JokJaI/AAAAAAAAAG4/89QOWFcysh4/s1600/Rajesh+C%23.jpg" /></a></div> <b><span style="font-size: 16.0pt; mso-bidi-font-size: 24.0pt;">String Format for DateTime [C#]</span></b><br />
<br />
This example shows how to format <a href="http://msdn2.microsoft.com/en-us/library/system.datetime.aspx">DateTime</a> using <a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx">String.Format</a> method. All formatting can be done also using <a href="http://msdn2.microsoft.com/en-us/library/zdtaw1bw.aspx">DateTime.ToString</a> method.<br />
<h2 style="font-weight: normal;">Custom DateTime Formatting</h2>There are following custom format specifiers <code><span style="font-size: 10.0pt;">y</span></code> (year), <code><span style="font-size: 10.0pt;">M</span></code> (month), <code><span style="font-size: 10.0pt;">d</span></code> (day), <code><span style="font-size: 10.0pt;">h</span></code> (hour 12), <code><span style="font-size: 10.0pt;">H</span></code> (hour 24), <code><span style="font-size: 10.0pt;">m</span></code> (minute), <code><span style="font-size: 10.0pt;">s</span></code> (second), <code><span style="font-size: 10.0pt;">f</span></code> (second fraction), <code><span style="font-size: 10.0pt;">F</span></code> (second fraction, trailing zeroes are trimmed), <code><span style="font-size: 10.0pt;">t</span></code> (P.M or A.M) and <code><span style="font-size: 10.0pt;">z</span></code> (time zone).<br />
Following examples demonstrate how are the format specifiers rewritten to the output.<br />
<div class="MsoNormal">[C#]</div><pre><span class="comments"><span style="color: #00b050;">// create date time 2011-03-09 16:05:07.123</span></span><span style="color: #00b050;"></span></pre><pre><span class="type">DateTime</span> dt = <span class="keyword">new</span> <span class="type">DateTime</span>(2011, 3, 9, 16, 5, 7, 123);</pre><pre> </pre><pre><span class="type">String</span>.Format(<span class="string">"{0:y yy yyy yyyy}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "8 08 008 2011"<span style="mso-spacerun: yes;"> </span>year</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:M MM MMM MMMM}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "3 03 Mar March"<span style="mso-spacerun: yes;"> </span>month</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:d dd ddd dddd}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "9 09 Sun Sunday" day</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:h hh H HH}"</span>,<span style="mso-spacerun: yes;"> </span>dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "4 04 16 16"<span style="mso-spacerun: yes;"> </span>hour 12/24</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:m mm}"</span>,<span style="mso-spacerun: yes;"> </span>dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "5 05"<span style="mso-spacerun: yes;"> </span>minute</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:s ss}"</span>,<span style="mso-spacerun: yes;"> </span>dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "7 07"<span style="mso-spacerun: yes;"> </span>second</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:f ff fff ffff}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "1 12 123 1230"<span style="mso-spacerun: yes;"> </span>sec.fraction</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:F FF FFF FFFF}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "1 12 123 123"<span style="mso-spacerun: yes;"> </span>without zeroes</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:t tt}"</span>,<span style="mso-spacerun: yes;"> </span>dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "P PM"<span style="mso-spacerun: yes;"> </span>A.M. or P.M.</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:z zz zzz}"</span>,<span style="mso-spacerun: yes;"> </span>dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "-6 -06 -06:00"<span style="mso-spacerun: yes;"> </span>time zone</span></span></pre><pre> </pre>You can use also <strong>date separator</strong> <code><span style="font-size: 10.0pt;">/</span></code> (slash) and <strong>time sepatator</strong> <code><span style="font-size: 10.0pt;">:</span></code> (colon). These characters will be rewritten to characters defined in the current <a href="http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.dateseparator.aspx">DateTimeFormatInfo.DateSeparator</a> and <a href="http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.timeseparator.aspx">DateTimeFormatInfo.TimeSeparator</a>.<br />
<div class="MsoNormal">[C#]</div><pre><span class="comments"><span style="color: #00b050;">// date separator in german culture is "." (so "/" changes to ".")</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:d/M/yyyy HH:mm:ss}"</span>, dt); <span class="comments"><span style="color: #00b050;">// "9/3/2011 16:05:07" - english</span> (en-US)</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:d/M/yyyy HH:mm:ss}"</span>, dt); <span class="comments"><span style="color: #00b050;">// "9.3.2011 16:05:07" - german</span> (de-DE)</span></pre><pre> </pre>Here are some examples of custom date and time formatting:<br />
<div class="MsoNormal">[C#]</div><pre><span class="comments"><span style="color: #00b050;">// month/day numbers without/with leading zeroes</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:M/d/yyyy}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "3/9/2011"</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:MM/dd/yyyy}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "03/09/2011"</span></span></pre><pre> </pre><pre><span class="comments"><span style="color: #00b050;">// day/month names</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:ddd, MMM d, yyyy}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "Sun, Mar 9, 2011"</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:dddd, MMMM d, yyyy}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "Sunday, March 9, 2011"</span></span></pre><pre> </pre><pre><span class="comments"><span style="color: #00b050;">// two/four digit year</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:MM/dd/yy}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "03/09/08"</span></span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:MM/dd/yyyy}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "03/09/2011"</span></span></pre><pre> </pre><h2>Standard DateTime Formatting</h2>In <a href="http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.aspx">DateTimeFormatInfo</a> there are defined standard patterns for the current culture. For example property <a href="http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.shorttimepattern.aspx">ShortTimePattern</a> is string that contains value <code><span style="font-size: 10.0pt;">h:mm tt</span></code> for <strong>en-US</strong> culture and value <code><span style="font-size: 10.0pt;">HH:mm</span></code> for <strong>de-DE</strong> culture.<br />
Following table shows patterns defined in <a href="http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.aspx">DateTimeFormatInfo</a> and their values for en-US culture. First column contains format specifiers for the <a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx">String.Format</a> method.<br />
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;"><tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div align="center" class="MsoNormal" style="text-align: center;"><b>Specifier</b><b><span style="font-size: 12.0pt; line-height: 115%;"></span></b></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div align="center" class="MsoNormal" style="text-align: center;"><b>DateTimeFormatInfo property</b><b><span style="font-size: 12.0pt; line-height: 115%;"></span></b></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div align="center" class="MsoNormal" style="text-align: center;"><b>Pattern value (for en-US culture)</b><b><span style="font-size: 12.0pt; line-height: 115%;"></span></b></div></td> </tr>
<tr style="mso-yfti-irow: 1;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">t</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">ShortTimePattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">h:mm tt</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 2;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">d</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">ShortDatePattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">M/d/yyyy</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 3;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">T</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">LongTimePattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">h:mm:ss tt</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 4;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">D</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">LongDatePattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">dddd, MMMM dd, yyyy</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 5;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">f</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">(combination of </span></em><code><i><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">D</span></i></code><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;"> and </span></em><code><i><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">t</span></i></code><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">)</span></em><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">dddd, MMMM dd, yyyy h:mm tt</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 6;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">F</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">FullDateTimePattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">dddd, MMMM dd, yyyy h:mm:ss tt</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 7;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">g</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">(combination of </span></em><code><i><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">d</span></i></code><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;"> and </span></em><code><i><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">t</span></i></code><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">)</span></em><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">M/d/yyyy h:mm tt</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 8;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">G</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">(combination of </span></em><code><i><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">d</span></i></code><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;"> and </span></em><code><i><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">T</span></i></code><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">)</span></em><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">M/d/yyyy h:mm:ss tt</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 9;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">m</span></code>, <code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">M</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">MonthDayPattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">MMMM dd</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 10;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">y</span></code>, <code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Y</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">YearMonthPattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">MMMM, yyyy</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 11;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">r</span></code>, <code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">R</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">RFC1123Pattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">ddd, dd MMM yyyy HH':'mm':'ss 'GMT'</span></code> <em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">(*)</span></em><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 12;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">s</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">SortableDateTimePattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">yyyy'-'MM'-'dd'T'HH':'mm':'ss</span></code> <em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">(*)</span></em><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 13;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">u</span></code><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal">UniversalSortableDateTimePattern<span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">yyyy'-'MM'-'dd HH':'mm':'ss'Z'</span></code> <em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">(*)</span></em><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
<tr style="mso-yfti-irow: 14; mso-yfti-lastrow: yes;"> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><br />
</div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><br />
</div></td> <td style="padding: .75pt .75pt .75pt .75pt;"> <div class="MsoNormal"><em><span style="font-family: "Calibri","sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">(*) = culture independent</span></em><span style="font-size: 12.0pt; line-height: 115%;"></span></div></td> </tr>
</tbody></table>Following examples show usage of <strong>standard format specifiers</strong> in <a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx">String.Format</a> method and the resulting output.<br />
<div class="MsoNormal">[C#]</div><pre><span class="type">String</span>.Format(<span class="string">"{0:t}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "4:05 PM"</span><span style="mso-spacerun: yes;"> </span>ShortTime</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:d}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "3/9/2011"</span><span style="mso-spacerun: yes;"> </span>ShortDate</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:T}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "4:05:07 PM"</span><span style="mso-spacerun: yes;"> </span>LongTime</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:D}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "Sunday, March 09, 2011" </span><span style="mso-spacerun: yes;"> </span>LongDate</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:f}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "Sunday, March 09, 2011 4:05 PM"</span><span style="mso-spacerun: yes;"> </span>LongDate+ShortTime</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:F}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "Sunday, March 09, 2011 4:05:07 PM"</span> FullDateTime</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:g}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "3/9/2011 4:05 PM"</span><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>ShortDate+ShortTime</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:G}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "3/9/2011 4:05:07 PM"</span><span style="mso-spacerun: yes;"> </span>ShortDate+LongTime</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:m}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "March 09"<span style="mso-spacerun: yes;"> </span></span>MonthDay</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:y}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "March, 2011"</span><span style="mso-spacerun: yes;"> </span>YearMonth</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:r}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "Sun, 09 Mar 2011 16:05:07 GMT"</span><span style="mso-spacerun: yes;"> </span>RFC1123</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:s}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "2011-03-09T16:05:07"</span><span style="mso-spacerun: yes;"> </span>SortableDateTime</span></pre><pre><span class="type">String</span>.Format(<span class="string">"{0:u}"</span>, dt);<span style="mso-spacerun: yes;"> </span><span class="comments"><span style="color: #00b050;">// "2011-03-09 16:05:07Z"</span><span style="mso-spacerun: yes;"> </span>UniversalSortableDateTime</span></pre><pre> </pre><pre>Special thanks for this blog to <a href="http://www.csharp-examples.net/"><b>C# Examples</b></a> </pre><div class="MsoNormal"><br />
</div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-62485347705052864542011-11-29T23:42:00.001-08:002012-03-01T02:40:32.371-08:00.net framework 4.5 features<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-kQysaaS4NRA/Ttch8HPTpHI/AAAAAAAAAFQ/2GpAQrTOP4o/s1600/index.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="224" src="http://4.bp.blogspot.com/-kQysaaS4NRA/Ttch8HPTpHI/AAAAAAAAAFQ/2GpAQrTOP4o/s320/index.jpg" width="320" /></a></div><h3 class="post-name">New Features for Web Development in Visual Studio 11 Beta </h3>Here are a few web development tools features included in the Visual Studio 11 Beta compared to VS2010. Many of them have already been mentioned in our Visual Studio 11 Developer Preview blogs.<br />
<ul><li><b><a href="http://go.microsoft.com/fwlink/?LinkID=239623" title="Visual Studio 11 Express Beta via Web PI">Visual Studio 11 Express Beta for Web</a></b> is now available. It includes support for TFS and unit testing tools. It’s downloadable via Web PI.</li>
<li>ASP.NET <a href="http://www.asp.net/mvc/mvc4"><b>MVC 4 Beta</b></a> and ASP.NET MVC 3 are included in the Visual Studio 11 Beta</li>
<li>New<b> MVC 4 templates and Web Forms templates </b>are provided with features such as HTML5 support and ASP.NET 4.5 bundling and minification.</li>
<li><b>Page Inspector </b>allows you to see what elements in the source files (including server-side code) have produced the HTML markup that is rendered to the browser. Page Inspector also lets you modify CSS properties and DOM element attributes and see the changes reflected immediately in the browser.</li>
<li>The<b> JavaScript</b> editor is rewritten and is now based on IE10's JavaScript engine. Many new features are added to support JavaScript as a first class citizen programming language, such as Go to Definition, outlining, brace matching, etc. In Beta, we enhanced reference settings, extensibility, performance and reliability.</li>
<li>New<b> CSS editor</b> functionalities include a new formatter, validator, snippets, color picker, comment support, hierarchical indentation, and vendor specific IntelliSense. In Beta, we enhanced the color picker and made CSS editor features friendlier.</li>
<li>New<b> HTML</b> <b>editor</b> functionalities include <a href="http://weblogs.asp.net/scottgu/archive/2011/08/31/html-editor-smart-tasks-and-event-handler-generation-asp-net-vnext-series.aspx">source view smart task</a>s, better auto indentation, live updating of matching open/close tags, server side event handler generation, Extract to User Control and more.</li>
<li><b>IIS Express</b> is now the default website and web application host instead of ASP.NET Development Server (i.e. Cassini). With Visual Studio 11 Beta Ultimate, you can also use profiling with IIS Express.</li>
<li>SQL Server 2012 Express <b>LocalDB</b> is the default database for Visual Studio 11. LocalDB is created specifically for developers. It is very easy to install and requires no management, yet it offers the same T-SQL language, programming surface and client-side providers as the regular SQL Server Express. In effect the developers that target SQL Server no longer have to install and manage a full instance of SQL Server Express on their laptops and other development machines.</li>
<li><b>Publishing</b> for Web Application Projects (WAP) has been updated. Publishing profiles are now designed for team scenarios and are stored into a separate folder, allowing proper version control and usage from MSBuild/Team Build. You can configure your WAP to be precompiled/merged before publishing on the Package/Publish Web tab under the Project Properties.</li>
<li><b>Project System </b>enhancements include having a list of common and most recently used items in the Solution Explorer add menu, and the ability to set the browser for viewing and debugging via toolbar.</li>
</ul><ul style="text-align: left;"><li><b>Web projects Round trip support with Visual Studio 2010 sp1. See <a href="http://msdn.microsoft.com/en-us/library/hh266747%28v=VS.110%29.aspx">http://msdn.microsoft.com/en-us/library/hh266747(v=VS.110).aspx</a> for detailed information.</b></li>
</ul><b>further details available @ </b><b><a href="http://blogs.msdn.com/b/webdevtools/archive/2012/02/29/new-features-for-web-development-in-visual-studio-11-beta.aspx">http://blogs.msdn.com/ </a></b><div> </div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-84115403414315425822011-09-13T01:11:00.000-07:002012-02-13T01:30:06.256-08:00Delete All Files in C#<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">This examples shows how to delete all files (*.*) from a folder in C#.</span></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">First, you need to get the list of file names from the specified directory (using static method <a href="http://msdn2.microsoft.com/en-us/library/system.io.directory.getfiles.aspx">Directory.GetFiles</a>. Then delete all files from the list.</span></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><u><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Delete all files in C#</span></u></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">[C#]</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">using System.IO;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">string[] filePaths = Directory.GetFiles(@"c:\MyDir\");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">foreach (string filePath in filePaths)</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;"> File.Delete(filePath);</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Delete all files (one-row example)</span></b></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To delete all files using one code line, you can use <a href="http://msdn2.microsoft.com/en-us/library/zecdkyw2.aspx">Array.ForEach</a> with combination of anonymous method.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">[C#]</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">Array.ForEach(Directory.GetFiles(@"c:\MyDir\"),</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;"> delegate(string path) { File.Delete(path); });</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><u><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Get Application Directory [C#]</span></u></b></div>Following examples show how to get application or assembly folder.<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Directory of windows forms application (.exe) in C#</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div>Class Application in System.Windows.Forms namespace has static property <a href="http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.executablepath.aspx">ExecutablePath</a>. It contains path of the .exe file (that started the application) including the executable file name. To get only the folder part of the path, use static method <a href="http://msdn2.microsoft.com/en-us/library/system.io.path.getdirectoryname.aspx">GetDirectoryName</a> of Path class.<br />
<div class="MsoNormal">[C#]</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">using System.IO;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">using System.Windows.Forms;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">string appPath = Path.GetDirectoryName(Application.<b>ExecutablePath</b>);</span></div><pre> </pre><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><u><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Directory of any loaded assembly (.exe or .dll) in C#</span></u></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div>First get reference to the assembly. You can use static methods of Assembly class. To get assembly of currently executing code use method Assembly.<a href="http://msdn2.microsoft.com/en-us/library/system.reflection.assembly.getexecutingassembly.aspx">GetExecutingAssembly</a>. To get assembly in which the specified class is defined use method Assembly.<a href="http://msdn2.microsoft.com/en-us/library/system.reflection.assembly.getassembly.aspx">GetAssembly</a> (with the specified class type as a paramater). The assembly must be loaded. Next get assembly file path using Assembly.<a href="http://msdn2.microsoft.com/en-us/library/system.reflection.assembly.codebase.aspx">CodeBase</a> property.<br />
<div class="MsoNormal">[C#]</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">using System.IO;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">using System.Reflection;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">string path = Path.GetDirectoryName(</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;"> Assembly.<b>GetAssembly</b>(typeof(<b>MyClass</b>)).CodeBase);</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><u><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">File Attributes [C#]</span></u></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div>This example shows how to get or set file attributes, how to add attributes and how to remove attributes from current ones.<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Get file attributes in C#</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div>To get file attributes use static method <b><a href="http://msdn2.microsoft.com/en-us/library/system.io.file.getattributes.aspx">File.GetAttributes</a></b>. The method returns <a href="http://msdn2.microsoft.com/en-us/library/system.io.fileattributes.aspx">FileAttributes</a> which is a bitwise combination of file attribute flags.<br />
<div class="MsoNormal">[C#]</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">string filePath = @"c:\TEXT.txt";</span></div><pre> </pre><pre><span class="comments"><span style="color: #00b050;">// get file attributes</span></span><span style="color: #00b050;"></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">FileAttributes fileAttributes = File.GetAttributes(filePath);</span></div><pre> </pre><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Set file attributes in C#</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To set file attributes use static method <b><a href="http://msdn2.microsoft.com/en-us/library/system.io.file.setattributes.aspx">File.SetAttributes</a></b>. Parameter of the method is a bitwise combination of <a href="http://msdn2.microsoft.com/en-us/library/system.io.fileattributes.aspx">FileAttributes</a> enumeration.</span></div><div class="MsoNormal"><span style="font-family: "Times New Roman","serif"; font-size: 12pt; line-height: 115%;">[C#]</span></div><pre><span class="comments"><span style="color: #00b050;">// clear all file attributes</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">File.SetAttributes(filePath, FileAttributes.<b>Normal</b>);</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// set just only archive and read only attributes (no other attribute will set)</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">File.SetAttributes(filePath, FileAttributes.<b>Archive</b> |</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;"> FileAttributes.<b>ReadOnly</b>);</span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Check whether a file has any attribute in C#</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To check whether a file has any attribute (readonly, hidden) get current file attributes first and use bitwise <b>AND</b> (&) operator with a mask of specific attributes.</span></div><div class="MsoNormal"><span style="font-family: "Times New Roman","serif"; font-size: 12pt; line-height: 115%;">[C#]</span></div><pre><span class="comments"><span style="color: #00b050;">// check whether a file is read only</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">bool isReadOnly = ((File.GetAttributes(filePath) & FileAttributes.<b>ReadOnly</b>) == FileAttributes.ReadOnly);</span></div><pre> </pre><pre><span class="comments"><span style="color: #00b050;">// check whether a file is hidden</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">bool isHidden = ((File.GetAttributes(filePath) & FileAttributes.<b>Hidden</b>) == FileAttributes.Hidden);</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// check whether a file has archive attribute</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">bool isArchive = ((File.GetAttributes(filePath) & FileAttributes.<b>Archive</b>) == FileAttributes.Archive);</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// check whether a file is system file</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">bool isSystem = ((File.GetAttributes(filePath) & FileAttributes.<b>System</b>) == FileAttributes.System);</span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Delete/clear file attributes from current ones in C#</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">To delete file attributes from the existing ones get the current file attributes first and use <b>AND</b> (&) operator with a <b>mask</b> (bitwise complement of desired attributes combination).</span></div><div class="MsoNormal"><span style="font-family: "Times New Roman","serif"; font-size: 12pt; line-height: 115%;">[C#]</span></div><div class="MsoNormal"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// delete/clear hidden attribute</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">File.SetAttributes(filePath, File.GetAttributes(filePath) & ~FileAttributes.<b>Hidden</b>);</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// delete/clear archive and read only attributes</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">File.SetAttributes(filePath, File.GetAttributes(filePath) & ~(FileAttributes.<b>Archive</b> |</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;"> FileAttributes.<b>ReadOnly</b>));</span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><u><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Get File Time [C#]</span></u></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div>This example shows how to get file time informations, <b>when any file was created, last modified or accessed</b>. To get file datetime info you can use either static methods of <a href="http://msdn2.microsoft.com/en-us/library/system.io.file_members.aspx">File</a> class or instance methods of <a href="http://msdn2.microsoft.com/en-us/library/system.io.fileinfo_members.aspx">FileInfo</a> class.<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Get file times using File class in C#</span></b></div>Use <b><a href="http://msdn2.microsoft.com/en-us/library/system.io.file_members.aspx">File</a> class</b> when you want to get just <b>one specific time</b>, for example if you are only interested in a file last modification time. To do this use static method File.GetLastWriteTime with file path as a parameter. File class also provides static methods to get file creation time or file last access time. You can also get this times in UTC, e.g. to get file last write time in UTC use File.GetLastWriteTimeUtc.<br />
<div class="MsoNormal">[C#]</div><pre><span class="comments"><span style="color: #00b050;">// local times</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 91.6pt; margin-right: 0in; margin-top: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -91.6pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime creationTime = File.<b>GetCreationTime</b>(@"c:\TEXT.txt");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastWriteTime = File.<b>GetLastWriteTime</b>(@"c:\ TEXT.txt");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastAccessTime = File.<b>GetLastAccessTime</b>(@"c:\ TEXT.txt");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// UTC times</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime creationTimeUtc = File.<b>GetCreationTimeUtc</b>(@"c:\ TEXT.txt");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastWriteTimeUtc = File.<b>GetLastWriteTimeUtc</b>(@"c:\ TEXT.txt");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastAccessTimeUtc = File.<b>GetLastAccessTimeUtc</b>(@"c:\ TEXT.txt");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// write file last modification time (local / UTC)</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">Console.WriteLine(lastWriteTime); // 9/30/2011 2:16:04 PM</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">Console.WriteLine(lastWriteTimeUtc); // 9/30/2011 6:16:04 PM</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Get file times using FileInfo class in C#</span></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Times New Roman","serif"; font-size: 12pt;">Use instance of <b><a href="http://msdn2.microsoft.com/en-us/library/system.io.fileinfo_members.aspx">FileInfo</a> class</b> when you want to get <b>more than one file time</b> or any other informations about the file (like file attributes). Advantage is that you will get all needed informations just in one disk access. See following example.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">[C#]</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">FileInfo fileInfo = new <b>FileInfo</b>(@"c:\file.txt");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// local times</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime creationTime = fileInfo.<b>CreationTime</b>;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastWriteTime = fileInfo.<b>LastWriteTime</b>;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastAccessTime = fileInfo.<b>LastAccessTime</b>;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><pre><span class="comments"><span style="color: #00b050;">// UTC times</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime creationTimeUtc = fileInfo.<b>CreationTimeUtc</b>;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastWriteTimeUtc = fileInfo.<b>LastWriteTimeUtc</b>;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">DateTime lastAccessTimeUtc = fileInfo.<b>LastAccessTimeUtc</b>;</span></div><pre><span class="comments"><span style="color: #00b050;"> </span></span></pre><pre><span class="comments"><span style="color: #00b050;">// write file last modification time (local / UTC)</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">Console.WriteLine(lastWriteTime); // 9/30/2011 2:16:04 PM</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">Console.WriteLine(lastWriteTimeUtc); // 9/30/2011 6:16:04 PM</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"><b><u><span style="font-family: "Times New Roman","serif"; font-size: 14pt;">Open File With Associated Application [C#]</span></u></b></div><div class="MsoNormal" style="line-height: normal;"><br />
</div>This example demonstrates how to <b>open file with an associated program</b>. It shows, how to open text document in notepad, how to open image in a default viewer or how to open url address in a default web browser.<br />
Applications are launched using <b><a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx">Process.Start</a></b> method. The file path or url is passed as a parameter.<br />
<div class="MsoNormal">[C#]</div><pre><span class="comments"><b><span style="color: #00b050;">// open text file in notepad (or another default text editor)</span></b><span style="color: #00b050;"></span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">System.Diagnostics.</span><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">Process</span><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">.Start(@"c:\textfile.txt");</span></div>[C#]<br />
<pre><span class="comments"><span style="color: #00b050;">// open image in default viewer</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">System.Diagnostics.Process.Start(@"c:\image.jpg");</span></div>[C#]<br />
<pre><span class="comments"><span style="color: #00b050;">// open url in default web browser</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">System.Diagnostics.Process.Start("http://www.csharp-examples.net");</span></div>[C#]<br />
<pre><span class="comments"><span style="color: #00b050;">// open PDF file</span></span></pre><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #0070c0; font-family: "Courier New"; font-size: 10pt;">System.Diagnostics.Process.Start(@"c:\document.pdf");</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div>Similarly you can open Word document or any other file from your .NET application.<br />
<div class="MsoNormal"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><br />
</div><div class="MsoNormal"><br />
</div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-89228197986460389262011-09-04T22:25:00.000-07:002011-11-30T22:37:21.288-08:00How to create dynamic datatable in asp.net or C#<div dir="ltr" style="text-align: left;" trbidi="on"> Hi Friends ,<br />
Here i am going to show how to create dynamic datatable . we need to create datatable at run time for this we use <b>System.Data</b> namespace because DataTable is Derived from this name space.<br />
DataTable is Derived from <br />
<br />
<br />
<!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> <w:DontVertAlignCellWithSp/> <w:DontBreakConstrainedForcedTables/> <w:DontVertAlignInTxbx/> <w:Word11KerningPairs/> <w:CachedColBalance/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathPr> <m:mathFont m:val="Cambria Math"/> <m:brkBin m:val="before"/> <m:brkBinSub m:val="--"/> <m:smallFrac m:val="off"/> <m:dispDef/> <m:lMargin m:val="0"/> <m:rMargin m:val="0"/> <m:defJc m:val="centerGroup"/> <m:wrapIndent m:val="1440"/> <m:intLim m:val="subSup"/> <m:naryLim m:val="undOvr"/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267"> <w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/> <w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/> <w:LsdException Locked="false" Priority="39" Name="toc 1"/> <w:LsdException Locked="false" Priority="39" Name="toc 2"/> <w:LsdException Locked="false" Priority="39" Name="toc 3"/> <w:LsdException Locked="false" Priority="39" Name="toc 4"/> <w:LsdException Locked="false" Priority="39" Name="toc 5"/> <w:LsdException Locked="false" Priority="39" Name="toc 6"/> <w:LsdException Locked="false" Priority="39" Name="toc 7"/> <w:LsdException Locked="false" Priority="39" Name="toc 8"/> <w:LsdException Locked="false" Priority="39" Name="toc 9"/> <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/> <w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/> <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/> <w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/> <w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/> <w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/> <w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/> <w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/> <w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/> <w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/> <w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/> <w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/> <w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/> <w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/> <w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/> <w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/> <w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/> <w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/> <w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/> <w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/> <w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/> <w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/> <w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/> <w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/> <w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/> <w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/> <w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/> <w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/> <w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/> <w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/> <w:LsdException Locked="false" Priority="37" Name="Bibliography"/> <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style> <![endif]--> <br />
<div class="MsoNormal"><br style="color: #6aa84f;" /><span style="color: #6aa84f;"> //Create a object of Datatable</span><br />
<span style="color: blue;"> DataTable dynamicDataTable = new DataTable();</span><br />
<br />
<span style="color: #6aa84f;"> //DataRow</span><br />
<span style="color: blue;"> DataRow dynamicRow;</span><br />
<span style="color: #6aa84f;"> //DataColumn for Name and Address</span></div><div class="MsoNormal"> <span style="color: blue;"> DataColumn NameColumn = new DataColumn("Name", typeof(string));</span><br style="color: blue;" /><span style="color: blue;"> DataColumn AddColumn = new DataColumn("Address", typeof(string));</span><br />
<br />
//add Column to Datatable<br />
<span style="color: blue;"> dynamicDataTable.Columns.Add(NameColumn);</span><br style="color: blue;" /><span style="color: blue;"> dynamicDataTable.Columns.Add(AddColumn);</span><br />
<span style="color: #6aa84f;"> //loop for 5 item in DataTable</span><br />
<span style="color: blue;"> for (int i = 0; i < 5; i++)</span><br style="color: blue;" /><span style="color: blue;"> {</span><br style="color: blue;" /><span style="color: blue;"> dynamicRow = dynamicDataTable.NewRow();</span><br />
<span style="color: #6aa84f;"> //Add Rows to dymanicTable</span><br />
<span style="color: blue;"> dynamicDataTable.Rows.Add(dynamicRow);</span><br />
<span style="color: #6aa84f;"> //Assign Column value </span><br />
<span style="color: blue;"> dynamicDataTable.Rows[i][NameColumn] = Guid.NewGuid().ToString();</span><br style="color: blue;" /><span style="color: blue;"> dynamicDataTable.Rows[i][AddColumn] = = Guid.NewGuid().ToString();</span><br />
}<br />
<br />
<span style="color: #6aa84f;"> //Bind DynamicDataTable into a GridView</span><br />
<span style="color: blue;"> GridViewDataShow.DataSource = dynamicDataTable;</span><br style="color: blue;" /><span style="color: blue;"> GridViewDataShow.DataBind();</span></div><div class="MsoNormal" style="color: black;"><br />
</div><div class="MsoNormal" style="color: black;">Hope this code will help you</div><div class="MsoNormal" style="color: black;"> </div><div class="MsoNormal" style="color: black;">Regards,</div><div class="MsoNormal"><span style="color: blue;"><span style="color: black;">Rajesh C#</span></span></div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-53255806380509395812011-07-21T01:54:00.002-07:002012-03-01T02:28:17.651-08:00Closing Child Popup Windows When Parent Window is Closed<div dir="ltr" style="text-align: left;" trbidi="on">Hi friends .<br />
Few days ago , i faced a problem with my project , that i need to close all the child popups when parents window is closed . some time we missed this check but we have to follow this in our common practices.<br />
Here I am placing a code regarding to my issue . hope this will help you .<br />
<br />
for example ,<br />
<span style="font-family: Georgia; font-size: x-small;"> </span> <br />
Here is the code to open a new window:<br />
<div style="color: blue;"><script type="text/javascript"><br />
var arrPopups = new Array();<span style="color: #38761d;">// create an array of popup window object </span></div><div style="color: blue;"><span style="color: #38761d;">//This is a java script function used for open a popup window in which we maintain a array with all the child window names .</span><br />
function openPopUp(pageUrl,pageName) {<br />
<div style="text-align: center;">var popUpObj = window.open(pageUrl, pageName, "width=600px,height=500px,resizable,toolbar=false, scrollbars");</div> arrPopups .push(popUpObj );<br />
}</div><div style="color: blue;"><span style="color: #38761d;">//Here is the function for closing all the child windows which is maintain by array .</span></div><div style="color: blue;"> function closePopUps() {<br />
if (arrPopups.length == 0) return;<br />
<br />
for (i = 0; i < popups.length; i++) {<br />
arrPopups [i].close();<br />
}<br />
}</div><div style="color: blue;"> </script></div><br />
finally call this function on body onunload<br />
like this,<br />
<span style="color: blue;"><body onunload="closePopUps()"></span><br />
<br />
If you <b>refresh the parent window through the child</b> window from server side use this code<br />
<br />
<span style="color: blue;"> Page.ClientScript.RegisterStartupScript(this.GetType(), "close", "<script language=javascript>window.opener.document.forms[0].submit();self.close();</script>");</span><br />
<br />
Hope this will helps you..<br />
<br />
Regards ,<br />
Rajesh </div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-11750857476126952992011-05-10T04:52:00.000-07:002011-05-31T21:58:12.324-07:00disable double Click on Web Page<div dir="ltr" style="text-align: left;" trbidi="on">Hi Friend ,.<br />
Some time we face a problem like when we click on the server side button twice or more time ,it call a button event more then one time for single calling .some time it makes problem in our logic .so we need a solution code which hold the page till the server respond the single request .<br />
Here i am placing a code which is useful in this case.<br />
<br />
<span style="color: blue;"><script type="text/javascript"></span><br />
<span style="color: blue;"> function pageLoad(sender, args) {</span><br />
<span style="color: blue;"> var rm = Sys.WebForms.PageRequestManager.getInstance();</span><br />
<span style="color: blue;"> rm.add_initializeRequest(initializeRequest);</span><br />
<span style="color: blue;"> rm.add_endRequest(endRequest);</span><br />
<span style="color: blue;"> }</span><br />
<span style="color: blue;"> function initializeRequest(sender, args) {</span><br />
<span style="color: blue;"> //Disable button to prevent double submit</span><br />
<span style="color: blue;"> var btn = $get(args._postBackElement.id);</span><br />
<span style="color: blue;"> if (btn) {</span><br />
<span style="color: blue;"> btn.disabled = true;</span><br />
<span style="color: blue;"> if (btn.className == 'button')</span><br />
<span style="color: blue;"> btn.className = 'buttonDisabled';</span><br />
<span style="color: blue;"> }</span><br />
<span style="color: blue;"> }</span><br />
<span style="color: blue;"> function endRequest(sender, args) {</span><br />
<span style="color: blue;"> //Re-enable button</span><br />
<br />
<span style="color: blue;"> var btn = $get(sender._postBackSettings.sourceElement.id);</span><br />
<span style="color: blue;"> if (btn) {</span><br />
<span style="color: blue;"> btn.disabled = false;</span><br />
<span style="color: blue;"> if (btn.className == 'buttonDisabled')</span><br />
<span style="color: blue;"> btn.className = 'button';</span><br />
<span style="color: blue;"> }</span><br />
<span style="color: blue;"> }</span><br />
<span style="color: blue;"></script></span><br />
<span style="color: black;">Hope this will help you </span><br />
<br />
Rajesh</div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-27675365695068238952011-05-02T01:17:00.000-07:002011-05-04T01:23:58.959-07:00How to Create log file using C#<div dir="ltr" style="text-align: left;" trbidi="on">Hi friends,<br />
Here is the C# function used in the creation of the Log files. You can use this Code to maintain the Error Log file into your project .<br />
Here is the method,<br />
<br />
<span style="color: blue;"> public void CreateLogFile(String logMsg)</span><br />
<span style="color: blue;"> {</span><br />
<span style="color: blue;"> FileStream lofFile;</span><br />
<span style="color: blue;"> lofFile = new FileStream("BackUpLogFile" + DateTime.Today.ToString("ddMMyyyy") + ".txt", FileMode.Append);</span> <span style="color: #38761d;">//this will add the Date time details in the log file </span><br />
<span style="color: blue;"> TextWriter txtWriter = new StreamWriter(lofFile);</span><span style="color: #38761d;">//write the containts </span><br />
<span style="color: blue;"> </span><span style="color: blue;">txtWriter </span><span style="color: blue;">.WriteLine("Log:" + DateTime.Now + ":- " + logMsg);</span><br />
<span style="color: blue;"> </span><span style="color: blue;">txtWriter </span><span style="color: blue;">.Close();</span><br />
<span style="color: blue;"> }</span><br />
<br />
<span style="color: black;">Hope this will help you ...</span><br />
<span style="color: black;">Regards</span><br />
<span style="color: black;">Rajesh</span></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-35084968881984433242011-04-13T05:39:00.000-07:002011-05-03T05:48:14.488-07:00How to Get Control ID which generat page postback in C#<div dir="ltr" style="text-align: left;" trbidi="on">Hi friends ,<br />
here i am placing a Method for finding the event generator or you can say Page post back responsible Control in C#.<br />
for example if we want to know that which control cause the Post back the page . you simply use this code.<br />
<span style="color: blue;"> Control cause = GetPostBackControl(Page);<span style="color: #38761d;"> //this Control type get the Control cause ID </span></span><br />
<span style="color: blue;"><span style="color: #38761d;"> //along with other details the postback</span></span><br />
<div style="color: black;">Here is the Method Details:-</div><div style="color: black;"><br />
</div><span style="color: blue;"><span style="color: blue;">public static Control GetPostBackControl(Page page)<br />
{<br />
Control postbackControlInstance = null;<br />
string postbackControlName = page.Request.Params.Get("__EVENTTARGET");<br />
if (postbackControlName != null && postbackControlName != string.Empty)<br />
{<br />
postbackControlInstance = page.FindControl(postbackControlName);<br />
}<br />
else<br />
{<br />
// handle the Button control postbacks<br />
for (int i = 0; i < page.Request.Form.Keys.Count; i++)<br />
{<br />
postbackControlInstance = page.FindControl(page.Request.Form.Keys[i]);<br />
if (postbackControlInstance is System.Web.UI.WebControls.Button)<br />
{<br />
return postbackControlInstance;<br />
}<br />
}<br />
}<br />
// handle the ImageButton postbacks<br />
if (postbackControlInstance == null)<br />
{<br />
for (int i = 0; i < page.Request.Form.Count; i++)<br />
{<br />
if (page.Request.Form.Keys[i] != null && ((page.Request.Form.Keys[i].EndsWith(".x")) || (page.Request.Form.Keys[i].EndsWith(".y"))))<br />
{<br />
postbackControlInstance = page.FindControl(page.Request.Form.Keys[i].Substring(0, page.Request.Form.Keys[i].Length - 2));<br />
return postbackControlInstance;<br />
}<br />
}<br />
}<br />
<br />
return postbackControlInstance;<br />
}</span></span><br />
<br />
</div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-24309587003707682072011-03-10T22:05:00.000-08:002011-03-10T22:05:26.327-08:00How to find the Size of Database File and Log File<div dir="ltr" style="text-align: left;" trbidi="on">Hi Friends<br />
Here is the Sql Server Code which is used to find the size of DataBase and Log file. <br />
<div style="color: blue;"> </div><span style="color: blue;">CREATE PROCEDURE [dbo.GetSize]</span><br style="color: blue;" /><span style="color: blue;"> </span><br style="color: blue;" /><span style="color: blue;">AS</span><br style="color: blue;" /><span style="color: blue;">BEGIN</span><br style="color: blue;" /><span style="color: blue;"> </span><br style="color: blue;" /><span style="color: blue;">SELECT DB_NAME(database_id) AS DatabaseName,</span><br style="color: blue;" /><span style="color: blue;">Name AS Logical_Name,</span><br style="color: blue;" /><span style="color: blue;">Physical_Name, (size*8)/1024 SizeMB</span><br style="color: blue;" /><span style="color: blue;">FROM sys.master_files</span><br style="color: blue;" /><span style="color: blue;">WHERE DB_NAME(database_id) = 'Dbname'</span><br style="color: blue;" /><span style="color: blue;"> </span><br style="color: blue;" /><span style="color: blue;">END</span><br />
</div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com1tag:blogger.com,1999:blog-2301416678184686957.post-82518328237647078332011-03-06T23:39:00.000-08:002011-03-06T23:39:15.072-08:00DIfferance Difference among Int32.Parse(), Convert.ToInt32(), and Int32.TryParse()<div dir="ltr" style="text-align: left;" trbidi="on"><div style="color: black; font-family: Arial,Helvetica,sans-serif;">Hi friend,</div><div style="color: black; font-family: Arial,Helvetica,sans-serif;"> Here i am going to explain the <span style="font-size: small;">Difference among Int32.Parse(), Convert.ToInt32(), and Int32.TryParse() </span>Methods , this article taken as reference from <i><b>.<a href="http://www.dotnetspider.com/resources/1812-Difference-among-Int-Parse-Convert-ToInt.aspx">Net Spider</a></b></i>.</div><div style="color: black; font-family: Arial,Helvetica,sans-serif;"><br />
<span id="ContentPlaceHolder1_lblDescription">Int32.parse(string)<br />
-------------------------<br />
Int32.Parse (string s) method converts the string representation of a number to its 32-bit signed integer equivalent. <br />
When s is null reference, it will throw ArgumentNullException. <br />
If s is other than integer value, it will throw FormatException. <br />
When s represents a number less than MinValue or greater than MaxValue, it will throw OverflowException. <br />
<br />
Example:<br />
------------------<br />
string s1 = "1234"; <br />
string s2 = "1234.65"; <br />
string s3 = null; <br />
string s4 = "123456789123456789123456789123456789123456789"; <br />
<br />
int result; <br />
bool success; <br />
<br />
result = Int32.Parse(s1); //-- 1234 <br />
result = Int32.Parse(s2); //-- FormatException <br />
result = Int32.Parse(s3); //-- ArgumentNullException <br />
result = Int32.Parse(s4); //-- OverflowException <br />
<br />
<br />
Convert.ToInt32(string) <br />
----------------------------------<br />
Convert.ToInt32(string s) method converts the specified the string representation of 32-bit signed integer equivalent. This calls in turn Int32.Parse () method. <br />
When s is null reference, it will return 0 rather than throw ArgumentNullException <br />
If s is other than integer value, it will throw FormatException. <br />
When s represents a number less than MinValue or greater than MaxValue, it will throw OverflowException <br />
<br />
Example:<br />
result = Convert.ToInt32(s1); //-- 1234 <br />
result = Convert.ToInt32(s2); //-- FormatException <br />
result = Convert.ToInt32(s3); //-- 0 <br />
result = Convert.ToInt32(s4); //-- OverflowException <br />
<br />
<br />
Int32.TryParse(string, out int) <br />
---------------------------------------------<br />
Int32.Parse(string, out int) method converts the specified the string representation of 32-bit signed integer equivalent to out variable, and returns true if it parsed successfully, false otherwise. This method is available in C# 2.0 <br />
When s is null reference, it will return 0 rather than throw ArgumentNullException. <br />
If s is other than integer value, the out variable will have 0 rather than FormatException. <br />
When s represents a number less than MinValue or greater than MaxValue, the out variable will have 0 rather than OverflowException. <br />
<br />
Example:-<br />
-------------<br />
success = Int32.TryParse(s1, out result); //-- success => true; result => 1234 <br />
success = Int32.TryParse(s2, out result); //-- success => false; result => 0 <br />
success = Int32.TryParse(s3, out result); //-- success => false; result => 0 <br />
success = Int32.TryParse(s4, out result); //-- success => false; result => 0 <br />
<br />
Convert.ToInt32 is better than Int32.Parse, since it return 0 rather than exception. But, again according to the requirement this can be used. TryParse will be best since it handles exception itself always.</span> </div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-52518069011665155512011-02-16T23:39:00.000-08:002011-02-17T00:30:48.609-08:00Predefined Functions in SqlServer<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-UPhsxCvw5gM/TVzQq8VfX9I/AAAAAAAAAE4/akJouDNdDE8/s1600/SQL-Server-2005.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-UPhsxCvw5gM/TVzQq8VfX9I/AAAAAAAAAE4/akJouDNdDE8/s1600/SQL-Server-2005.jpg" /></a></div>Hi friends<br />
here are the predefined function in SQL Server 2005 which helps you in your programming .<br />
<br />
<b><u>Mathematical Functions</u></b><u> </u><br />
Abs,Ceiling,Floor,Exp,round <br />
<br />
<span style="color: blue;">Select</span> <span style="color: magenta;">abs</span>(-55) <span style="color: #38761d;">-- output will be 55 Get absolute value</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">ceiling</span>(55.3)<span style="color: #38761d;"> -- output '56' get round the value</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Floor</span>(45.8) <span style="color: #38761d;">-- output '45' get round the value</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Exp</span>(0)<span style="color: #38761d;"> -- get a exponential value of '0' that is 1</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Round</span>(225.245874,3) <span style="color: #38761d;">-- output 225.246000 round a value after the no.of digit.</span><br />
<br />
<b><u>Trignometric Functions</u></b> <br />
Sin,Cos,Tan,Log <br />
<br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Sin</span>(0)<span style="color: #38761d;"> -- get sin value of '0' that is 0</span><br />
<span style="color: blue;">Selec</span>t <span style="color: magenta;">Cos</span>(0) <span style="color: #38761d;">-- get cos value of '0' that is 1</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Tan</span>(0) -<span style="color: #38761d;">- get tan value of '0' that is 0</span><br />
<br />
<b><u>String Functions</u></b><u> </u><br />
Ascii,Char,Reverse,SubString,<br />
<div class="MsoNormal"><wbr></wbr>Stuff,Replicate,Replace,Ltrim,<wbr></wbr>Rtrim <br />
<br />
<span style="color: blue;">Select </span><span style="color: magenta;">Ascii</span>('A') <span style="color: #38761d;">-- Output '65' get Ascii value of 'A'</span><br />
<span style="color: blue;">Select </span>Char(97) <span style="color: #38761d;">-- output 'a' get char value of 97</span><br />
<span style="color: blue;">Select </span><span style="color: magenta;">Reverse</span>('REVERSE')<span style="color: #38761d;">-- output 'ESREVER' get the reverse value of string</span><br />
<span style="color: blue;">Select </span><span style="color: magenta;">Substring</span>('Hello World',3,5)<span style="color: #38761d;"> -- output 'llo w'</span><br />
<span style="color: blue;">Select </span><span style="color: magenta;">Stuff</span>('world',2,5,'welcome') <span style="color: #38761d;">-- output 'wwelcomorlde' Here 2 --> Start Position 5 --> Replace Char</span> <span style="color: #38761d;">Length</span><br />
<span style="color: blue;">Select </span><span style="color: magenta;">Replicate</span>('hello ',3) <span style="color: #38761d;">-- output 'hello hello hello ' its repeat a Value 3 times Here 3 --> No.of Times</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Replace</span>('abcdefgh','de','xy')<span style="color: #38761d;">-- output 'abcxyfgh'</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Ltrim</span>(' hello ') <span style="color: #38761d;">-- output 'hello ' remove a space in front of the string</span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Rtrim</span>(' hello ') <span style="color: #38761d;">-- output ' hello' remove a space in end of the string </span><br />
<br />
<b><u>Date Functions</u></b> <br />
GetDate,DateAdd,DateDiff,<wbr></wbr>DatePart <br />
<br />
<span style="color: blue;">Select</span> <span style="color: magenta;">GetDate</span>()<span style="color: #38761d;">--Get Current Date </span><br />
<span style="color: blue;">Select </span><span style="color: magenta;">Dateadd</span>(dd,2,<span style="color: magenta;">getdate</span>())<span style="color: #38761d;">--Add 2 days from Current Date </span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Datediff</span>(dd,'1985-05-06','<wbr></wbr>2005-06-09')<span style="color: #38761d;"> --Get Date difference between those days </span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">Datepart</span>(dd,getdate())<span style="color: #38761d;"> --get a date only from currentdate </span><br />
<br />
<b><u>System Functions</u></b> <br />
Db_Id,Db_Name,IsDate,Isnumeric <br />
<br />
<span style="color: blue;">Select</span> <span style="color: magenta;">db_id</span>('master')<span style="color: #38761d;">-- Get order of that Database </span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">db_name</span>(4)<span style="color: #38761d;">--Get a 4th order of name in a database </span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">isdate</span>('02/31/2005') <span style="color: #38761d;">--Date is availabe or not Here output comes '0' or '1' </span><br />
<span style="color: blue;">Select</span> <span style="color: magenta;">isnumeric</span>(15s) <span style="color: #38761d;">--Value is numeric or not Here output comes '0' or '1' </span><br />
<br />
<b><u>Aggregate Functions</u></b> <br />
Count,Max,Min,Avg,Sum <br />
<br />
<span style="color: magenta;">Count</span>() --> <span style="color: #38761d;">Get Total Count of Row </span><br />
<span style="color: magenta;">Max</span>() --><span style="color: #38761d;"> Get a Maximum value of a Column </span><br />
<span style="color: magenta;">Min</span>() --> <span style="color: #38761d;">Get a Minimum value of a Column </span><br />
<span style="color: magenta;">Avg</span>() --> <span style="color: #38761d;">Get a Average value of a column </span><br />
<span style="color: magenta;">Sum</span>() --><span style="color: #38761d;"> Get Total Value of a Column </span><br />
<br />
<span style="color: #38761d;"><span style="color: black;">Hope this will helps you</span></span><br />
<span style="color: #38761d;"><span style="color: black;"> Regards</span></span><br />
<span style="color: #38761d;"><span style="color: black;">Rajesh </span> </span></div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0tag:blogger.com,1999:blog-2301416678184686957.post-64514602845243151172011-02-07T23:48:00.000-08:002011-02-07T23:57:29.856-08:00Controlling Authorization permissions in Asp.Net Application in C#<div dir="ltr" style="text-align: left;" trbidi="on"><div style="font-family: Verdana,sans-serif;"></div><div style="font-family: Verdana,sans-serif;"><span style="font-size: small;">hi Friend </span></div><div style="font-family: Verdana,sans-serif;"><span style="font-size: small;"> i am here with article on Form Authentication and Authorization in Web config file .</span><span style="font-size: small;">When we use the forms based Authentication in Asp.Net Application. Only the authenticated users can access pages in the application. Unauthenticated users are redirected to the specified login page provided by the loginURL tag. If the user login from that page then the user is redirected to page they wanted to go.</span></div><div style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
</span></div><div class="MsoNormal" style="font-family: Verdana,sans-serif;"><span style="font-size: small;">We use the location tag to define the rules in the Web.Config.</span></div><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"><configuration></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <system.web></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <authentication mode="Forms" ></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <forms loginUrl="login.aspx" name=".aspFormAuth" </span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;">protection="None" path="/" timeout="30" ></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </forms></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </authentication></span></pre><pre style="color: #38761d; font-family: Verdana,sans-serif;"><span style="font-size: small;"><!—We first deny any unauthorized user in the site. --></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <authorization></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <deny users="?" /> </span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </authorization></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </system.web></span></pre><pre style="color: #38761d; font-family: Verdana,sans-serif;"><span style="font-size: small;"><!—Now we allow all the user to Home.aspx page here any unauthenticated User can </span></pre><pre style="color: #38761d; font-family: Verdana,sans-serif;"><span style="font-size: small;">access this page --></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <location path="</span><span style="font-size: small;">Home.aspx</span><span style="font-size: small;">"></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <system.web></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <authorization></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <allow users ="*" /></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </authorization></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </system.web></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </location></span></pre><pre style="color: #38761d; font-family: Verdana,sans-serif;"><span style="font-size: small;"><!—we can also give unauthenticated users permission on a given directory. --></span></pre><pre style="color: #38761d; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <span style="color: blue;"> <location path="FolderName"></span></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <system.web></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <authorization></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> <allow users ="*" /></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </authorization></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </system.web></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </location></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"></configuration></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </span></pre><pre style="color: black; font-family: Verdana,sans-serif;"><span style="font-size: small;">-------------------------------------Code Behind-----------------------------------</span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"><span style="color: black;">here is the code behing that you can use Code behind on any event to set authentication </span></span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> if (FormsAuthentication.Authenticate(txtUserName.Value, txtPassword.Value))
{
FormsAuthentication.RedirectFromLoginPage(txtUserName.Value, false);
}
else
{
lblMessage.Text ="Unauthenticate User";
FormsAuthentication.SignOut();
}</span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </span></pre><pre style="color: black; font-family: Verdana,sans-serif;"><span style="font-size: small;"> Hope this artical help you in your application</span></pre><pre style="color: black; font-family: Verdana,sans-serif;"><span style="font-size: small;"> </span></pre><pre style="color: black; font-family: Verdana,sans-serif;"><span style="font-size: small;">Regards </span></pre><pre style="color: blue; font-family: Verdana,sans-serif;"><span style="color: black; font-size: small;"> Rajesh </span></pre><div style="color: blue; font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
</span></div></div>Rajeshhttp://www.blogger.com/profile/03156130800741857599noreply@blogger.com0