Need Programming Assignment Help?

Get Help with Programming Assignment in Java, C/C++, Dot Net, PHP, Database and UML Diagrams

Store Data with Array List using ASP.NET 2.0 and C#

Store Data with Array List using ASP.NET 2.0 and C#

Store Data with Array List using ASP.NET 2.0 and C# – This tutorial will show you how to store data with Array List using ASP.NET 2.0 and C#.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StoreDataWithArraylistCsharp.aspx.cs" Inherits="_Default" %>

<!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 id="Head1" runat="server">
 <title>How to store data with ArrayList in ASP.NET 2.0 </title>
 
 <style type="text/css">
<!--
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
}
a:link {
 color: #0000FF;
}
a:visited {
 color: #0000FF;
}
a:hover {
 color: #0000FF;
 text-decoration: none;
}
a:active {
 color: #0000FF;
 }
.basix {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 11px;
}
.header1 {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 11px;
 font-weight: bold;
 color: #006699;
}
.lgHeader1 {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 18px;
 font-weight: bold;
 color: #0066CC;
 background-color: #CEE9FF;
}
-->
</style> 
</head>
<body>
 

 <form id="Form1" runat=server>
 <br />
 &nbsp;<table align="center" border="0" cellpadding="0" cellspacing="0" style="position: static"
 width="752">
 <tr bgcolor="#5482fc">
 <td colspan="4">
 <img height="1" src="/media/spacer.gif" width="1" /></td>
 </tr>
 <tr>
 <td bgcolor="#5482fc" width="1">
 <img alt="Server Intellect" height="1" src="media/spacer.gif" width="1" /></td>
 <td width="250">
 <a href="http://www.serverintellect.com">
 <img alt="Server Intellect" border="0" height="75" src="media/logo.gif" width="250" /></a></td>
 <td bgcolor="#3399ff" width="500">
 <a href="http://www.serverintellect.com">
 <img alt="Server Intellect" border="0" height="75" src="media/headerR1.gif" width="500" /></a></td>
 <td bgcolor="#5482fc" width="1">
 <img alt="Server Intellect" height="1" src="media/spacer.gif" width="1" /></td>
 </tr>
 <tr bgcolor="#5482fc">
 <td colspan="4">
 <img height="1" src="media/spacer.gif" width="1" /></td>
 </tr>
 </table>
 <br />
 <table align="center" bgcolor="#5482fc" border="0" cellpadding="5" cellspacing="1"
 style="position: static; width: 692px;">
 <tr>
 <td align="center" class="lgHeader1" height="50">
 How to store data with ArrayList in ASP.NET 2.0 and C#.NET</td>
 </tr>
 </table>
 <br />
 <br />
 
 <fieldset style="width: 804px" align="center">
 
 <legend>store data with ArrayList&nbsp;</legend>
 <div align="left" style="text-align: center">
 &nbsp;<table>
 <tr>
 <td colspan="2" style="width: 402px">
 <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#E7E7FF"
 BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal">
 <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
 <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
 <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
 <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
 <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
 <AlternatingRowStyle BackColor="#F7F7F7" />
 </asp:GridView>
 &nbsp;</td>
 </tr>
 <tr>
 <td colspan="2" style="height: 26px; width: 402px;">
 <asp:Button ID="btn_get" runat="server" Text="Get data from arraylist" OnClick="btn_get_Click" /></td>
 </tr>
 </table>
 &nbsp;&nbsp;

 </div>
 </fieldset> 
 
 <table align="center" cellpadding="0" cellspacing="0" style="position: static" width="500">
 <tr>
 <td align="center" class="basix" height="50">
 <strong>Power. Stability. Flexibility.</strong><br />
 Hosting from <a href="http://www.serverintellect.com">Server Intellect</a><br />

 </tr>
 </table>
 </form>
 </body>
 </html>