|
This is my entire DataGrid
<asp: datagrid id = "dgInfo" style = "Z-INDEX: 102; LEFT: 120px; POSITION: absolute; TOP: 304px" runat = "server"
Width = "800px" Height = "581px" GridLines = "None" AutoGenerateColumns = "False">
<Columns>
<asp: TemplateColumn>
<ItemTemplate>
<P> <FONT face = "宋体"> </ FONT> </A> </ P>
<P>
<TABLE id = "Table1" style = "WIDTH: 744px; HEIGHT: 155px" cellSpacing = "1" cellPadding = "1"
width = "744" border = "1">
<TR>
<TD rowSpan = "4">
<asp: Image id = Image1 runat = "server" Width = "168px" Height = "165px" ImageUrl = '<% # FormatImage (DataBinder.Eval (Container.DataItem, "id"))%>'>
</ asp: Image> </ TD>
</ TR>
<TR>
<TD align = "right"> <FONT face = "宋体"> Product name: </ FONT> </ TD>
<TD colSpan = "5">
<asp: Label id = "Label1" runat = "server">
<% # DataBinder.Eval (Container.DataItem, "pname")%>
</ asp: Label> <FONT face = "宋体">
<asp: Label id = "Label2" runat = "server">
<% # DataBinder.Eval (Container.DataItem, "code")%>
</ asp: Label> </ FONT> </ TD>
</ TR>
<TR>
<TD align = "right"> <FONT face = "宋体"> Number: </ FONT> </ TD>
<TD> <FONT face = "宋体">
<asp: TextBox id = "TextBox1" runat = "server" BorderStyle = "Groove" Width = "32px"> 1 </ asp: TextBox>
<asp: Button id = "Button1" runat = "server" Text = "<<" CommandName = "ADD"> </ asp: Button>
<asp: Button id = "Button2" runat = "server" Text = ">>" CommandName = "ADD1"> </ asp: Button>
</ FONT>
</ TD>
<TD align = "right"> <FONT face = "宋体"> Gifts: </ FONT> </ TD>
<TD>
<asp: Label id = "Label4" runat = "server">
<% # DataBinder.Eval (Container.DataItem, "score")%>
</ asp: Label> </ TD>
<TD align = "right"> <FONT face = "宋体"> Market price: </ FONT> </ TD>
<TD>
<asp: Label id = "Label5" runat = "server">
<% # DataBinder.Eval (Container.DataItem, "price")%>
</ asp: Label> </ TD>
</ TR>
<TR>
<TD align = "right"> <FONT face = "宋体"> Member price: </ FONT> </ TD>
<TD>
<asp: Label id = "Label6" runat = "server">
<% # DataBinder.Eval (Container.DataItem, "priceA")%>
</ asp: Label> </ TD>
<TD align = "right"> <FONT face = "宋体"> Transaction price: </ FONT> </ TD>
<TD>
<asp: Label id = "Label7" runat = "server"> Label </ asp: Label> </ TD>
<TD align = "right"> <FONT face = "宋体"> Total: </ FONT> </ TD>
<TD>
<asp: Label id = "Label8" runat = "server"> Label </ asp: Label> </ TD>
</ TR>
</ TABLE>
</ P>
</ ItemTemplate>
</ asp: TemplateColumn>
</ Columns>
</ asp: datagrid> |
|