<?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: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'><id>tag:blogger.com,1999:blog-4880146195379558542</id><updated>2025-11-26T13:06:54.906+05:30</updated><category term="Grid View"/><category term="File Upload"/><category term="Data Set"/><category term="XML"/><category term="Database"/><category term="DropDownList"/><category term="File Handiling"/><category term="File Upload control"/><category term="JavaScript"/><category term="Read Excel File"/><category term="Security"/><category term="Abstract Class"/><category term="Authenticate using XML"/><category term="C#"/><category term="Caching"/><category term="Classes"/><category term="Confirm Delete"/><category term="Cookies"/><category term="DataList"/><category term="DetailsView"/><category term="Difference Between Abstract Class and Interface"/><category term="FormView"/><category term="How to read files"/><category term="Interface"/><category term="Linq"/><category term="ListItem"/><category term="Repeater"/><category term="Repeater Events"/><category term="State Management"/><category term="Uploading File"/><category term="Web Config"/><category term="how to read excel file in asp.net"/><category term="show year in dropdownlist"/><title type='text'>How to do in Asp.Net and C#</title><subtitle type='html'>learn tips and trick of dot net Asp.Net,C#</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-7507472887591320341</id><published>2011-09-14T20:15:00.023+05:30</published><updated>2013-02-12T21:07:23.247+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><category scheme="http://www.blogger.com/atom/ns#" term="Linq"/><title type='text'>Update Delete in Database using Linq to Sql in Asp.Net GridView</title><summary type="text">

&lt;!--
google_ad_client = &quot;ca-pub-3136287360438413&quot;;
/* 300x250 */
google_ad_slot = &quot;8222431584&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;





Update Delete data using Linq to Sql From Asp.net GridView Control

What is Linq to Sql in .Net Framework 3.5

LINQ to SQL is a new feature in&amp;nbsp;.NET Framework&amp;nbsp;version 3.5 that provides a way to manage relational data as objects.&amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/7507472887591320341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2011/09/update-delete-in-database-using-linq-to.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7507472887591320341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7507472887591320341'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2011/09/update-delete-in-database-using-linq-to.html' title='Update Delete in Database using Linq to Sql in Asp.Net GridView'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB-rd-a7IywLeU2piOJtPc-ztanYD8Qvns35BRvcMrJJUq2nRWsBHBWUebqV0QdL8_kN4HjorLaaxvX0OSdZuLvLjkA1ZDmknSay6lIeZ106NCrdLE61y0sWKKYREWW7ZESdZ26erl-es/s72-c/linq+to+sql.bmp" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-1256532825665706466</id><published>2011-09-10T18:41:00.001+05:30</published><updated>2011-10-05T20:32:06.612+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><title type='text'>Select Multipal rows in GridView</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



Select and Delete Multiple Rows in Gridview controlHow to Select and delete Multiple Rows of GridView using CheckBox

GridView Control allow to select only one row at a time but But a little logic is required to select more than one row or Multiple rows </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/1256532825665706466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2011/09/select-multipal-rows-in-gridview.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/1256532825665706466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/1256532825665706466'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2011/09/select-multipal-rows-in-gridview.html' title='Select Multipal rows in GridView'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkghgtW3smGHNVSGgyYUKInlrquf1EguiiCOgGyTjjClCEG1-jJ3eUhyphenhyphencwJCYzHOz30eD3D8G4D8CHG631t1hSPhnGihXx27bWd0QuWnRzf3JaRoKqE4Sn0cKhBhrUz11jjfKFst5WZpc/s72-c/GridView+With+Check+Box.GIF" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-1625370603031299032</id><published>2011-09-10T18:34:00.005+05:30</published><updated>2011-10-05T20:26:59.426+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Upload"/><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><title type='text'>Use File Upload Control With GridView Control</title><summary type="text">

&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;



Upload a file in GridView Edit Mode
Here i am giving an example of how to use file upload control in asp.net for saving images in a folder on server and with GridView in edit mode

Here I give an example of saving book information </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/1625370603031299032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2011/09/use-file-upload-control-with-gridview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/1625370603031299032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/1625370603031299032'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2011/09/use-file-upload-control-with-gridview.html' title='Use File Upload Control With GridView Control'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-4008804045830749465</id><published>2010-11-21T20:29:00.012+05:30</published><updated>2011-10-05T20:33:40.930+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Set"/><title type='text'>How to convert a DataView to a DataTable or DataSet?</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;





Convert a DataView to a DataTable or DataSet?
.Net framework has provided us a very useful class DataView that provide us the functionality  to create desired view of data from a given DataTable  or DataSet by specifying some row filtering or sorting </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/4008804045830749465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/11/how-to-convert-dataview-to-datatable.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4008804045830749465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4008804045830749465'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/11/how-to-convert-dataview-to-datatable.html' title='How to convert a DataView to a DataTable or DataSet?'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-4540910568809243197</id><published>2010-11-03T18:40:00.004+05:30</published><updated>2011-10-14T11:54:26.424+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Confirm Delete"/><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><title type='text'>Delete Record with Confirmation Message in grid view</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;




Confirmation before Deleting Record using grid viewTo ask the user to confirm before deleting a record
&amp;lt;Column&amp;gt;
&amp;lt;asp:TemplateField&amp;gt; 
&amp;lt;ItemTemplate&amp;gt; 
&amp;lt;asp:Button ID=&quot;btnDel&quot; runat=&quot;server&quot; Text=&quot;Delete </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/4540910568809243197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/05/confirm-message-in-grid-view.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4540910568809243197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4540910568809243197'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/05/confirm-message-in-grid-view.html' title='Delete Record with Confirmation Message in grid view'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-1303541042113575453</id><published>2010-11-01T18:49:00.004+05:30</published><updated>2011-10-05T20:35:05.761+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Upload"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Add FileUpload Control at runtime in asp.net using javascirpt</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



Add dynamic FileUpload Control at runtime in asp.net using javascirpt

In our projects there may be a situation at design time where we don’t know how many FileUpload  control we need in a web page. So we have to add FileUpload Control at runtime as much</summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/1303541042113575453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/11/add-fileupload-control-at-runtime-in.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/1303541042113575453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/1303541042113575453'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/11/add-fileupload-control-at-runtime-in.html' title='Add FileUpload Control at runtime in asp.net using javascirpt'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlILYmMw4mcEsxBrHwKLml0hnxRXjCEoedkHZ9dHoPtlY1sJ1crmiDll2MskJylClZWXiVKYxfrS8ilGYaqkhzmp7DIpAfYgd-dbR8awS6b-Z1Xza5IFNgpVTI5MtmMIHDdA0RK8-cYbQ/s72-c/MultipalFileUpload.JPG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-3553595565139636977</id><published>2010-09-15T21:02:00.009+05:30</published><updated>2011-10-05T20:36:10.049+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><title type='text'>How to Merge Cells or rows in GridView Control</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;




Merging Cells or rows in GridView Control
Many time in our application we want to merge the cell or row of  GridView control for better user interface. The are many methods on internet to solve this problem but with long and complex code. Here I  am </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/3553595565139636977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/09/how-to-merge-cells-or-rows-in-gridview.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/3553595565139636977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/3553595565139636977'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/09/how-to-merge-cells-or-rows-in-gridview.html' title='How to Merge Cells or rows in GridView Control'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEuoNr-G9Fdwe_wSQiToZ8GlXgFHE4vUoEWBKSh7O3aifqL9BkCJrNLTRdnAymcQcK76IrsmHaM2sGpwwuVR75beJNGoneUhMVIHaGuSDVERWo9ruHDGivnzCbU3JdPy9JuzLJiDIFmzQ/s72-c/grid_view_merge.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-2047353110992478585</id><published>2010-08-26T20:26:00.007+05:30</published><updated>2011-10-27T16:47:51.911+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DropDownList"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>Bind DropDownList with Xml and DataSet</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



How to Bind DropDownList with Xml File
How to Bind DropDownList with DataSet
How to Bind DropDownList in Asp.Net
Bind DropDownList with DataSet and Xml FileIn a XML file there is a list of employees and now I want to bind the employee IDs and Names to a </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/2047353110992478585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/08/bind-dropdownlist-with-xml-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/2047353110992478585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/2047353110992478585'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/08/bind-dropdownlist-with-xml-using.html' title='Bind DropDownList with Xml and DataSet'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-6173953407738987905</id><published>2010-08-12T15:19:00.005+05:30</published><updated>2011-10-05T20:38:02.909+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DetailsView"/><title type='text'>Display,Save, Update,Delete in DetailsView Control in asp.net</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;




Save,Update,Delete in DetailsView Control in asp.net

DetailsView  is a DataBound control of asp.net  used to Displays the  single record from a DataSource in the form of  a table, where each row represents a field of the record. The DetailsView control</summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/6173953407738987905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/08/saveupdatedelete-in-detailsview-control.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/6173953407738987905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/6173953407738987905'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/08/saveupdatedelete-in-detailsview-control.html' title='Display,Save, Update,Delete in DetailsView Control in asp.net'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRsKXq7DUQsS2KlhftqYJqedrA4O_3t94QdVyBc_1BwXOYoC8JCbeU2alO9bFcHhRqwlvcbt8ltKWFpVXe3nY68COKlmzONpZ6C8x-qtvMyb8M1yIyu5pDSISA_QaVj0bSKcKU2H8Za_A/s72-c/tbemp.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-3255144182327628316</id><published>2010-07-25T19:05:00.011+05:30</published><updated>2011-10-08T19:50:47.252+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Config"/><title type='text'>Store username and password in web.config file</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



How to create user in web.config file and authenticate and authorise them
Web.config file,is a configuration file used in Asp .net web application. An Asp .net application has at least one web.config file which keeps the configurations required for the </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/3255144182327628316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/create-user-in-webconfig-file-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/3255144182327628316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/3255144182327628316'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/create-user-in-webconfig-file-and.html' title='Store username and password in web.config file'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-7874889219291092905</id><published>2010-07-17T14:17:00.003+05:30</published><updated>2011-10-05T20:40:42.863+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="FormView"/><title type='text'>Insert,Display,Edit,Update,Delete data in FormView control in Asp.Net</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



How to insert,display,edit,update,delete data in FormView control in asp.net
FormView is a databound control used to to insert,display,edit,update,delete data in asp.net  that renders a single record at a time  .FormView control is similar to DetailView </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/7874889219291092905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/insertdisplayeditupdatedelete-data-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7874889219291092905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7874889219291092905'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/insertdisplayeditupdatedelete-data-in.html' title='Insert,Display,Edit,Update,Delete data in FormView control in Asp.Net'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-7446172906676208101</id><published>2010-07-13T20:52:00.003+05:30</published><updated>2011-09-10T18:43:43.161+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataList"/><title type='text'>Display,Edit ,Update and delete data using DataList in  Asp.Net</title><summary type="text">
&lt;!--
google_ad_client = &quot;pub-2128842624720510&quot;;
/* 468x15,Strip Below Post */
google_ad_slot = &quot;6770313547&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;


 
Display, Edit , Update and delete data using DataListin Asp.Net and C#

DataList control is a data bound control which display repeated list of item of database.Manupulation of data in DataList is possible. We can edit and delete </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/7446172906676208101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/display-edit-update-and-delete-data.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7446172906676208101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7446172906676208101'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/display-edit-update-and-delete-data.html' title='Display,Edit ,Update and delete data using DataList in  Asp.Net'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-8490186845796129250</id><published>2010-07-10T17:39:00.010+05:30</published><updated>2011-07-27T19:19:05.629+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Set"/><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><category scheme="http://www.blogger.com/atom/ns#" term="Read Excel File"/><title type='text'>How to export Grid View Data to Excel using Data Table</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;



Here is an example of how we can export data of Grid View or other DataBound Controls to an excel file. I am using Grid View to Export data in this example but by modifying code you can also export data from Data List or Repeater </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/8490186845796129250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-export-grid-view-data-to-excel.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/8490186845796129250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/8490186845796129250'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-export-grid-view-data-to-excel.html' title='How to export Grid View Data to Excel using Data Table'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-4013267441771986979</id><published>2010-07-09T19:24:00.012+05:30</published><updated>2011-07-27T19:23:43.525+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Set"/><title type='text'>How to Create Data Table in Asp.Net and  C# Programatically</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;




Creating Data Table in Asp.Net and  C# Programatically

Data Table of Dot Net is similar to a Database Table. Data Table can store Data in rows and each row store one reocrd. 

Data Table is a class which is under System.Data Namespace of Dot net </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/4013267441771986979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-create-data-table-in-aspnet-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4013267441771986979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4013267441771986979'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-create-data-table-in-aspnet-and.html' title='How to Create Data Table in Asp.Net and  C# Programatically'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-5314211399975002185</id><published>2010-07-06T20:08:00.006+05:30</published><updated>2011-07-27T19:24:40.029+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Set"/><title type='text'>How to filter Data in DataSet using C#</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



How to filter Data in DataSet

DataView Class is used to filter and sorting of data in Data Set
Here I m giving an example of how we can filter and sort data in data set.

DataView: A DataView is used to create different views of the data stored in a </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/5314211399975002185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-filter-data-in-dataset-dataview.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/5314211399975002185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/5314211399975002185'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-filter-data-in-dataset-dataview.html' title='How to filter Data in DataSet using C#'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-4986217175153662153</id><published>2010-07-03T21:23:00.006+05:30</published><updated>2011-10-14T12:00:33.724+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><title type='text'>How to Bind GridView with SqlDataSource and use DataBoundField</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;



Bind GridView with SqlDataSource and use DataBoundField to display and update dataHere is an example of how to use Sql Data Source with Grid View while working with Data Bound Field in Grid View
We can bind&amp;nbsp; Grid view with </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/4986217175153662153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-use-grid-view-with-sql-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4986217175153662153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4986217175153662153'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-use-grid-view-with-sql-data.html' title='How to Bind GridView with SqlDataSource and use DataBoundField'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-7596078255298729260</id><published>2010-07-02T21:08:00.017+05:30</published><updated>2011-10-27T16:30:41.508+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Caching"/><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>Make Cache Dependency : How to make Cache Dependent on a File (XML File)</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* Bottom of Post */
google_ad_slot = &quot;2275643714&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;



How to Make Cache Dependency (Chache Dependent on a File)Here is an Example of how to use Data Caching in Asp.Net and Make Cache DependencyData Caching is a type of caching provided by Asp.net . Data Caching has three types.
File Dependency – </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/7596078255298729260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-make-cache-dependetn-of-file-xml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7596078255298729260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7596078255298729260'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/07/how-to-make-cache-dependetn-of-file-xml.html' title='Make Cache Dependency : How to make Cache Dependent on a File (XML File)'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-9034811327907572944</id><published>2010-06-26T15:46:00.007+05:30</published><updated>2011-09-10T18:44:57.647+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grid View"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>Save,Update and Delete in Xml file in Asp.Net</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



XML is designed to store and transport data. We can store data in a Xml file or Can use Xml as a databse. Here is and example of how we can use xml file to store data, update data and also delete data in Xml file using Asp.Net and C#.

I am using a Grid </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/9034811327907572944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/saveupdate-and-delete-in-xml-file-in.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/9034811327907572944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/9034811327907572944'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/saveupdate-and-delete-in-xml-file-in.html' title='Save,Update and Delete in Xml file in Asp.Net'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-7960409357868084262</id><published>2010-06-26T11:54:00.005+05:30</published><updated>2011-07-27T19:35:10.281+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Upload"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Check File Type while uploading in Asp.Net using JavaScript</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;




Here is an example of we can check the file type that is being uploaded by the user or your web page in Asp.Net.
I m using Java Script to check the file type. If the file type is correct than it will be uploaded to the server other </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/7960409357868084262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/here-is-example-of-we-can-check-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7960409357868084262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7960409357868084262'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/here-is-example-of-we-can-check-file.html' title='Check File Type while uploading in Asp.Net using JavaScript'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-8422853602398371576</id><published>2010-06-21T21:23:00.003+05:30</published><updated>2011-10-27T16:36:48.182+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><title type='text'>How to Connect to MS Access Database in Asp.net and C#.Net</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;



Example of How to Connect to MS Access Database in Asp.net and C#.Net
In this example i m using the northwind database that install (optionally) with MS Access database

First Drag a Grid view and Link Button control in your desing </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/8422853602398371576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-connect-to-ms-access-database-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/8422853602398371576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/8422853602398371576'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-connect-to-ms-access-database-in.html' title='How to Connect to MS Access Database in Asp.net and C#.Net'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-4124646896405339624</id><published>2010-06-20T11:57:00.005+05:30</published><updated>2011-07-27T19:37:44.566+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cookies"/><category scheme="http://www.blogger.com/atom/ns#" term="How to read files"/><category scheme="http://www.blogger.com/atom/ns#" term="State Management"/><title type='text'>How to Create and Read cookies in Asp.Net and C#.Net</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;




Cookies store user information in a text file and stored on user hard drive.here are some exmaples of how we can create cookies and read from them.

Creating Induvisual cookies

Indivisulal cookies are cookies which can store only </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/4124646896405339624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-create-and-read-cookies.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4124646896405339624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/4124646896405339624'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-create-and-read-cookies.html' title='How to Create and Read cookies in Asp.Net and C#.Net'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-7850676525805341125</id><published>2010-06-19T21:17:00.014+05:30</published><updated>2013-02-12T21:17:21.512+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Handiling"/><category scheme="http://www.blogger.com/atom/ns#" term="how to read excel file in asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="Read Excel File"/><category scheme="http://www.blogger.com/atom/ns#" term="Repeater"/><category scheme="http://www.blogger.com/atom/ns#" term="Repeater Events"/><title type='text'>Read,Write and Update Data in Excel Sheet using Asp.Net and C#</title><summary type="text">&lt;!--
google_ad_client = &quot;ca-pub-3136287360438413&quot;;
/* 300x250 */
google_ad_slot = &quot;8222431584&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;



Read Write Update excel file in asp.netSometime we require to read an Excel file and Modify the data and also save the modified record in the same file. &amp;nbsp;(Code Link is given Below)
Here i am giving an example to How to Read,Write and Update </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/7850676525805341125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-readwrite-and-update-data-in.html#comment-form' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7850676525805341125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7850676525805341125'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-readwrite-and-update-data-in.html' title='Read,Write and Update Data in Excel Sheet using Asp.Net and C#'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-7762483337955409263</id><published>2010-06-15T12:36:00.015+05:30</published><updated>2011-07-27T19:41:08.010+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Upload"/><category scheme="http://www.blogger.com/atom/ns#" term="File Upload control"/><title type='text'>Give Unique Name to a Uploaded File in Asp.Net (C#)</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;



How to give unique name to a uploaded file in Asp.Net (C#)

Here in an example of how we can give unique name to a uploaded file in Asp.Net (C#) using Guid (Global unique Identifire)

Code for .aspx file is given below:

&amp;lt;asp:FileUpload ID=&quot;FileUpload1</summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/7762483337955409263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/give-unique-name-to-uploaded-file-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7762483337955409263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/7762483337955409263'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/give-unique-name-to-uploaded-file-in.html' title='Give Unique Name to a Uploaded File in Asp.Net (C#)'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-3744396806111739685</id><published>2010-06-12T14:04:00.011+05:30</published><updated>2011-10-14T11:57:49.223+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="File Handiling"/><title type='text'>How to read Data from text file and save in database using asp.net C#</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* TOP */
google_ad_slot = &quot;6845558685&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;




Here is an example of how to read data from a text file (in Asp.Net) and store in database(SqlServer)
I have a text file with data stored in it in a predefined format as follow:
Format:
bookid,booktit,bookaut,bookpub,bookprc,bookimg

data
1,Asp.net,Rahul</summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/3744396806111739685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-read-text-file-and-save-in.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/3744396806111739685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/3744396806111739685'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/how-to-read-text-file-and-save-in.html' title='How to read Data from text file and save in database using asp.net C#'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4880146195379558542.post-6876227066660357017</id><published>2010-06-09T18:03:00.008+05:30</published><updated>2011-07-27T19:42:26.793+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Abstract Class"/><category scheme="http://www.blogger.com/atom/ns#" term="Classes"/><category scheme="http://www.blogger.com/atom/ns#" term="Difference Between Abstract Class and Interface"/><category scheme="http://www.blogger.com/atom/ns#" term="Interface"/><title type='text'>Difference betweein Abstract Class and Interface</title><summary type="text">&lt;!--
google_ad_client = &quot;pub-3136287360438413&quot;;
/* 300x250, created 7/27/11 */
google_ad_slot = &quot;2623764496&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;




Difference betweein Abstract Class and Interface

What is Abstract Class

An abstract class is a class that can’t be instantiated. It is only used to sub-classed. Other classes can inherit from it. The advantage of abstract is that </summary><link rel='replies' type='application/atom+xml' href='http://howinaspnet.blogspot.com/feeds/6876227066660357017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/difference-betweein-abstract-class-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/6876227066660357017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4880146195379558542/posts/default/6876227066660357017'/><link rel='alternate' type='text/html' href='http://howinaspnet.blogspot.com/2010/06/difference-betweein-abstract-class-and.html' title='Difference betweein Abstract Class and Interface'/><author><name>no fear choudhary is here</name><uri>http://www.blogger.com/profile/10722888392178303374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>