会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
时光不老,你我不散
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
2014年10月9日
2014.10.09 Andrew 学习 WPF(刘铁锰) 笔记分享
摘要: 引言主要是讲了关于WPF只是表现层的工具。第一章: XAML: 可扩张应用程序标记语言 Extensible Application Markup Language什么是XAML? XAML 是WPF技术中专门用于设计UI的语言。第二章: XAML创建一个空的实例,对空的实例进行解析。1. 对于源代...
阅读全文
posted @ 2014-10-09 14:42 阳光少年1712
阅读(540)
评论(0)
推荐(0)
2014年9月29日
通过带参数的Sql语句来实现模糊查询(多条件查询)
摘要: #region 通过带参数的Sql语句来实现模糊查询(多条件查询) StringBuilder sb = new StringBuilder("select * from books"); List listWheres = new...
阅读全文
posted @ 2014-09-29 14:20 阳光少年1712
阅读(1996)
评论(0)
推荐(0)
使用TreeView+ListBox+TxtBox 资料管理器
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2014-09-29 10:49 阳光少年1712
阅读(256)
评论(0)
推荐(0)
2014年9月28日
省市数据递归加载到TreeView
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2014-09-28 19:52 阳光少年1712
阅读(298)
评论(0)
推荐(0)
C# winform 选择项 省市连动
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2014-09-28 16:49 阳光少年1712
阅读(552)
评论(0)
推荐(0)
自己封装的SqlHelper
摘要: using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;using System.Text;namespace 自己封...
阅读全文
posted @ 2014-09-28 15:29 阳光少年1712
阅读(223)
评论(0)
推荐(0)
通过读取配置文件App.config来获取数据库连接字符串
摘要: 有两种方式://通过读取配置文件来获取连接字符串第一种方式:App.config 文件的格式:在SqlHelper中通过代码读取配置文件中的字符串:(需添加引用:using System.Configuration;)private static readonly string conStr = ...
阅读全文
posted @ 2014-09-28 14:48 阳光少年1712
阅读(451)
评论(0)
推荐(0)
2014年9月24日
C# 私人笔记
摘要: 1.ADO.NET 连接数据库的模版string constr = "data source=127.0.0.1\\mysql2008;database=dbtest;integrated security=true";try{using (SqlConnection con=new SqlCo...
阅读全文
posted @ 2014-09-24 16:59 阳光少年1712
阅读(175)
评论(0)
推荐(0)
上一页
1
2
3
公告