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());
2024-01-03 14:15:10
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());