<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1320236738833433040</id><updated>2012-01-30T10:38:41.329-08:00</updated><title type='text'>SanjuBaba</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://devil2devil.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://devil2devil.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sanjay Kumar</name><uri>http://www.blogger.com/profile/04752957692826258590</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_u4Hf0Tbg7UY/ScjQLmOkbCI/AAAAAAAAAGI/cweeGwxlYjw/S220/CIMG0025.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1320236738833433040.post-7828578481546278383</id><published>2009-07-12T23:25:00.000-07:00</published><updated>2009-07-12T23:27:03.848-07:00</updated><title type='text'>Know Yourself</title><content type='html'>&lt;div style="width:425px;text-align:left" id="__ss_1713170"&gt;&lt;a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/dewrajputra/know-how-big-or-great-you-are" title="Know How Big or Great You are."&gt;Know How Big or Great You are.&lt;/a&gt;&lt;object style="margin:0px" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=m-existence-090713011431-phpapp02&amp;amp;stripped_title=know-how-big-or-great-you-are"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=m-existence-090713011431-phpapp02&amp;amp;stripped_title=know-how-big-or-great-you-are" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"&gt;View more &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/dewrajputra"&gt;dewrajputra&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1320236738833433040-7828578481546278383?l=devil2devil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devil2devil.blogspot.com/feeds/7828578481546278383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1320236738833433040&amp;postID=7828578481546278383&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/7828578481546278383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/7828578481546278383'/><link rel='alternate' type='text/html' href='http://devil2devil.blogspot.com/2009/07/know-yourself.html' title='Know Yourself'/><author><name>Sanjay Kumar</name><uri>http://www.blogger.com/profile/04752957692826258590</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_u4Hf0Tbg7UY/ScjQLmOkbCI/AAAAAAAAAGI/cweeGwxlYjw/S220/CIMG0025.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1320236738833433040.post-7412586355011017648</id><published>2009-07-01T03:48:00.000-07:00</published><updated>2009-07-15T04:57:26.995-07:00</updated><title type='text'>Getting my Indane Cylinder Transfered From Hennur to Lakkasandra</title><content type='html'>I have an &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Indane&lt;/span&gt;&lt;/span&gt; LPG connection since 2001 in Bangalore. I used it regularly till 2005 as I lived as a student  in the same house.  2005 to 2009 I had to change houses due to change in college and jobs; during these period I did not use my own LPG connection as the friends with whom I shared flats they had &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;their&lt;/span&gt; own connection in the same locality. In 2009 I am living in Wilson Garden area with &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;another&lt;/span&gt; friend. I have to use my own LPG connection this time. So I need to transfer it to this locality. Before that I had called up once the old agency (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Sudheendra&lt;/span&gt;&lt;/span&gt;) where my account exists now for booking a cylinder after around 3 years gap; the person on phone has asked me to come with a letter. So, I have decided to transfer my account to the new address. Lets see what all I will have to go through and I will be sharing it with you. In the mean time I gathered information regarding this and I came across many sites but the info provided in the &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_4"&gt;following&lt;/span&gt; blog seems to be realistic.&lt;br /&gt;&lt;a href="http://ravi7us-newthings.blogspot.com/2009/04/getting-new-gas-connection-03-april.html"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;Indane&lt;/span&gt;&lt;/span&gt; Connection Transfer&lt;/a&gt;&lt;br /&gt;Well I am done with the Transfer work. I had to devote my one Saturday for it. The process is although simple but as I had lost the bill that we get at initial connection time; I had to do extra work of Notary at a cost of Rs. 150 . The process : I had to go to the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Sudheendra&lt;/span&gt;&lt;/span&gt; Agency from where I had to transfer. I stood up in the &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;queue&lt;/span&gt; as the door keeper insisted. I waited for my turn and met the manager. I was asked to show the regulator, the &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_4"&gt;gas book&lt;/span&gt;, the new address proof (rent agreement), the notary (format or declaration text for that was provided to me by the manager's aid). &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;That's&lt;/span&gt; it. The manager made a new bill or voucher for the connection and assigned the new agency called &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;Madhu&lt;/span&gt; agency to my connection. Next I had to go to the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;Madhu&lt;/span&gt; agency in my new locality and show the bill with the gas book and the regulator. &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_8"&gt;That's&lt;/span&gt; it my work was done. O ya I had to pay Rs.25 to the new agency for which I wasn't given any receipt; perhaps the processing fee :) . Two days later the refill was delivered to my &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_9"&gt;apartment&lt;/span&gt;. Happy Cooking .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1320236738833433040-7412586355011017648?l=devil2devil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devil2devil.blogspot.com/feeds/7412586355011017648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1320236738833433040&amp;postID=7412586355011017648&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/7412586355011017648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/7412586355011017648'/><link rel='alternate' type='text/html' href='http://devil2devil.blogspot.com/2009/07/getting-my-indane-cylinder-transfered.html' title='Getting my Indane Cylinder Transfered From Hennur to Lakkasandra'/><author><name>Sanjay Kumar</name><uri>http://www.blogger.com/profile/04752957692826258590</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_u4Hf0Tbg7UY/ScjQLmOkbCI/AAAAAAAAAGI/cweeGwxlYjw/S220/CIMG0025.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1320236738833433040.post-1035245668614247926</id><published>2009-03-24T05:30:00.000-07:00</published><updated>2009-08-06T05:12:14.679-07:00</updated><title type='text'>Use of XML File for dynamically storing Data and retriving Data in ASP.net with C#</title><content type='html'>Hi Friends,&lt;br /&gt;XML is really an interesting file that you can use as a database in which you can store a set of data.Say for example in your website project you want to have a page through which a guest user can enter his name, email ID and his comments. Such data may not be commercial for you to store in your data base but at the same time you want to have it for goodwill purpose. Here is the solution, store it in an XML file and retrieve its node values on a web page, as cool as that.&lt;br /&gt;&lt;br /&gt;Here is an example to show how it can be done.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step1:&lt;/span&gt; Add a page within your solution with three text boxes to enter name(txtName), email(txtEmail) and comment(txtComment) also place a button for submit( btnSubmit) as shown in the image below. You may add required field validators too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_u4Hf0Tbg7UY/ScnqixslWtI/AAAAAAAAAG4/HEBsof1kuzI/s1600-h/1.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_u4Hf0Tbg7UY/ScnqixslWtI/AAAAAAAAAG4/HEBsof1kuzI/s320/1.JPG" alt="" id="BLOGGER_PHOTO_ID_5317038718264367826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step2:&lt;/span&gt; Add into your project solution an XML file and rename it (StoreUserInfo.xml). Create a root node into it&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step3:&lt;/span&gt; On button click  paste the following code:&lt;br /&gt;&lt;br /&gt;//protected void btnSubmit_Click(object sender, EventArgs e)&lt;br /&gt;//    {&lt;br /&gt;           &lt;span style="color: rgb(0, 204, 204);"&gt;XmlDocument&lt;/span&gt; oXmlDocument = &lt;span style="color: rgb(51, 51, 255);"&gt;new&lt;/span&gt; &lt;span style="color: rgb(0, 204, 204);"&gt;XmlDocument&lt;/span&gt;();&lt;br /&gt;&lt;br /&gt;           oXmlDocument.Load(&lt;span style="color: rgb(255, 0, 0);"&gt;@"D:\Sanju\XMLDb1\StoreUserInfo.xml"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(0, 204, 204);"&gt;XmlNode&lt;/span&gt;    oXmlRootNode =  oXmlDocument.SelectSingleNode(&lt;span style="color: rgb(255, 0, 0);"&gt;"records"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(0, 204, 204);"&gt;XmlNode&lt;/span&gt;    oXmlRecordNode =  oXmlRootNode.AppendChild(oXmlDocument.CreateNode(&lt;br /&gt;                                                                                                                          &lt;span style="color: rgb(0, 204, 204);"&gt;XmlNodeType&lt;/span&gt;.Element,&lt;span style="color: rgb(255, 0, 0);"&gt;"record"&lt;/span&gt;, &lt;span style="color: rgb(255, 0, 0);"&gt;""&lt;/span&gt;));&lt;br /&gt;           &lt;br /&gt;           oXmlRecordNode.AppendChild(oXmlDocument.CreateNode(&lt;span style="color: rgb(0, 204, 204);"&gt;XmlNodeType&lt;/span&gt;.Element,&lt;br /&gt;                                                                                         &lt;span style="color: rgb(255, 0, 0);"&gt;"Name"&lt;/span&gt;,&lt;span style="color: rgb(255, 0, 0);"&gt;""&lt;/span&gt;)).InnerText = txtName.Text;&lt;br /&gt;&lt;br /&gt;           oXmlRecordNode.AppendChild(oXmlDocument.CreateNode(&lt;span style="color: rgb(0, 204, 204);"&gt;XmlNodeType&lt;/span&gt;.Element,&lt;br /&gt;                                                                                   &lt;span style="color: rgb(255, 0, 0);"&gt;"Email"&lt;/span&gt;, &lt;span style="color: rgb(255, 0, 0);"&gt;""&lt;/span&gt;)).InnerText = txtEmail.Text;&lt;br /&gt;&lt;br /&gt;          oXmlRecordNode.AppendChild(oXmlDocument.CreateNode(&lt;span style="color: rgb(0, 204, 204);"&gt;XmlNodeType&lt;/span&gt;.Element,&lt;br /&gt;                                                                                   &lt;span style="color: rgb(255, 0, 0);"&gt;"Comment"&lt;/span&gt;, &lt;span style="color: rgb(255, 0, 0);"&gt;""&lt;/span&gt;)).InnerText = txtComment.Text;&lt;br /&gt;                                                          &lt;br /&gt;          oXmlDocument.Save(&lt;span style="color: rgb(255, 0, 0);"&gt;@"D:\Sanju\XMLDb1\StoreUserInfo.xml"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;//    }&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note: &lt;/span&gt;You have to specify the path of XML file correctly as per your project. In my case its D:\Sanju\XMLDb1\StoreUserInfo.xml  it will be different for you.&lt;br /&gt;This piece of code will automatically create the child nodes along with its values entered in the text boxes at each click of the submit button.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step4:&lt;/span&gt; Once you have successfully submitted the records you will like to see all the submitted records on different web page but within same project solution. For that you add a new page in your project. Now you can display the data from XML file on text box, label or richtext box whereever you desire. In my example I will use both text box as well as Label controls. Design of my Display page is same as above page with an additional Label control.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note&lt;/span&gt;: On the display page you will be needing one HiddenField control to keep count of the node no. before each post back occurs so as to track through the child nodes in the XML file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_u4Hf0Tbg7UY/Scn6iPMdGTI/AAAAAAAAAHY/d5OHE6U1CxU/s1600-h/display.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_u4Hf0Tbg7UY/Scn6iPMdGTI/AAAAAAAAAHY/d5OHE6U1CxU/s320/display.JPG" alt="" id="BLOGGER_PHOTO_ID_5317056301188847922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;          if (!IsPostBack)&lt;br /&gt;                {&lt;br /&gt;                          Int32 j = 0;&lt;br /&gt;                          Hidint.Value = Convert.ToString(j);&lt;br /&gt;                }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private int increment()&lt;br /&gt;{&lt;br /&gt;           string strInput = Hidint.Value;&lt;br /&gt;           int incrValue = Convert.ToInt32(strInput);&lt;br /&gt;           incrValue += 1;&lt;br /&gt;           Hidint.Value = incrValue.ToString();&lt;br /&gt;           return incrValue;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;protected void btnShow4mXML_Click(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;          DataSet ds = new DataSet();&lt;br /&gt;         ds.ReadXml(Server.MapPath("StoreUserInfo.xml"));&lt;br /&gt;         Int32 i = increment();&lt;br /&gt;         DataTable dt = ds.Tables[0];&lt;br /&gt;         if (i &lt;= dt.Rows.Count)        &lt;br /&gt;          {     &lt;br /&gt;              DataRow dr;&lt;br /&gt;              dr = dt.Rows[i-1];&lt;br /&gt;              txtName.Text = dr["name"].ToString();&lt;br /&gt;              txtEmail.Text = dr["email"].ToString();&lt;br /&gt;              txtComment.Text = dr["comment"].ToString();&lt;br /&gt;              Label1.Text = dr["comment"].ToString();&lt;br /&gt;           }&lt;br /&gt;            else&lt;br /&gt;          {&lt;br /&gt;              btnShow4mXML.Enabled = false;&lt;br /&gt;          }    &lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1320236738833433040-1035245668614247926?l=devil2devil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devil2devil.blogspot.com/feeds/1035245668614247926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1320236738833433040&amp;postID=1035245668614247926&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/1035245668614247926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/1035245668614247926'/><link rel='alternate' type='text/html' href='http://devil2devil.blogspot.com/2009/03/use-of-xml-file-for-dynamically-storing.html' title='Use of XML File for dynamically storing Data and retriving Data in ASP.net with C#'/><author><name>Sanjay Kumar</name><uri>http://www.blogger.com/profile/04752957692826258590</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_u4Hf0Tbg7UY/ScjQLmOkbCI/AAAAAAAAAGI/cweeGwxlYjw/S220/CIMG0025.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_u4Hf0Tbg7UY/ScnqixslWtI/AAAAAAAAAG4/HEBsof1kuzI/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1320236738833433040.post-2476798052431788359</id><published>2008-03-27T23:56:00.000-07:00</published><updated>2008-03-28T00:00:16.211-07:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_u4Hf0Tbg7UY/R-yXK6Gq11I/AAAAAAAAAFY/eEgolZlzoyU/s1600-h/Image004.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_u4Hf0Tbg7UY/R-yXK6Gq11I/AAAAAAAAAFY/eEgolZlzoyU/s320/Image004.jpg" alt="" id="BLOGGER_PHOTO_ID_5182683484848314194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Good People Do have Good Looks Too :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1320236738833433040-2476798052431788359?l=devil2devil.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devil2devil.blogspot.com/feeds/2476798052431788359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1320236738833433040&amp;postID=2476798052431788359&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/2476798052431788359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1320236738833433040/posts/default/2476798052431788359'/><link rel='alternate' type='text/html' href='http://devil2devil.blogspot.com/2008/03/good-people-do-have-good-looks-too.html' title=''/><author><name>Sanjay Kumar</name><uri>http://www.blogger.com/profile/04752957692826258590</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_u4Hf0Tbg7UY/ScjQLmOkbCI/AAAAAAAAAGI/cweeGwxlYjw/S220/CIMG0025.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_u4Hf0Tbg7UY/R-yXK6Gq11I/AAAAAAAAAFY/eEgolZlzoyU/s72-c/Image004.jpg' height='72' width='72'/><thr:total>4</thr:total></entry></feed>
