Posts

Showing posts from February, 2012

Multiple fileuploder with sql server in asp.net

Image
Introduction The multiple fileuploader is important in the web site. When you are create a new website you have to implement in the in the picture galary inside the album as well. So in this article I will explain how to we can upload multiple file with a single click. Implementation As usual create a simple asp.net web project and then add following html code to design page accept the user input such as button to add file uploder according to your need and upload button for save image inside the folder and the database. and create a folder named in the root of your application where the images will be stored.   Figure:multiple fileuploders HTML Code < head runat ="server">     < title > Multiple FileUpload Example </ title >     <% --i am using this javascript function to add the fileuploader -- %>     < script type = "text/javascript">   ...

How to split the string

Image
Introduction: Hello friends, in this article i will explain that how we can split the string from a particular word. Here i’ll split the string from the <br/>tag. Implementation: Create a new website add a page named split.aspx. Drag and drop a label named lbl_display and a button named btn_split from the toolbox at .aspx page. Code for split.aspx page: < form id ="form1" runat ="server">     < div >         < asp : Button ID ="btn_split" runat ="server" Text ="Show Data"             onclick ="btn_split_Click" />< br />         < asp : Label ID ="lbl_display" runat ="server" Text =""></ asp : Label >     </ div >     </ form > Code for gridview.aspx.cs page: using System; using System.Collections; using System.Configuration; using System.D...