日期:2014-05-17 浏览次数:20525 次
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddUser.aspx.cs" Inherits="WaterSystem.Web.USERMANAGE.AddUser" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../css/bootstrap.css" rel="stylesheet" type="text/css" />
<script src="../js/jquery-1.9.0.min.js" type="text/javascript"></script>
<script src="../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../js/jquery-easyui-1.3.5/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="../js/jquery-easyui-1.3.5/themes/icon.css" />
<script type="text/javascript" src="../js/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
</head>
<script type="text/javascript">
var strId;
$(document).ready(function () {
strId = getQueryString("id");
if (strId != null) {
$.ajax({
type: 'POST',
contentType: "application/json",
url: "../../webServices/WebService1.asmx/GetUserById",
data: "{strId:'" + strId + "'}",
dataType: "json",
success: function (msg) {
var user = eval('(' + msg.d + ')');
$("#txtAddress").val(user.Rows[0].ACCOUNT_ADDRESS);
$("#txtAge").val(user.Rows[0].ACCOUNT_AGE);
$.ajax({
type: 'POST',
contentType: "application/json",