- 博客(13)
- 资源 (17)
- 问答 (1)
- 收藏
- 关注
原创 jsp网页跳出对话框
function faction(){ var n=document.form1.textfield.value; if(n==""){ alert("文本框不能为空"); }eles{document.frm.action="petsearch.jsp"; document.frm.submit();}
2008-04-06 16:42:00 492
原创 同按钮有插入和修改
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Data.SqlClient;namespace studentsSelect{ /// /// For
2007-12-26 15:22:00 425
原创 增册改查
private void Form1_Load(object sender, System.EventArgs e) { //查询 //设置dataGrid列的标题 objSqlConnection1=new SqlConnection("Server=EP-MF5;Database=tongzongwu;uid=sa;pwd=123"); objSqlConnect
2007-12-06 21:17:00 353
原创 查询语句datagrid
objSqlConnection1=new SqlConnection("Server=EP-MF5;Database=tongzongwu;uid=sa;pwd=123"); objSqlConnection1.Open(); sqlDataAdapter1=new SqlDataAdapter("select * from StudentsInfo", obj
2007-12-06 16:03:00 370
原创 c#中如何获得datagrid标题栏中的checkbox空间
private void GetMyContactUserList() { try { //创建一个SqlConnection对象 string strCon = "Initial Catalog=HMMISDATA;Server=192.168.1.251;User ID=XQF222;Password=hao123;Persist
2007-12-06 15:35:00 659
原创 得到机器分辨率
using System ; using System.Drawing ; using System.Collections ; using System.ComponentModel ; using System.Windows.Forms ; using System.Data ;public class Form1 : Form { private Button button1 ; pr
2007-12-04 19:19:00 277
原创 C#打开文件
openFileDialog1.CheckFileExists=true; openFileDialog1.CheckFileExists=true; openFileDialog1.Multiselect=false; openFileDialog1.Filter="文件类型(*.txt)|*.txt"; openFileDialog1.Title="请选择一个RTF格式文件";
2007-12-04 18:30:00 1137
原创 用Visual C#来获得计算机的分辨率
using System ; using System.Drawing ; using System.Collections ; using System.ComponentModel ; using System.Windows.Forms ; using System.Data ;public class Form1 : Form { private Button button1 ; pr
2007-12-04 13:00:00 392
原创 提示并显示EXE文件包含的图标
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Drawing.Imaging;namespace WindowsApplication8{ /// /
2007-12-04 09:36:00 523
原创 动态抓取屏幕
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Drawing.Imaging;namespace WindowsApplication8{ /// /
2007-12-04 09:13:00 493
原创 AIP托动窗休
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Runtime.InteropServices;namespace WindowsApplication7{
2007-12-03 21:46:00 388
原创 Visual C#通过信史服务实现网络信息传送的具体实现步骤 :
四.Visual C#通过信史服务实现网络信息传送的具体实现步骤 : 以下就是Visual C#通过信史服务实现网络信息传送的具体实现步骤: 1. 启动Visual Studio .Net。 2. 选择菜单【文件】|【新建】|【项目】后,弹出【新建项目】对话框。 3. 将【项目类型】设置为【Visual C#项目】。 4. 将【模板】设置为【Windows应用程序】。 5. 在【名称】
2007-12-02 22:24:00 530
原创 方法我函数
1、DateTime 数字型System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month;
2007-12-02 22:22:00 273
VS2010 C# 调用存储过程
2016-02-16
TA创建的收藏夹 TA关注的收藏夹
TA关注的人