SelectGoodsFormData.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:3k
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelectGoodsFormData.aspx.cs" Inherits="SelectForm_SelectGoodsFormData" %>
- <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
- <!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 runat="server">
- <title>无标题页</title>
- <link href="../css/main.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript">
- function RtValue(rtstr)
- {
- window.returnValue=rtstr;
- window.close()
- }
- function OnTreeNodeChecked()
- {
- var Obj=event.srcElement;
- if(Obj.tagName == "A" || Obj.tagName== "a")
- {
- alert(Obj.id);//访问被点击结点的值,同样可以通过Obj.innerText设置它的值
- window.returnValue=Obj.id;
- window.close();
- return;
- }
- }
- </script>
- </head>
- <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
- <form runat="server" id="fm1">
- <table border="0" cellpadding="0" cellspacing="0" style="width: 234px; height: 221px;" >
- <tr>
- <td style="width: 100%" valign="top">
- <div style="OVERFLOW: auto; width:232px; HEIGHT: 316px; " id="z" align="center">
- <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound" Width="87%">
- <Columns>
- <asp:BoundField DataField="YPMC" HeaderText="物品名称" DataFormatString="<a style=quot;cursor:pointer quot; onclick="RtValue('{0}')">{0}</a>" HtmlEncode="False">
- <HeaderStyle Width="200px" />
- <ItemStyle HorizontalAlign="Center" />
- </asp:BoundField>
- </Columns>
- <RowStyle CssClass="usertablerow2" />
- <AlternatingRowStyle CssClass="usertablerow1" />
- </asp:GridView>
- </div>
- <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging" NumericButtonCount="5"></webdiyer:AspNetPager>
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>