|
<%@ Page language="c#" Codebehind="ajaxDatagrid.aspx.cs" AutoEventWireup="false" Inherits="ajaxDG.ajaxDatagrid" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AJAX Powered DataGrid</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<script language="javascript" type="text/javascript" src="ajaxDatagrid.js"></script>
<style type="text/css"> @import url( ajaxDatagrid.css ); </style>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="frmDatagrid" method="post" runat="server">
<table id="tblMain" align="center">
<tr>
<td align="center">Query:<INPUT type="text" size="80" id="txtQuery" value="SELECT * FROM CUSTOMERS"> Rows:
<INPUT id="txtRows" type="text" size="2" value="20" name="txtRows"> <INPUT id="btnQuery" type="button" value="Query" onclick="pageGrid(1)"></td>
</tr>
<tr>
<td><div id="results"></div>
</td>
</tr>
<tr>
<td><INPUT id="txtSort" type="hidden" name="txtSort">
<INPUT id="txtPage" type="hidden" name="txtPage"></td>
</tr>
</table>
</form>
</body>
</HTML>
|
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.
I have worked professionally in IT since 2004, and as a software architect since 2008, specializing in user interface design and experience, something I am still extremely passionate about. In 2013 I moved into management, and since then I've held positions as Director of Product Development, Director of Engineering, and Practice Director.