资源简介

农产品追溯搜索源码 功能介绍: 一个简单的搜索网站,后台添加物品信息 添加物品的追溯码,前台进行搜索,并显示 物品的详细信息。 适合初学者学习。

资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.xml.Linq;
using 毕业设计_农产品追溯_.DsUserTableAdapters;

namespace 毕业设计_农产品追溯_
{
    public partial class AlterPassword : System.Web.UI.Page
    {
        protected void Page_Load(object sender EventArgs e)
        {

        }

        protected void Button1_Click(object sender EventArgs e)
        {
            T_UsersTableAdapter adapter = new T_UsersTableAdapter();
            毕业设计_农产品追溯_.DsUser.T_UsersDataTable users = adapter.GetDataByUserName(“lzx“);
            毕业设计_农产品追溯_.DsUser.T_UsersRow user = users[0];
            if (user.Password == TextBox1.Text)
            {
                adapter.UpdateUser(TextBox2.Text user.Id);
                Response.Redirect(“Success.aspx“);
            }
            else
            {
                wrongMsg.Visible = true;
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-09-18 11:28  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\
     文件        6765  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\AlterPassword.aspx
     文件        1216  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\AlterPassword.aspx.cs
     文件        3015  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\AlterPassword.aspx.designer.cs
     目录           0  2012-09-18 11:28  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\App_Data\
     文件     1769472  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\App_Data\Dbcp.mdf
     文件      516096  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\App_Data\Dbcp_log.LDF
     目录           0  2012-09-18 11:28  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\App_LocalResources\
     文件        6096  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\App_LocalResources\Homepage.aspx.resx
     目录           0  2012-09-18 11:28  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\bin\
     文件       60416  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\bin\毕业设计(农产品追溯).dll
     文件      169472  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\bin\毕业设计(农产品追溯).pdb
     目录           0  2012-09-18 11:28  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\css\
     文件       33530  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\css\jquery-ui-1.8.15.custom.css
     文件       14271  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DataEditUI.aspx
     文件        6858  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DataEditUI.aspx.cs
     文件        1585  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DataEditUI.aspx.designer.cs
     文件       93493  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsProduct.Designer.cs
     文件         361  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsProduct.xsc
     文件       19022  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsProduct.xsd
     文件         853  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsProduct.xss
     文件       72084  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsUser.Designer.cs
     文件         361  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsUser.xsc
     文件       11503  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsUser.xsd
     文件           3  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\DsUser.xss
     文件        1412  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\Error.aspx
     文件         521  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\Error.aspx.cs
     文件         525  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\Error.aspx.designer.cs
     文件        1585  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\Homepage.aspx
     文件        1166  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\Homepage.aspx.cs
     文件        1552  2012-09-14 09:01  51aspx_AgriculturalProductsTraceabilityfb1c5ca0-fb02-4cdd-a4ce-3aa3d810294e\Homepage.aspx.designer.cs
............此处省略91个文件信息

评论

共有 条评论