自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 存储过程

 大虾 13:19:49CREATE PROCEDURE UserData(@index int,@name nvarchar(50),@remark nvarchar(100))AS if exists(select * from 用户信息 where 编号=@index) update 用户信息 set 名称=@name,备注=@remark where 编号=@indexelseINSERT

2007-06-13 13:24:00 587

原创 datagridview一次修改多条记录

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.OleDb;namespace dataGr

2007-06-13 12:48:00 1563 1

原创 c# 删除记事本某一行

            string fileName = "E:/aa.txt";            int n = -1;               StringBuilder sb = new StringBuilder();            StreamReader sr = new StreamReader(fileName, Encoding.ASCII);    

2007-06-12 15:41:00 1556

原创 Visual C#常用函数和方法集汇总

1、DateTime 数字型 System.DateTime currentTime=new System.DateTime();   1.1 取当前年月日时分秒 currentTime=System.DateTime.Now;   1.2 取当前年 int 年=currentTime.Year;   1.3 取当前月 int 月=currentTime.Month;   1.4 取当前日 int

2007-06-12 12:47:00 523

原创 MDI里(工具栏)按钮的隐藏、移动和保存备份(xml),子窗体的调用

 mdiParent窗体using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.IO;using System

2007-06-12 11:56:00 1209

原创 datagridview分页

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.OleDb;namespace Window

2007-06-12 11:27:00 957

原创 使窗体不能最小化(不隐藏最小化按钮)

         protected override void WndProc(ref Message m)        {            const int WM_SYSCOMMAND = 0x0112;            const int SC_MINIMIZE = 0xF020;            switch (m.Msg)            {       

2007-06-09 16:47:00 727

原创 加载xml

using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Xml;namespace XmlTreeTest{ ///  /// Form1 的摘要说明。 ///

2007-06-08 08:50:00 528

原创 数据库连接配置

  1)访问Access 2000     "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=databaseName;User ID=userName;Password=userPassWord"  2)访问ODBC数据   "Provider=MADASQL;DSN=dsnName;UID=userName;PWD=userPassword;" 

2007-06-08 08:49:00 618

原创 如何建立你的第一个窗体

如何建立你的第一个窗体,希望下面的说明可以成为你快速开始的一个指引.     1.     如何设置一个From的边界  2.     如何建立一个透明的From  3.     如何设置窗体在屏幕中的位置  4.     如何使最小化和最大化按钮不可用  5.     如何使一个窗体不见  6.     如何设置使窗体成为非矩形的.  7.     如何使一个窗体在屏幕的最顶端.  8.    

2007-06-08 08:47:00 2124 2

原创 datagridview的增删改查

 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.OleDb;namespace dataG

2007-06-08 08:44:00 5480

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除