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

<channel>
	<title>Bharath Radhekrishna &#187; 1</title>
	<atom:link href="http://onetidbit.wordpress.com/category/1/feed/" rel="self" type="application/rss+xml" />
	<link>http://onetidbit.wordpress.com</link>
	<description>తెలుగు సాప్ట్ వేర్  ఇంజనీర్</description>
	<lastBuildDate>Mon, 21 Sep 2009 01:50:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='onetidbit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b53a668718997e5f296c495d82161531?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Bharath Radhekrishna &#187; 1</title>
		<link>http://onetidbit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://onetidbit.wordpress.com/osd.xml" title="Bharath Radhekrishna" />
		<item>
		<title>BSNL JTO Exam result 2009 &#124; JTO Results at www.bsnl.co.in &#124; Ready2Beat</title>
		<link>http://onetidbit.wordpress.com/2009/09/21/bsnl-jto-exam-result-2009-jto-results-at-www-bsnl-co-in-ready2beat/</link>
		<comments>http://onetidbit.wordpress.com/2009/09/21/bsnl-jto-exam-result-2009-jto-results-at-www-bsnl-co-in-ready2beat/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 01:50:19 +0000</pubDate>
		<dc:creator>onetidbit</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://onetidbit.wordpress.com/2009/09/21/bsnl-jto-exam-result-2009-jto-results-at-www-bsnl-co-in-ready2beat/</guid>
		<description><![CDATA[BSNL JTO Exam result 2009 &#124; JTO Results at www.bsnl.co.in &#124; Ready2Beat
Shared via AddThis
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onetidbit.wordpress.com&blog=2446287&post=162&subd=onetidbit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://ready2beat.com/educational/bsnl-jto-exam-result-2009-jto-results-wwwbsnlcoin">BSNL JTO Exam result 2009 | JTO Results at www.bsnl.co.in | Ready2Beat</a></p>
<p>Shared via <a href="http://addthis.com">AddThis</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onetidbit.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onetidbit.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onetidbit.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onetidbit.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onetidbit.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onetidbit.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onetidbit.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onetidbit.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onetidbit.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onetidbit.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onetidbit.wordpress.com&blog=2446287&post=162&subd=onetidbit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://onetidbit.wordpress.com/2009/09/21/bsnl-jto-exam-result-2009-jto-results-at-www-bsnl-co-in-ready2beat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fbf98ae0461d7ea51945d91b92f8ebd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Radhe</media:title>
		</media:content>
	</item>
		<item>
		<title>Full gridvalues insert into database</title>
		<link>http://onetidbit.wordpress.com/2009/04/09/full-gridvalues-insert-into-database/</link>
		<comments>http://onetidbit.wordpress.com/2009/04/09/full-gridvalues-insert-into-database/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 06:03:28 +0000</pubDate>
		<dc:creator>onetidbit</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://onetidbit.wordpress.com/?p=153</guid>
		<description><![CDATA[In some situations we must insert a bunch of data into database table.
Just when we done some entry every entry must first go to gridview after all the entries completion we will push all the data by single click.
For this we need a run-time datatable:
Here is the code:
1) Decalare a Datatable globally.
 DataTable dt1;
2) In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onetidbit.wordpress.com&blog=2446287&post=153&subd=onetidbit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In some situations we must insert a bunch of data into database table.</p>
<p>Just when we done some entry every entry must first go to gridview after all the entries completion we will push all the data by single click.</p>
<p>For this we need a run-time datatable:</p>
<p>Here is the code:</p>
<p>1) Decalare a Datatable globally.</p>
<p><span style="color:#0000ff;"><strong><em> DataTable dt1;</em></strong></span></p>
<p>2) In the event you like place this code:</p>
<p><strong><em><span style="color:#0000ff;">DataSet ds2 = new DataSet();</p>
<p>if (Session["dt1"] != null)<br />
{</p>
<p>dt1 = Session["dt1"] as DataTable;<br />
}<br />
else<br />
{<br />
dt1 = new DataTable();</p>
<p>dt1.Columns.Add(&#8220;Name&#8221;);<br />
dt1.Columns.Add(&#8220;Rollno&#8221;);<br />
</span></em></strong></p>
<div id=":x5" class="ii gt"><strong><em><span style="color:#0000ff;"> }<br />
DataRow dr = dt1.NewRow();</p>
<p>dr["Name"] = TextBox1.Text;<br />
dr["Rollno"] = TextBox2.Text;</p>
<p>dt1.Rows.Add(dr);</p>
<p>Session["dt1"] = dt1;<br />
GridView1.DataSource = dt1;<br />
GridView1.DataBind();</span></em></strong></div>
<div class="ii gt"></div>
<div class="ii gt">3) In the aspx page take a gridview</div>
<div class="ii gt">with boundfields as name and Rollno</div>
<div class="ii gt"></div>
<div class="ii gt">4) For Inserting all the gridview values write foreach in button_click event.</div>
<div class="ii gt"><strong><em><span style="color:#0000ff;"><br />
</span></em></strong></div>
<div class="ii gt"><strong><em><span style="color:#0000ff;">foreach (GridViewRow gvr in GridView1.Rows)<br />
{<br />
string name1 = gvr.Cells[0].Text;<br />
string roll = gvr.Cells[1].Text;</p>
<p>string str = &#8220;Data Source=RADHE;Initial Catalog=mnc_site;User ID=sa;Password=admin123&#8243;;<br />
SqlConnection conn = new SqlConnection(str);</p>
<p>conn.Open();</p>
<p>string insqry = &#8220;insert into testing(Name,Rollno) values (@Name,@Rollno)&#8221;;</p>
<p>SqlCommand cmd = new SqlCommand(insqry, conn);</p>
<p>cmd.Parameters.Add(&#8220;@Name&#8221;, SqlDbType.VarChar).Value = name1 ;<br />
cmd.Parameters.Add(&#8220;@Rollno&#8221;, SqlDbType.VarChar).Value = roll ;</p>
<p>cmd.ExecuteNonQuery();</p>
<p>conn.Close();<br />
}</span></em></strong></div>
<div class="ii gt"></div>
<div class="ii gt"><strong><em><span style="color:#0000ff;"><span style="color:#ff0000;">Any doubts mail me</span><br />
</span></em></strong></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onetidbit.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onetidbit.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onetidbit.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onetidbit.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onetidbit.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onetidbit.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onetidbit.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onetidbit.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onetidbit.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onetidbit.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onetidbit.wordpress.com&blog=2446287&post=153&subd=onetidbit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://onetidbit.wordpress.com/2009/04/09/full-gridvalues-insert-into-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fbf98ae0461d7ea51945d91b92f8ebd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Radhe</media:title>
		</media:content>
	</item>
	</channel>
</rss>