NetBarManageSystem/Form_srtj.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NetBarManageSystem_lihang
{
public partial class Form_srtj : Form
{
public Form_srtj()
{
InitializeComponent();
}
private void btn_qd_Click(object sender, EventArgs e)
{
//开始时间和结束时间
string time1 =this.txt_kssj.Text;
string time2 =this.txt_jssj.Text;
if (time1 == "")
{
MessageBox.Show("请点击输入开始时间","系统提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
else
{
if (time2 == "")
{
MessageBox.Show("请点击输入结束时间", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
//统计收入的sql语句
string sql = "select sum(free) from recordInfo where beginTime between '" + time1 + "' and '" + time2 + "'";
DataTable table = sql_zsgc.cx(sql);
string sr = table.Rows[0][0] + "元";
if (sr == "")
{
sr = 0 + "";//没有收入记录,改为0
}
MessageBox.Show("从" + time1 + "到" + time2 + "\n总收入为:" + sr + "", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
private void btn_qx_Click(object sender, EventArgs e)
{
后面还有 55 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
