Patent/addPatent.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExtAspNet;
public partial class Patent_addPatent : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ExecuteSql exe = new ExecuteSql();
string strProjectID = exe.getProjectMaxIdentID(3);
// 下载于www.51aspx.com
patentID.Text=strProjectID;
}
}
protected void butSave_Click(object sender, EventArgs e)
{
string strPaperID = patentID.Text.Trim();
string strPaperName = patentName.Text.Trim();
string strPaperType = patentType.SelectedItem.Text;
string strPaperUnit = patentUnit.SelectedItem.Text;
string strPaperFirstAuthor = Request.Form["patentFirstAuthor"] == null ? "" : Request.Form["patentFirstAuthor"].ToString();
string strPaperWork = Request.Form["patentWork"] == null ? "" : Request.Form["patentWork"].ToString();
string strContent = HtmlEditor1.Text;
if (strPaperName == "")
{
Alert.ShowInTop("请输入专利名字!");
return;
}
if (patentType.SelectedIndex == 0)
{
Alert.ShowInTop("请选择专利类型!");
return;
}
if (strPaperFirstAuthor == "")
{
Alert.ShowInTop("请输入第一作者!");
return;
}
if (strPaperWork == "")
{
Alert.ShowInTop("请输入专利参与者!");
后面还有 19 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
