首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C#
console.writlen("和哈哈哈哈");
阅读全部 | 秀wx 贴于 2012年11月26日 15:39     hide bbsi
console.writlen
阅读全部 | 秀wx 贴于 2012年11月26日 15:38     hide bbsi
知道这个意思,比如
if(new FileInfo(file).LastWriteTime.AddHours(24) > System.DateTime.Now)
{
  读出file
}
为什么要有这样一个判断,这个判断目的是为了什么?
阅读全部 | zhuwj 贴于 2012年9月5日 15:00     hide bbsi
C#datagridview 中怎么实现分页显示?
阅读全部 | 车静123 贴于 2012年8月29日 17:53     hide bbsi
MessageBox.Show("123");
阅读全部 | vip_ 贴于 2012年8月2日 12:29     hide bbsi
Private Sub Command3_Click()
Dim sql As String, mlink As String, mpath As String, mzy As String
    mpath = App.Path
    If Right(mpath, 1) <> "\" Then App.Path = mpath + "\"
    mzy = InputBox$("请输入房号", "查找窗")
    sql = "Select * from 散客帐务查询 where 房号='" & mzy & "'"
    mlink = "Provider=Microsoft.Jet.OLEDB.3.51;"
    mlink = mlink + "Persist Security Info=False;"
    mlink = mlink + "Data Source=" + App.Path + "客人情况登记.mdb"
    Adodc1.ConnectionString = mlink
    Adodc1.CommandType = adCmdUnknown
    Adodc1.RecordSource = sql
......................
阅读全部 | manman1992 贴于 2012年4月18日 13:35     hide bbsi
定义一个集合类nSet,该类包含一下数据成员
Int[] array; //存放集合元素
Int num;   //集合中元素个数
包含以下成员函数
nSet(); //无参构造函数
nSet(int MaxLenth int N); //带参构造函数
bool add(int a); //向集合中添加元素
int del(int a);//删除集合中的元素a
bool equ(nSet s); //判断两个集合是否相等
int getLenth();//返回集合中的元素个数
void display();//显示集合中的所有元素 
nSet intersection(nSet s) //两个集合的交运算
......................
阅读全部 | zdc1201 贴于 2012年3月14日 23:51     hide bbsi
怎样用代码连接两个Windows窗体
阅读全部 | manman1992 贴于 2012年3月14日 02:21     hide bbsi
protected void Submit_Click(object sender, EventArgs e)
    {
        string arg = ((Button)sender).CommandArgument;
        if (arg.Equals("1"))
        {
            //抛出DivideByZeroException 异常
            int x = System.Convert.ToInt32(TextBox1.Text);
            int y = System.Convert.ToInt32(TextBox2.Text);
            int z = x / y;
            TextBox3.Text = z.ToString(); 
        }
        else if (arg.Equals("2"))
......................
阅读全部 | wings1111 贴于 2012年3月12日 23:27     hide bbsi
cs ①

 using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Acction;
using System.Data;

public partial class Query_Business : System.Web.UI.Page
......................
阅读全部 | yjyuyu96 贴于 2012年3月6日 00:18     hide bbsi
上一页 1 2 3 4 5 6 7 8 9 下一页