Click here to Skip to main content
15,885,767 members
Articles / Programming Languages / C#

Record Navigation using Events in c#

Rate me:
Please Sign up or sign in to vote.
2.55/5 (8 votes)
3 Nov 20051 min read 52.2K   866   19  
This article explains you how to do Record Navigation in Web Form using events in c#.
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="frmUserControl.ascx.cs" Inherits="SamWebApp.frmUserControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<TABLE id="Table1" style="WIDTH: 224px; HEIGHT: 23px" cellSpacing="1" cellPadding="1" rules="none"
	width="224" border="0">
	<TR>
		<TD style="WIDTH: 61px"><asp:imagebutton id="btnNewImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\New.bmp"
				ToolTip="New"></asp:imagebutton></TD>
		<TD style="WIDTH: 17px"><asp:imagebutton id="btnSaveImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\Save.bmp"
				ToolTip="Save" EnableViewState="False"></asp:imagebutton></TD>
		<TD style="WIDTH: 11px"><asp:imagebutton id="btnUpdateImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\HTML\Images\update.gif"
				ToolTip="Update"></asp:imagebutton></TD>
		<TD><asp:imagebutton id="btnDelImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\delete.bmp"
				ToolTip="Delete"></asp:imagebutton></TD>
		<TD style="WIDTH: 14px"><asp:imagebutton id="btnFirstImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\Movefirst.bmp"
				ToolTip="First"></asp:imagebutton></TD>
		<TD style="WIDTH: 5px"><asp:imagebutton id="btnPrevImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\MovePrev.bmp"
				ToolTip="Prev"></asp:imagebutton></TD>
		<TD style="WIDTH: 7px"><asp:imagebutton id="btnNextImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\MoveNext.bmp"
				ToolTip="Next"></asp:imagebutton></TD>
		<TD style="WIDTH: 20px"><asp:imagebutton id="btnLastImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\MoveLast.bmp"
				ToolTip="Last"></asp:imagebutton></TD>
		<TD style="WIDTH: 5px"><asp:imagebutton id="btnSearchImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\Search.bmp"
				ToolTip="Search"></asp:imagebutton></TD>
		<TD style="WIDTH: 9px"><asp:imagebutton id="btnRefreshImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\refresh.ico"
				ToolTip="Refresh"></asp:imagebutton></TD>
		<TD style="WIDTH: 1px"><asp:imagebutton id="btnPrintImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\print.ico"
				ToolTip="Print"></asp:imagebutton></TD>
		<TD><asp:imagebutton id="btnCloseImage" runat="server" Width="15px" Height="15px" ImageUrl="file:///C:\unzipped\Sample-01-04-2005\images\Exit.bmp"
				ToolTip="Close"></asp:imagebutton></TD>
	</TR>
</TABLE>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
India India
Hai,

I am Rajee. In .NET I have nearly 3 years of experience. Currently working in C#.

With Regards,
Rajee

Comments and Discussions