摘要:
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { PackageID = this.dataGridView1["PackageID", this.dataGridView1.CurrentCell.RowIndex].Value.ToString(); this.txt_Packa... 阅读全文
摘要:
DataTable table= BLLPackageCategory.SelectType(); comboBox1.ValueMember = "Id"; comboBox1.DisplayMember = "Name"; comboBox1.DataSource = table.DefaultView; 阅读全文
摘要:
有的项目中,往往我们会需要得到某一字段的首字符做为拼音码,下边的类基本可以实现我们的要求!/// <summary> /// 取得汉字拼音的首字母 /// </summary> public class ChineseSpell { /// <summary> /// 取得汉字拼音的首字母 /// </summary> /// <param name="strText">汉字串</param> /// <returns>汉字串的首字母串</returns> public stat 阅读全文