<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4747115171096074104</atom:id><lastBuildDate>Wed, 19 Jun 2013 06:36:30 +0000</lastBuildDate><category>C#</category><title>.Net Tutorials</title><description /><link>http://bharathiit09.blogspot.com/</link><managingEditor>noreply@blogger.com (bharathi)</managingEditor><generator>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/blogspot/eDdvE" /><feedburner:info uri="blogspot/eddve" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4747115171096074104.post-5097816035793497213</guid><pubDate>Fri, 10 Feb 2012 07:47:00 +0000</pubDate><atom:updated>2012-02-09T23:47:25.990-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C#</category><title>C# :    Saving Excel File  in C#</title><atom:summary>
Excel.Application myExcelApp;
                        Excel.Workbook myExcelWorkbook;
                        Excel.Worksheet myExcelWorksheet;
                        object misValue = System.Reflection.Missing.Value;
                        myExcelApp = new Excel.ApplicationClass();

                        myExcelWorkbook = myExcelApp.Workbooks.Add(misValue);
                        </atom:summary><link>http://feedproxy.google.com/~r/blogspot/eDdvE/~3/eNz6bLV2G2s/c-saving-excel-file-in-c.html</link><author>noreply@blogger.com (bharathi)</author><thr:total>0</thr:total><description>&lt;img src="http://feeds.feedburner.com/~r/blogspot/eDdvE/~4/eNz6bLV2G2s" height="1" width="1"/&gt;</description><feedburner:origLink>http://bharathiit09.blogspot.com/2012/02/c-saving-excel-file-in-c.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4747115171096074104.post-4082816983536262782</guid><pubDate>Fri, 23 Dec 2011 10:52:00 +0000</pubDate><atom:updated>2011-12-23T02:52:44.167-08:00</atom:updated><title>C# Text box only allow two decimal points and numbers  using text box keypress event</title><atom:summary>
 private void txtPrice_KeyPress(object sender, KeyPressEventArgs e)
        {


            if ((e.KeyChar &lt; '0' || e.KeyChar &gt; '9') &amp;&amp; (e.KeyChar != '\b') &amp;&amp; (e.KeyChar != '.'))
            {
                e.Handled = true;
            }
            else
            {
                e.Handled = false;
            }
            if (Char.IsControl(e.KeyChar))
            {
                </atom:summary><link>http://feedproxy.google.com/~r/blogspot/eDdvE/~3/n_E4yBOz5AI/c-text-box-only-allow-two-decimal.html</link><author>noreply@blogger.com (bharathi)</author><thr:total>3</thr:total><description>&lt;img src="http://feeds.feedburner.com/~r/blogspot/eDdvE/~4/n_E4yBOz5AI" height="1" width="1"/&gt;</description><feedburner:origLink>http://bharathiit09.blogspot.com/2011/12/c-text-box-only-allow-two-decimal.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4747115171096074104.post-9164500908592377858</guid><pubDate>Fri, 23 Dec 2011 10:49:00 +0000</pubDate><atom:updated>2011-12-23T02:49:04.303-08:00</atom:updated><title>C#  OLEDB  CONNECTION STRING FOR EXCEL ( USE EXCEL AS DATABASE)</title><atom:summary>
 System.Data.OleDb.OleDbConnection MyConnection;
                System.Data.OleDb.OleDbCommand myCommand = new System.Data.OleDb.OleDbCommand();
                System.Data.OleDb.OleDbCommand create = new System.Data.OleDb.OleDbCommand();
                string sql = null, cretable = null; ;
                MyConnection = new System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;</atom:summary><link>http://feedproxy.google.com/~r/blogspot/eDdvE/~3/mW13fch_1jg/c-oledb-connection-string-for-excel-use.html</link><author>noreply@blogger.com (bharathi)</author><thr:total>0</thr:total><description>&lt;img src="http://feeds.feedburner.com/~r/blogspot/eDdvE/~4/mW13fch_1jg" height="1" width="1"/&gt;</description><feedburner:origLink>http://bharathiit09.blogspot.com/2011/12/c-oledb-connection-string-for-excel-use.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4747115171096074104.post-1815138127436508056</guid><pubDate>Wed, 23 Nov 2011 12:22:00 +0000</pubDate><atom:updated>2011-11-23T04:22:03.592-08:00</atom:updated><title>*** THIS JAVASCRIPT ONLY ALLOW TWO DECIMAL POINTS IN TEXT BOX ***</title><atom:summary>

function numberOnly(txt, e) {
var arr = “0123456789.”;
var code;
var code1;
if (window.event)
code = e.keyCode;
else
code = e.which;
var cha = String.fromCharCode(code);
if (arr.indexOf(cha) == -1)
return false;
else if (cha == “.”)
if(txt.value.indexOf(“.”)&gt;-1)
return false;
if(txt.value.indexOf(“.”)&gt;-1)
{
code1=txt.value.indexOf(“.”);
if(txt.value.length == code1 + 3)
return false;
}</atom:summary><link>http://feedproxy.google.com/~r/blogspot/eDdvE/~3/k6yi9G2YAQE/this-javascript-only-allow-two-decimal.html</link><author>noreply@blogger.com (bharathi)</author><thr:total>1</thr:total><description>&lt;img src="http://feeds.feedburner.com/~r/blogspot/eDdvE/~4/k6yi9G2YAQE" height="1" width="1"/&gt;</description><feedburner:origLink>http://bharathiit09.blogspot.com/2011/11/this-javascript-only-allow-two-decimal.html</feedburner:origLink></item></channel></rss>
