- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 将数据库内表中的数据导出到txt文档中,并且显示一个对话框,提示用户保存文件的位置
if (saveFileDialog1.ShowDialog() == DialogResult.OK) { string str = ConfigurationManager.ConnectionStrings["strcon"].ConnectionString; SqlConnection sqlc
2012-02-29 20:25:19 3732 1
转载 在DataGridView控件中加入ComboBox下拉列表框的实现
using System;using System.Data;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Text;using System.Windows.Forms;namespace MyNameSpace{
2012-02-28 20:45:43 1246
原创 修改密码
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;using Sy
2012-02-27 20:46:37 527
原创 统计用户输入的一串数字中每个数字出现的次数
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
2012-02-24 22:46:18 1978
原创 将记事本中的数据导入数据库(winform)
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;using Sy
2012-02-23 20:09:39 2311
原创 winform中comboBox控件添加value值
首先在工程下建立一个名为comboBox的类,类中内容如下:using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace comboBox控?件t测a试º?{ class ComboxItem { privat
2012-02-22 20:33:59 3833 1
原创 2.20-2.21知识总结
一、C#连接数据库字符串: 混合身份登录:Data Source=.;Initial Catalog=MyTest;Persist Security Info=True;User ID=sa;Password=900315 windows登录:data source=.;database=csdnnews;integrated security=true 连接
2012-02-21 20:16:04 526
原创 用户登录(登陆失败3次,2分钟后再登陆)
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;using Sy
2012-02-20 21:02:36 4925
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人