1 / 50
文档名称:

图书管理系统C++源代码.doc

格式:doc   页数:50
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

图书管理系统C++源代码.doc

上传人:3346389411 2012/5/8 文件大小:0 KB

下载得到文件列表

图书管理系统C++源代码.doc

文档介绍

文档介绍:using System;
using ;
using ponentModel;
using ;
using ;
using ;
using ;
namespace WindowsApplication1
{
public partial class Form_BuyAndSale : Form
{
public Form_BuyAndSale()
{
ponent();
}
SQL sql;
string lastSQL = "";
public void show()
{
();
();
();
if ((0) != 0)
{
for (int i = 0; i < (0); i++)
{
([i, 0].ToString());
([i, 1].ToString());
([i, 2].ToString());
}
}
else
{
= "";
= "";
= "";
("无符合查询条件的结果!", "提示");
}
}
private void Form_BuyAndSale_Load(object sender, EventArgs e)
{
//将窗体的任务栏隐藏
= ;
sql = new SQL(Form_load .connectionString );
("select * from ts_tushuxiaoshou");
show();
lastSQL = "select * from ts_tushuxiaoshou ";
}
private void butThisQuarter_Click(object sender, EventArgs e)
{
int month = ;
int space = (3 - month % 3) % 3;
string min = () + ((month + space - 2)) + "00";
string max = () + ((month + space)) + "99";
("select * from ts_tushuxiaoshou where saledate>'" + min + "' and saledate<'" + max + "'");
show();
lastSQL = "select * from ts_tushuxiaoshou where saledate>'" + min + "' and saledate<'" + max + "'";
}
private void butThisYear_Click(object sender, EventArgs e)
{
string min = () + "0000";
string max = () + "9999";
("select * from ts_tushuxiaoshou where saledate>'" + min + "' and saledate<'" + max + "'");
show();
last