Posts

Showing posts from January, 2011

How to use Repeater control

Image
HI Guys ! Today ....... Use the Repeater control (sample) <%@ Page Language="C#" AutoEventWireup="true" CodeFile="repeatercontroldemo.aspx.cs"     Inherits="repeatercontroldemo" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Untitled Page</title> </head> <body>     <form id="form1" runat="server">     <div>         <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">             <HeaderTemplate>                 <table width="100%">                     <tr style="background-color: Fuchsia ">                         <th>                             id     

How to use Repeater control

Image
HI Guys ! Today ....... Use the Repeater control (sample) <%@ Page Language="C#" AutoEventWireup="true" CodeFile="repeatercontroldemo.aspx.cs"     Inherits="repeatercontroldemo" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Untitled Page</title> </head> <body>     <form id="form1" runat="server">     <div>         <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">             <HeaderTemplate>                 <table width="100%">                     <tr style="background-color: Fuchsia ">                         <th>                             id     

How to upload and Retrieve multiple Images in your File System.

Image
Hi All,      Today ........... Multiple image upload: There are some simple steps to understand this application. Step 1:  Create a new ASP.NET application. <% @   Page   Language ="C#"   AutoEventWireup ="true"   CodeFile ="Default.aspx.cs"   Inherits ="_Default"  %> <! DOCTYPE   html   PUBLIC   "-//W3C//DTD XHTML 1.1//EN"   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> < html   xmlns ="http://www.w3.org/1999/xhtml"> < head >     < title > WebForm1 </ title > </ head > < body > < form   id ="Form1"   method ="post"   runat ="server"   style ="width: 530px;">     < fieldset >     < legend > Upload Multiple Photos </ legend >     < div   id ="div1"   runat ="server">       < input   type ="file"   size ="65"   runat ="server&quo