日期:2014-05-17 浏览次数:20808 次
Instrument mySelectedElement = (Instrument)dataGridinstrument.SelectedItem;
if (dataGridinstrument.SelectedItem == null)
{
return;
}
string result = mySelectedElement.name.ToString();
string result1 = mySelectedElement.mode.ToString();
string result2 = mySelectedElement.port.ToString();
string result3 = mySelectedElement.IP;
string str_insert = “。。。";
ExecuteQuery(str_insert);
LoadDataGridInstrument();