All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
ASP.NET&Spring.NET&NHibernate最佳实践(六)——第3章人事子系统(3)_[Asp.Net教程]

Writer: 归海一刀 Article type: Programming skills(编程技巧) Time: 2014/1/30 0:53:41 Browse times: 327 Comment times: 0

ASP.NET&Spring.NET&NHibernate最佳实践(六)——第3章人事子系统(3)_[Asp.Net教程]


Head photo

Go homepage
Upload pictures
Write articles

ASP.NET&Spring.NET&NHibernate最佳实践(六)——第3章人事子系统(3)_[Asp.Net教程]

3.6. 人事子系统表示层(Web)
修改Depts.aspx



AutoGenerateColumns="False" Width="100%" AllowPaging="true" PageSize="10">


























部门代码






部门名称











SelectMethod="GetAllDepts" InsertMethod="CreateDept" UpdateMethod="UpdateDept"
DeleteMethod="DeleteDept">

修改Employees.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="Employees.aspx.cs" Inherits="Employees" %>







AutoGenerateColumns="False" Width="100%" AllowPaging="true" PageSize="10">


















DataSourceID="odsDepts" SelectedValue='<%# Bind("DeptID") %>'>
















工号






姓名






部门

DataSourceID="odsDepts" SelectedValue='<%# Bind("DeptID") %>'>










SelectMethod="GetAllEmployees" InsertMethod="CreateEmployee" UpdateMethod="UpdateEmployee"
DeleteMethod="DeleteEmployee">

SelectMethod="GetAllDepts">





There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)

Disclaimer Privacy Policy About us Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.