诗闵

努力 坚持 终有回报

导航

2011年5月26日 #

C# comboBox实现省市两级联动(winform)

摘要: 新建一个win form应用程序,拖两comboBox控件。数据库见前一篇文章。 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Draw 阅读全文

posted @ 2011-05-26 18:45 诗闵 阅读(10633) 评论(2) 推荐(4)

全国省市数据库

摘要: 标签:全国省市数据库 [引用:地址不明确了!] --不足:23山东和16山东重复--创建DBPromary数据库 create database DBPromaryuse DBPromarygo --创建promary表create table promary( proID int primary 阅读全文

posted @ 2011-05-26 17:03 诗闵 阅读(1357) 评论(0) 推荐(0)

C#中从数据库导出至txt

摘要: 用'|'隔开 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System 阅读全文

posted @ 2011-05-26 16:58 诗闵 阅读(1064) 评论(0) 推荐(1)

解决C#中txt文档导入数据库时,中文显示乱码的问题

摘要: 与前篇文章不同之处用红笔标记 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;usin 阅读全文

posted @ 2011-05-26 15:13 诗闵 阅读(2005) 评论(0) 推荐(0)

C# TXT文件导入至数据库

摘要: TxT文本内容格式 以“|”分割,内容与数据库里表的字段对应 例如: Tom|21 Jenny|25 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using S 阅读全文

posted @ 2011-05-26 14:31 诗闵 阅读(2439) 评论(1) 推荐(0)