if (IsPostBack)
{ //添加数据
string typename = Context.Request.Form["Typename"];
Maticsoft.BLL.Stationtype stationtypeBll = new Maticsoft.BLL.Stationtype();
Maticsoft.Model.Stationtype stationtypeModel = new Maticsoft.Model.Stationtype();
if (string.IsNullOrEmpty(typename))
{
}
public void Delete()
{
this.ClientScript.RegisterClientScriptBlock(this.GetType(), Guid.NewGuid().ToString(), "alert('测试代码');", true);
string id = Context.Request.QueryString["id"];
string type = Context.Request.QueryString["type"];
if (id != null && type == "del")
{
Maticsoft.BLL.Stationtype bll = new Maticsoft.BLL.Stationtype();
if (bll.Delete(int.Parse(id)))
{