初始化时查看combox的文本内容

 string sql = string.Format("select field_name from pt_temp_field where pt_name = '{0}' and temp_code='{1}'", ((DataRowView)cmb_pt.SelectedItem).Row["pt_name"].ToString(), gridView2.GetDataRow(gridView2.FocusedRowHandle)["temp_code"].ToString());

posted @ 2014-06-06 10:48  喜爱糖葫芦  阅读(160)  评论(0编辑  收藏  举报