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EPPMNBzoKFnGOg50NAzDPQcaOgZBnoONPQMAz0HGnqGgZ4DDT3DQM+Bhp5hoOdAQ88w0HOgoWcY6DnQ0DMM9Bxo6BkGeg409AwDPQcaeoaBngMNPcNAz4GGnmGg50BDzzDQc6ChZxj69fzKM0vXWrGG5CXbz9Dyje99t+Dddd2fa09e/J1Z+dmUL5QFSL+Ti54xjoY3n//X2hUPLpZQrCs/2Nmzpz39EWB+q1/M9Axb255XHKYn549Qqq7qVFX/s/gt6flFz3iFVnebsyJzP1S+kFKRzpAfZsb2fMLk5PoPKl+J+RJ6RnudPh/6P386e5Z6k86gf0vaq5/Lz/+cnvHuAvUsfbdJz9KTovh18V2Yi6FndNf+nqv5d07pk7Mz7GKBSqXmR+7kyPyKeeHJwfSMPfXYn6vuaf/+rJyw+HE3z89cVXGP1Q/e8t7pGY29Yc/KR19zX0061Hd1vWfl5f6T0DNeqtVtp3yaVTpUOqnd/ZzHexbjTJee8XZ63HZVd7aUpRnV6p7Nk+T7vHlFz2LoGd3169nz+fb7acP09KynpT8CantOdm/lc4RzMfSM7nrtJI7dVf/sraTr/4huPiacm7z/z51PMXpGF+3vOeHur22pWODvyaVsklcVe07oa9A/Waz4E3pGRw1vOP3u1+9vZQOs/Vir78n+h0jtT6bqrdEzuuj0eZvpMfQMAz0HGnqGgZ4DDT3DQM+Bhp5hoOdAQ88w0HOgoWcY6DnQ0DMM9Bxo6BkGeg409AwDPQcaeoaBngPNPxB3yy2yzrVKAAAAAElFTkSuQmCC" alt="" />

二:获取绑定数据依据

1.通过地址栏传参:Request.Query["ID"]
2.判断Request.Query["ID"]是否为空,如果不为空,则取出数据,用于绑定的条件筛选。
根据ID获取对应的城市:

   /// <summary>
/// 根据省份ID获取对应的城市
/// </summary>
/// <param name="ProvinceID"></param>
/// <returns></returns>
public static DataTable getCityListByProvinceID(string ProvinceID)
{
SqlParameter[] pars; if (ProvinceID == null || ProvinceID == "")
{
pars = new SqlParameter[]{
new SqlParameter("@tableName","tbCityInfo"),
new SqlParameter("@columns"," * "),
new SqlParameter("@condition"," 1=1")
};
}
else
{
pars = new SqlParameter[]{
new SqlParameter("@tableName","tbCityInfo"),
new SqlParameter("@columns"," * "),
new SqlParameter("@condition"," ProvinceInfoID ="+ProvinceID)
};
} return DataBaseHelper.SelectSQLReturnDataSet("GetDataByCondition", CommandType.StoredProcedure, pars).Tables[0];
}

显示的页面:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerListShow.aspx.cs" Inherits="BioErpWeb.CRMSystem.CustomerListShow" %>

<%@ 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="../Styles/ERPBaseStyle.css" rel="stylesheet" type="text/css" />
<link href="../Styles/AspNetPagerStyle.css" rel="stylesheet" type="text/css" />
<style type="text/css">
td{ text-align:center;}
.tdsearch{ line-height:30px;}
.menubar{ background:url(../Web/images/block_hd_bg.png); height:25px; width:100%;}
.menubar ul{ margin:0px; padding:0px; list-style:none;}
.menubar ul li{ display:inline; line-height:25px;}
.menubar ul li a{display:inline-block; text-align:center; width:100px; color:#0066CC; text-decoration:none;} </style>
</head>
<body>
<form id="form1" runat="server">
<div class="menubar">
<ul>
<li>
<asp:HyperLink ID="HyperLink1" NavigateUrl="~/CRMSystem/CustomerListShow.aspx" Target="MainFrame" runat="server">客户资料管理</asp:HyperLink>
</li> <li>
<asp:HyperLink ID="HyperLink2" NavigateUrl="~/CRMSystem/LinkManAdd.aspx" runat="server">客户联系人管理</asp:HyperLink>
</li>
<li>
<asp:HyperLink ID="HyperLink3" runat="server">联系记录管理</asp:HyperLink>
</li>
<li>
<asp:HyperLink ID="HyperLink4" runat="server">客户文档管理</asp:HyperLink>
</li>
<li>
<asp:HyperLink ID="HyperLink5" runat="server">客户反馈信息管理</asp:HyperLink>
</li>
</ul>
</div>
<div>
<table class="maintable" style=" width:900px;">
<tr>
<td colspan="5" class="titlebar">
客户<span>信息管理系统</span>
</td>
</tr>
<tr>
<td class="tdsearch">
<asp:Label ID="Label1" runat="server" Text="客户名称:"></asp:Label>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
</td>
<td class="tdsearch">
<asp:Label ID="Label2" runat="server" Text="等级"></asp:Label>
<asp:DropDownList ID="ddlCustomerLevel" runat="server">
<asp:ListItem>一级</asp:ListItem>
<asp:ListItem>二级</asp:ListItem>
<asp:ListItem>三级</asp:ListItem>
<asp:ListItem>四级</asp:ListItem>
</asp:DropDownList>
</td>
<td class="tdsearch">
<asp:Label ID="Label3" runat="server" Text="客户是否删除"></asp:Label>
<asp:DropDownList ID="ddlState" runat="server">
<asp:ListItem Value="0">否</asp:ListItem>
<asp:ListItem Value="1">是</asp:ListItem>
</asp:DropDownList>
</td>
<td class="tdsearch">
<asp:Label ID="Label11" runat="server" Text="省份"></asp:Label>
<asp:DropDownList ID="ddlProvince" runat="server" Width="150px">
</asp:DropDownList>
</td>
<td class="tdsearch">
<asp:ImageButton ID="imgbutnSearch" Width="60" Height="22" runat="server"
ImageUrl="~/Web/images/Btnsearch.gif" onclick="imgbutnSearch_Click" /> 
<asp:ImageButton ID="imgbtnNew" runat="server" Width="60" Height="22"
ImageUrl="~/Web/images/btnadd.gif" onclick="imgbtnNew_Click"/>
</td>
</tr>
<tr>
<td colspan="5" class="bottomtd">
<asp:GridView ID="GridView1" Width="100%" runat="server" AutoGenerateColumns="False" DataKeyNames="CustomerID">
<Columns>
<asp:TemplateField HeaderText="客户编号" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate> <asp:Label ID="Label4" runat="server" Text='<%# Eval("CustomerNumber") %>'></asp:Label>
</ItemTemplate> <HeaderStyle HorizontalAlign="Center"></HeaderStyle> <ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="客户名称" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Eval("CustomerName") %>'></asp:Label>
</ItemTemplate>
<ItemStyle Width="120px" HorizontalAlign="Center" /> <HeaderStyle HorizontalAlign="Center"></HeaderStyle> <ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="法人代表" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Eval("JuridicalPerson") %>'></asp:Label>
</ItemTemplate> <HeaderStyle HorizontalAlign="Center"></HeaderStyle> <ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="电话号码" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label7" runat="server" Text='<%# Eval("Tel1") %>'></asp:Label>
</ItemTemplate> <HeaderStyle HorizontalAlign="Center"></HeaderStyle> <ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Email" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label8" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
</ItemTemplate> <HeaderStyle HorizontalAlign="Center"></HeaderStyle> <ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="客户等级" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label9" runat="server" Text='<%# Eval("CustomerLevel") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="客户等级" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label9" runat="server" Text='<%# Eval("CustomerLevel") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="下次联系时间" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label10" runat="server" Text='<%# Convert.ToDateTime(Eval("NextTime")).ToString("yyyy/MM/dd") %>'></asp:Label>
</ItemTemplate> <HeaderStyle HorizontalAlign="Center"></HeaderStyle> <ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:HyperLinkField DataNavigateUrlFields="CustomerID"
DataNavigateUrlFormatString="CustomerUpdate.aspx?ID={0}" HeaderText="操作"
Text="查看并修改客户信息">
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Center" />
</asp:HyperLinkField>
</Columns>
</asp:GridView>
</td>
</tr>
<tr>
<td colspan="5">
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator" CurrentPageButtonClass="cpb"
onpagechanged="AspNetPager1_PageChanged">
</webdiyer:AspNetPager>
</td>
</tr> </table> </div>
</form>
</body>
</html>

后台代码:

 public partial class CustomerListShow : System.Web.UI.Page
{ public static int pageindex = 0;
public static int pagesize = 10;
public static string condition = ""; protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{ ddlProvinceBind();
getallCustomerList();
}
} /// <summary>
/// 绑定省份
/// </summary>
public void ddlProvinceBind()
{
this.ddlProvince.DataSource = SqlComm.getProvinceInfoList();
this.ddlProvince.DataTextField = "ProvinceInfoName";
this.ddlProvince.DataValueField = "ProvinceInfoID";
this.ddlProvince.DataBind();
this.ddlProvince.Items.Add(new ListItem("--请选择省份--", "0"));
this.ddlProvince.SelectedValue = "0";
} /// <summary>
/// 查询所有员工信息
/// </summary>
private void getallCustomerList()
{
this.AspNetPager1.RecordCount = SqlComm.getDataCountByCondition("dbo.View_CRMCustomerInfo", condition);
this.AspNetPager1.PageSize = pagesize;
this.GridView1.DataSource = SqlComm.getDataByPageIndex("dbo.View_CRMCustomerInfo", "*", "CustomerID", condition, pageindex, pagesize);
this.GridView1.DataBind();
} protected void AspNetPager1_PageChanged(object sender, EventArgs e)
{
pageindex = this.AspNetPager1.CurrentPageIndex - 1;
getallCustomerList();
} protected void imgbutnSearch_Click(object sender, ImageClickEventArgs e)
{
pageindex = 0;
condition = "";
if (txtName.Text.Trim() != null && this.txtName.Text.Trim().Length != 0)
{
condition = condition + " and CustomerName like '" + txtName.Text + "%'";
} if (this.ddlState.SelectedValue == "1")
{
condition = condition + " and DeleteState ='True'";
}
else
{
condition = condition + " and DeleteState ='False'";
} condition = condition + " and CustomerLevel='" + this.ddlCustomerLevel.SelectedItem.Text+"' "; if (this.ddlProvince.SelectedValue != "0")
{
condition = condition +" and Province='"+ this.ddlProvince.SelectedItem.Text+"'";
} getallCustomerList(); } protected void btnNew_Click(object sender, EventArgs e)
{ } protected void imgbtnNew_Click(object sender, ImageClickEventArgs e)
{
Server.Transfer("CustomerAdd.aspx");
} }

修改的前台页面:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerUpdate.aspx.cs" Inherits="BioErpWeb.CRMSystem.CustomerUpdate"  %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!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="../Styles/ERPBaseStyle.css" rel="stylesheet" type="text/css" />
<link href="../Styles/CalenderStyle.css" rel="stylesheet" type="text/css" />
<script src="../JS/CheckUserName.js" type="text/javascript"></script> <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<style type="text/css">
.style1
{
height: 22px;
}
.style3
{
width: 252px;
}
.style4
{
width: 94px;
}
.style5
{
width: 71px;
}
</style> <script type="text/javascript">
$(document).ready(function () {
$("#btnSubmit").click(function () {
var customer = $("#txtCustomerName");
if (customer.val() == '') {
alert('必须填写客户名称');
return false;
} var JuridicalPerson = $("#txtJuridicalPerson");
if (JuridicalPerson.val() == '') {
alert('必须填写法人代表');
return false;
} var txtRegisterTime = $("#txtRegisterTime");
if (txtRegisterTime.val() == '') {
alert('公司注册时间必须填写');
txtRegisterTime.focus();
return false;
} var txtNextTime = $("#txtNextTime");
if (txtNextTime.val() == '') {
alert('下次联系时间必须填写');
txtNextTime.focus();
return false;
} var txtUserName = $("#txtUserName");
if (txtUserName.val() == '') {
alert('所属销售代表');
txtRegisterTime.focus();
return false;
} var txtIntegral = $("#txtIntegral");
if (txtIntegral.val() == '') {
alert('请填写用户积分');
txtIntegral.focus();
return false;
} return true; }); }); </script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
<table class="maintable">
<tr>
<td colspan="4" class="titlebar"><span>客户信息编辑</span></td>
</tr>
<tr>
<td>客户名</td><td><asp:TextBox ID="txtCustomerName" runat="server"></asp:TextBox></td>
<td>法人代表</td><td><asp:TextBox ID="txtJuridicalPerson" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>企业地址</td><td><asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
<td>传真</td><td><asp:TextBox ID="txtFax" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>电话号码1</td><td><asp:TextBox ID="txtTel1" runat="server"></asp:TextBox></td>
<td>电话号码2</td><td><asp:TextBox ID="txtTel2" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>Email邮件</td><td><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
<td>公司网址</td><td><asp:TextBox ID="txtWebSite" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>注册时间</td><td><asp:TextBox ID="txtRegisterTime" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="ceRegisterTime" TargetControlID="txtRegisterTime" Format="yyyy-MM-dd" runat="server">
</cc1:CalendarExtender>
</td>
<td>所属销售代表</td><td><asp:TextBox ID="txtUserName" runat="server"></asp:TextBox><input type="button" style=" width:60px" value="选择" onclick="showDialog()"/></td>
</tr>
<tr>
<td>税号</td><td><asp:TextBox ID="txtTaxNumber" runat="server"></asp:TextBox></td>
<td>下次联系时间</td><td><asp:TextBox ID="txtNextTime" runat="server"></asp:TextBox> <cc1:CalendarExtender ID="ceNextTime" TargetControlID="txtNextTime" Format="yyyy-MM-dd" runat="server">
</cc1:CalendarExtender>
</td>
</tr>
<tr>
<td>客户状态</td><td>
<asp:DropDownList ID="ddlState" runat="server">
<asp:ListItem>良好</asp:ListItem>
<asp:ListItem>一般</asp:ListItem>
</asp:DropDownList>
</td>
<td>客户来源</td><td>
<asp:DropDownList ID="ddlSource" runat="server">
<asp:ListItem>国内</asp:ListItem>
<asp:ListItem>国外</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style1">客户类型</td><td class="style1">
<asp:DropDownList ID="ddlType" runat="server">
<asp:ListItem>国有</asp:ListItem>
<asp:ListItem>民营</asp:ListItem>
<asp:ListItem>外资</asp:ListItem>
<asp:ListItem>合资</asp:ListItem>
<asp:ListItem>个体</asp:ListItem>
</asp:DropDownList>
</td>
<td class="style1">所属行业</td><td class="style1">
<asp:DropDownList ID="ddlVocation" runat="server">
<asp:ListItem>制造</asp:ListItem>
<asp:ListItem>服务</asp:ListItem>
<asp:ListItem>教育</asp:ListItem>
<asp:ListItem>医疗</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>客户性质</td><td>
<asp:DropDownList ID="ddlProperty" runat="server">
<asp:ListItem>高端客户</asp:ListItem>
<asp:ListItem>中端客户</asp:ListItem>
<asp:ListItem>低端客户</asp:ListItem>
</asp:DropDownList>
</td>
<td>客户等级</td><td>
<asp:DropDownList ID="ddlCustomerLevel" runat="server">
<asp:ListItem>一级</asp:ListItem>
<asp:ListItem>二级</asp:ListItem>
<asp:ListItem>三级</asp:ListItem>
<asp:ListItem>四级</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td colspan="4"> <asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table style=" width:100%; border:0px;">
<tr>
<td class="style5">省份</td><td class="style3">
<asp:DropDownList ID="ddlProvince" runat="server" Width="150px" AutoPostBack="True"
onselectedindexchanged="ddlProvince_SelectedIndexChanged">
</asp:DropDownList>
</td>
<td class="style4">城市</td>
<td>
<asp:DropDownList ID="ddlCity" Width="150px" runat="server">
</asp:DropDownList>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel> </td>
</tr> <tr>
<td>开户银行</td><td><asp:TextBox ID="txtBank" runat="server"></asp:TextBox></td>
<td>银行账号</td><td><asp:TextBox ID="txtAccounts" runat="server"></asp:TextBox></td>
</tr> <tr>
<td>积分</td><td><asp:TextBox ID="txtIntegral" runat="server"></asp:TextBox></td>
<td>信用级别</td><td><asp:TextBox ID="txtCredit" runat="server"></asp:TextBox></td>
</tr> <tr>
<td>所属区域</td><td>
<asp:DropDownList ID="ddlArea" runat="server" Width="150px"
>
<asp:ListItem>东</asp:ListItem>
<asp:ListItem>西</asp:ListItem>
<asp:ListItem>南</asp:ListItem>
<asp:ListItem>北</asp:ListItem>
</asp:DropDownList>
</td>
<td>是否删除</td><td>
<asp:DropDownList ID="ddlDelete" runat="server">
<asp:ListItem Value="0">否</asp:ListItem>
<asp:ListItem Value="1">是</asp:ListItem>
</asp:DropDownList>
</td>
</tr> <tr>
<td> </td><td>
 </td>
<td> </td><td>
 </td>
</tr> <tr>
<td>备注:</td><td colspan="3">
<asp:TextBox ID="txtRemark" runat="server" Rows="2" TextMode="MultiLine"
Width="580px"></asp:TextBox>
</td>
</tr> <tr>
<td colspan="4" class="bottomtd"> <asp:Button ID="btnSubmit" runat="server" Text="客户资料编辑"
onclick="btnSubmit_Click" /> <asp:Button ID="btnReturn" runat="server" Text="返回列表" onclick="btnReturn_Click"
/> </td>
</tr> </table>
<br />
</div>
</form>
</body>
</html>

后台代码:

 public partial class CustomerUpdate : System.Web.UI.Page
{ BioCrmCustomerBLL cbll = new BioCrmCustomerBLL();
static BioCrmCustomer customer = new BioCrmCustomer();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ddlProvinceBind();
ddlCityBind();
pageinfoband();
}
} /// <summary>
/// 绑定页面信息
/// </summary>
public void pageinfoband()
{
if (Request.QueryString["ID"] == null)
{
Server.Transfer("CustomerListShow.aspx");
}
else
{
string id = Request.QueryString["ID"].ToString();
customer= cbll.GetCustomerByID(id);
this.txtCustomerName.Text = customer.CustomerName;
this.txtJuridicalPerson.Text=customer.JuridicalPerson ;
this.txtAddress.Text=customer.Address ;
this.txtFax.Text=customer.Fax ;
this.txtTel1.Text=customer.Tel1 ;
this.txtTel2.Text= customer.Tel2 ;
this.txtEmail.Text= customer.Email;
this.txtWebSite.Text= customer.WebSite;
this.txtRegisterTime.Text= customer.RegisterTime.ToString() ;
this.txtUserName.Text=customer.UserID.ToString() ;
this.txtTaxNumber.Text= customer.TaxNumber ;
this.txtNextTime.Text=customer.NextTime.ToString();
this.ddlState.SelectedItem.Text = customer.State ;
this.ddlState.SelectedItem.Text= customer.Source ;
this.ddlCustomerLevel.SelectedItem.Text= customer.CustomerLevel ;
this.ddlProperty.SelectedItem.Text= customer.Property ;
this.ddlType.SelectedItem.Text= customer.Type ;
this.ddlVocation.SelectedItem.Text=customer.Vocation ;
this.ddlProvince.SelectedItem.Text=customer.Province;
this.ddlCity.SelectedItem.Text=customer.City ;
this.txtBank.Text=customer.Bank ;
this.txtAccounts.Text=customer.Accounts ;
this.txtIntegral.Text=customer.Integral.ToString();
this.txtCredit.Text= customer.Credit ;
this.txtRemark.Text=customer.Remark ;
this.ddlArea.SelectedValue=customer.Area ;
this.ddlDelete.SelectedValue = customer.DeleteState == true ? "1" : "0";
}
}
//绑定省份信息
public void ddlProvinceBind()
{
this.ddlProvince.DataSource = SqlComm.getProvinceInfoList();
this.ddlProvince.DataTextField = "ProvinceInfoName";
this.ddlProvince.DataValueField = "ProvinceInfoID";
this.ddlProvince.DataBind();
this.ddlProvince.Items.Add(new ListItem("--请选择省份--","0"));
this.ddlProvince.SelectedValue="0";
} public void ddlCityBind()
{
this.ddlCity.DataSource = SqlComm.getCityListByProvinceID(null);
this.ddlCity.DataTextField = "CityInfoName";
this.ddlCity.DataValueField = "CityInfoID";
this.ddlCity.DataBind();
this.ddlCity.Items.Add(new ListItem("--请选择城市--", "0"));
this.ddlCity.SelectedValue = "0";
} protected void btnSubmit_Click(object sender, EventArgs e)
{ customer.CustomerName = this.txtCustomerName.Text;
customer.JuridicalPerson = this.txtJuridicalPerson.Text;
customer.Address = this.txtAddress.Text;
customer.Fax = this.txtFax.Text;
customer.Tel1 = this.txtTel1.Text;
customer.Tel2 = this.txtTel2.Text;
customer.Email = this.txtEmail.Text;
customer.WebSite = this.txtWebSite.Text;
customer.RegisterTime = Convert.ToDateTime(this.txtRegisterTime.Text);
customer.UserID = int.Parse(this.txtUserName.Text);
customer.TaxNumber = this.txtTaxNumber.Text;
customer.NextTime = Convert.ToDateTime(this.txtNextTime.Text);
customer.State= this.ddlState.SelectedItem.Text;
customer.Source = this.ddlState.SelectedItem.Text;
customer.CustomerLevel = this.ddlCustomerLevel.SelectedItem.Text;
customer.Property = this.ddlProperty.SelectedItem.Text;
customer.Type = this.ddlType.SelectedItem.Text;
customer.Vocation = this.ddlVocation.SelectedItem.Text;
customer.Province = this.ddlProvince.SelectedItem.Text;
customer.City = this.ddlCity.SelectedItem.Text;
customer.Bank = this.txtBank.Text;
customer.Accounts = this.txtAccounts.Text;
customer.Integral =int.Parse(this.txtIntegral.Text.Trim());
customer.Credit = this.txtCredit.Text;
customer.Remark = this.txtRemark.Text;
customer.Area = this.ddlArea.SelectedValue;
customer.DeleteState = this.ddlDelete.SelectedValue == "0" ? false : true;
BioCrmCustomerBLL custormerbll = new BioCrmCustomerBLL();
if (custormerbll.CustomerUpdate(customer) != 0)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "test", "alert('编辑成功')", true);
Server.Transfer("CustomerListShow.aspx");
}
else
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "test", "alert('编辑失败')", true);
Server.Transfer("CustomerListShow.aspx");
} } protected void ddlProvince_SelectedIndexChanged(object sender, EventArgs e)
{
if (this.ddlProvince.SelectedValue != "0")
{
string ProvinceId = this.ddlProvince.SelectedValue.ToString();
ddlCity.DataSource = SqlComm.getCityListByProvinceID(ProvinceId);
ddlCity.DataTextField = "CityInfoName";
ddlCity.DataValueField = "CityInfoID";
ddlCity.DataBind();
}
} protected void btnReturn_Click(object sender, EventArgs e)
{
Server.Transfer("CustomerListShow.aspx");
}
}

CRM客户关系管理系统修改(十四)的更多相关文章

  1. CRM客户关系管理系统(十二)

    十二章.学员报名流程开发 2  12.1.学员报名合同和证件信息上传 功能: 必须勾选报名合同协议 必须上传个人证件信息 最多只能上传三个文件 文件大小2M以内 列出已上传文件 (1)crm/urls ...

  2. CRM客户关系管理系统(十)

    第十章.kingadmin+admin+actions功能开发 10.1. django admin的action  可以自己写个函数执行批量操作 crm/admin.py 后台admin actio ...

  3. Django CRM客户关系管理系统

    CRM需求分析 随着信息化时代带来的科技创新,CRM客户关系管理系统带来的效益在已经成为很多企业提高竞争优势的一分部,CRM客户关系管理系统将企业管理和客户关系管理集成到统一的平台,其系统功能主要体现 ...

  4. CRM 客户关系管理系统

    CRM(Customer Relationship Manager)客户关系管理系统 企业为提高核心竞争力,利用相应的信息技术以及互联网技术协调企业与顾客间在销售.营销和服务上的交互,从而提升其管理方 ...

  5. CRM客户关系管理系统-需求概设和详设

    大概设计 大概设计就是对需求进行一个整体性分析,把需要实现的功能都列出来,对于客户关系管理系统,我们需要从角色出发,从而确定有哪些需求,最好是画个思维导图 首先我们是为培训学校这么一个场景来开发的,所 ...

  6. CRM客户关系管理系统 北京易信软科信息技术有限公司

    北京易信软科信息技术有限公司 推出大型erp系统,库存管理系统,客户关系管理系统,车辆登记管理系统,员工管理系统,采购管理系统,销售管理系统,为您的企业提供最优质的产品服务 北京易信软科您可信赖的北京 ...

  7. Django项目:CRM(客户关系管理系统)--43--35PerfectCRM实现CRM重写Admin密码修改

    #admin.py # ————————01PerfectCRM基本配置ADMIN———————— from django.contrib import admin # Register your m ...

  8. Django项目:CRM(客户关系管理系统)--70--60PerfectCRM实现CRM学生上课记录

    #urls.py """PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. ...

  9. Django项目:CRM(客户关系管理系统)--58--48PerfectCRM实现CRM客户报名流程学生合同

    # sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm. ...

随机推荐

  1. CentOS所有下载

    简述 CentOS(Community Enterprise Operating System - 社区企业操作系统)是Linux发行版之一,它是来自于Red Hat Enterprise Linux ...

  2. Redis与Java - 实践

    Redis与Java - 实践 标签 : Java与NoSQL Transaction Redis事务(transaction)是一组命令的集合,同命令一样也是Redis的最小执行单位, Redis保 ...

  3. Spring Web Flow 简介

    Spring Web Flow 简介 博客分类: 转载 SSH 最近在TSS上看到了一片介绍Spring Web Flow的文章,顺便就翻译了下来,SWF的正式版估计要到6月份才能看到了,目前的例子都 ...

  4. Web API初印象

    理解REST,RESTful和Web API 1.REST:Representational State Transfer表征状态转移,是Roy Fielding博士在2000年他的博士论文中提出来的 ...

  5. jQuery的bind()与live()

    前言 最近一个项目的前端有这样的一个需求:页面中有某按钮,点击按钮之后通过服务器的返回信息更改这个按钮的点击事件执行函数. 方案1 之前小猪使用的方法是给按钮增加class.在jquery中通过cla ...

  6. ViewPager滑动页面的实现方法

    package com.lixu.pagerview; import java.util.ArrayList; import android.app.Activity; import android. ...

  7. [Js]Ajax

    一.什么是Ajax 不刷新的情况下读取数据或提交数据 (最早出现ajax:谷歌地图,拖动一下出现一片新的视野) 应用:用户注册.在线聊天.微博 特性:只能从服务器上去读取数据(所以我们需要配置自己的服 ...

  8. LCA-倍增法(在线)

    原文:http://www.tuicool.com/articles/N7jQV32 1. DFS预处理出所有节点的深度和父节点 inline void dfs(int u) { int i; for ...

  9. Code First Migrations更新数据库结构的具体步骤

    一.打开程序包管理器控制台 当你的实体模型与数据库架构不一致时,引发以下错误:The model backingthe 'SchoolContext' context has changed sinc ...

  10. RM报表 刷新打印机列表

    procedure TRMReport.ShowPreparedReport; var s: string; lPreviewForm: TRMPreviewForm; begin RMCurRepo ...