コード例 #1
0
ファイル: DevicesManageFrm.cs プロジェクト: love2fuji/DabaiNA
        private void comboBoxDeleteDevice_SelectedIndexChanged(object sender, EventArgs e)
        {
            string deviceID = comboBoxDeleteDevice.GetItemText(comboBoxDeleteDevice.SelectedValue);

            //DataRow[] drs = deleteDeviceInfo.Select("F_DeviceId = '"+deviceID+"'");

            if (deviceID.Length >= 36)
            {
                textBoxDeleteDeviceName.Text = DeviceManageDAL.GetDeviceName(deviceID);
            }
        }