迷一样的逍遥人
晴带雨伞,包带干粮,点滴积累,水到渠成.
摘要: private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { PackageID = this.dataGridView1["PackageID", this.dataGridView1.CurrentCell.RowIndex].Value.ToString(); this.txt_Packa... 阅读全文
posted @ 2010-01-06 19:41 谜一样的逍遥人 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: DataTable table= BLLPackageCategory.SelectType(); comboBox1.ValueMember = "Id"; comboBox1.DisplayMember = "Name"; comboBox1.DataSource = table.DefaultView; 阅读全文
posted @ 2010-01-06 19:37 谜一样的逍遥人 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 有的项目中,往往我们会需要得到某一字段的首字符做为拼音码,下边的类基本可以实现我们的要求!/// <summary> /// 取得汉字拼音的首字母 /// </summary> public class ChineseSpell { /// <summary> /// 取得汉字拼音的首字母 /// </summary> /// <param name="strText">汉字串</param> /// <returns>汉字串的首字母串</returns> public stat 阅读全文
posted @ 2010-01-06 19:26 谜一样的逍遥人 阅读(273) 评论(0) 推荐(0) 编辑