master
editor 4 weeks ago
commit af60d19672

@ -0,0 +1,42 @@
ASP.NET煤炭销售管理系统源码
一、源码描述
环境VS2022 sql2019
二、功能介绍
一个非常简单的煤炭管理系统,可以实现销售人员和管理员的分级管理
销售人员可以在后台进行销售登记,管理员可以进行销售人员信息\煤炭基本信息\销售状况信息的管理
该源码仅供学习参考,很多地方还有待完善
该系统采用Asp.net2.0+Sql2005开发现已升级至VS2022.
默认销售人员帐号为51aspx管理帐号为51aspx密码均为51aspx
三、注意事项
1、在项目web.config修改数据库连接字符串附加数据库。
2、管理员账号与密码51aspx 51aspx 。
3、ctrl+F5运行即可。
作者: 不详
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/CoalManage
------------------------------------------------------------------------------------------------
源码服务专家
官网: https://www.51aspx.com
讨论圈: https://club.51aspx.com/
平台声明:
1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com
4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
友情提示:
一般数据库文件默认在 DB_51Aspx 文件夹下
默认账号密码一般均为51Aspx
关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help

@ -0,0 +1,15 @@
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CoalInfo.aspx.cs" Inherits="CoalInfo" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
DataKeyNames="CoalID" DataSourceID="SqlDataSource1" Style="position: relative" AllowPaging="True" OnRowDeleting="GridView1_RowDeleting">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<Columns>
<asp:BoundField DataField="CoalID" HeaderText="CoalID" InsertVisible="False" ReadOnly="True"
SortExpression="CoalID" />
<asp:BoundField DataField="CoalName" HeaderText="CoalName" SortExpression="CoalName" />
<asp:BoundField DataField="CoalSource" HeaderText="CoalSource" SortExpression="CoalSource" />
<asp:BoundField DataField="CoalPrice" HeaderText="CoalPrice($/t)" SortExpression="CoalPrice" />
<asp:BoundField DataField="CoalTotal" HeaderText="CoalTotal(t)" SortExpression="CoalTotal" />
<asp:TemplateField ShowHeader="False">

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class CoalInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Debug="true" %>
<!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="StyleSheet.css" rel="Stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,4 @@
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Manage.aspx.cs" Inherits="Manage" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Manage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!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>Untitled Page</title>
<link href="StyleSheet.css" rel="Stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class MasterPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,4 @@
<%@ Page Language="C#" MasterPageFile="~/Seller.master" AutoEventWireup="true" CodeFile="Sell.aspx.cs" Inherits="Sell" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
public partial class Sell : System.Web.UI.Page
{

@ -0,0 +1,15 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Seller.master.cs" Inherits="Seller" %>
<!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>Untitled Page</title>
<link href="StyleSheet.css" rel="Stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Seller : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" Debug="true" MasterPageFile="~/Seller.master" AutoEventWireup="true" CodeFile="SellerCoalInfo.aspx.cs" Inherits="SellerCoalInfo" Title="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>51aspx.com" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px"
CellPadding="3" CellSpacing="2" DataKeyNames="CoalID" DataSourceID="SqlDataSource1"
Style="position: relative">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<Columns>
<asp:BoundField DataField="CoalID" HeaderText="CoalID" InsertVisible="False" ReadOnly="True"
SortExpression="CoalID" />
<asp:BoundField DataField="CoalName" HeaderText="CoalName" SortExpression="CoalName" />
<asp:BoundField DataField="CoalSource" HeaderText="CoalSource" SortExpression="CoalSource" />
<asp:BoundField DataField="CoalPrice" HeaderText="CoalPrice($/t)" SortExpression="CoalPrice" />
<asp:BoundField DataField="CoalTotal" HeaderText="CoalTotal(t)" SortExpression="CoalTotal" />

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class SellerCoalInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SellerInfo.aspx.cs" Inherits="SellerInfo" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
DataKeyNames="SellerID" DataSourceID="SqlDataSource1" Style="position: relative" AllowPaging="True" OnRowDeleting="GridView1_RowDeleting">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<Columns>
<asp:BoundField DataField="SellerID" HeaderText="SellerID" InsertVisible="False"
ReadOnly="True" SortExpression="SellerID" />
<asp:BoundField DataField="SellerName" HeaderText="SellerName" SortExpression="SellerName" />
<asp:BoundField DataField="SellerPassword" HeaderText="SellerPassword" SortExpression="SellerPassword" />
<asp:BoundField DataField="SellerDep" HeaderText="SellerDep" SortExpression="SellerDep" />
<asp:TemplateField ShowHeader="False">
<EditItemTemplate>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class SellerInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
<%@ Page Language="C#" MasterPageFile="~/Seller.master" AutoEventWireup="true" CodeFile="SellerShopInfo.aspx.cs" Inherits="SellerShopInfo" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" DataSourceID="SqlDataSource1" Style="position: relative" AllowPaging="True" DataKeyNames="ShopID">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="ShopID" HeaderText="ShopID" InsertVisible="False" ReadOnly="True"
SortExpression="ShopID" />
<asp:BoundField DataField="CoalID" HeaderText="CoalID" SortExpression="CoalID" />
<asp:BoundField DataField="SellerID" HeaderText="SellerID" SortExpression="SellerID" />

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class SellerShopInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ShopInfo.aspx.cs" Inherits="ShopInfo" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" DataSourceID="SqlDataSource1" AllowPaging="True">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<Columns>
<asp:BoundField DataField="ShopID" HeaderText="ShopID" InsertVisible="False" ReadOnly="True"
SortExpression="ShopID" />
<asp:BoundField DataField="CoalID" HeaderText="CoalID" SortExpression="CoalID" />
<asp:BoundField DataField="SellerID" HeaderText="SellerID" SortExpression="SellerID" />
<asp:BoundField DataField="BuyName" HeaderText="BuyName" SortExpression="BuyName" />
<asp:BoundField DataField="BuyTotal" HeaderText="BuyTotal(t)" SortExpression="BuyTotal" />
<asp:BoundField DataField="BuyMoney" HeaderText="BuyMoney($)" SortExpression="BuyMoney" />
<asp:TemplateField ShowHeader="False">

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class ShopInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
body
{
margin:0;
letter-spacing:normal;
word-spacing:normal;
text-transform:none;
background-color:#fff8ff;
}
a:link
{
text-decoration:none;
font-size: 16px;
}
Loading…
Cancel
Save