文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > 软件工程实训 期刊管理系统 程序清单
侵权投诉

软件工程实训 期刊管理系统 程序清单

软件工程实训 期刊管理系统

public partial class Addnewmagazine : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

}

protected void Button2_Click(object sender, EventArgs e)

{

Response.Redirect("InsertQ.aspx");

}

protected void Button1_Click(object sender, EventArgs e)

{

if (this.TextBox1.Text != "" && this.TextBox2.Text != "" && this.TextBox3.Text != "" && this.TextBox4.Text != "" && this.TextBox5.Text != "")

{

DataOper dp = new DataOper();

string st = "select * from Ptable where cn='" + this.TextBox1.Text + "'";

DataSet ds = dp.getData(st);

if (ds.Tables[0].Rows.Count != 0)

{

Response.Redirect("Addnewmagazine2.aspx");

}

else

{

string st1 = "insert into Ptable values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "')";

int i = dp.UpdateData(st1);

if (i == 1)

{

Response.Redirect("Addnewmagazine3.aspx");

}

}

}

else

{

Response.Redirect("Addnewmagazine4.aspx");

}

}

}

3.1.2 期刊入库

using System;

using System.Collections.Generic;

上一页第9页

你可能喜欢

  • 软件系统
  • 软件工程实训报告
  • 软件说明
  • 软件管理
  • 管理系统设计
  • 系统软件工程
  • 老外经典高频口语
  • 机电一体化教案

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email