|
<%@ Page Inherits="XmlDataMain" Src="xmldata.cs" %>
<html>
<head>
<title>Sorting different datatypes in XML using DataGrid</title>
<style>
.asptable
{
BORDER-RIGHT: #000000 thin solid;
BORDER-TOP: #000000 thin solid;
FONT-WEIGHT: lighter;
FONT-SIZE: x-small;
BORDER-LEFT: #000000 thin solid;
WIDTH: 50%;
BORDER-BOTTOM: #000000 thin solid;
FONT-FAMILY: Verdana;
BACKGROUND-COLOR: #fafad2
}
.normaltext
{
BORDER-RIGHT: #000000;
BORDER-TOP: #000000;
FONT-SIZE: x-small;
BORDER-LEFT: #000000;
COLOR: #dc143c;
BORDER-BOTTOM: #000000;
FONT-FAMILY: Courier, 'Courier New'
}
</style>
</head>
<body>
<form runat="server">
<p>
<span class=normaltext>Find the difference between sorting of Item Id column and Amount column</span>
<br>
<asp:datagrid CssClass=asptable id="XmlDataGrid" CellSpacing="1" runat="server" OnSortCommand="SortGrid" AllowSorting="True">
<HeaderStyle Font-Bold="True" ForeColor="#FFFFFF" BackColor="#A0522D" HorizontalAlign="Center"></HeaderStyle>
<ItemStyle BackColor="#FFEFD5"></ItemStyle>
</asp:datagrid>
</p>
</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.
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
I am Roopesh Rajendran, I have 3 + years expirience in asp.net C#. Currently i am working in U S Technology Techopark.i am an ative member in Code project,.net spider,Expert Exchange....
i have MCP's in C# web,XML Web service, % brain bech certifications...published lot of articles in Code project..