Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/uy/public_html/wp-includes/functions.php on line 6114
Dev Express arşivleri – Sayfa 2 / 3 – Umut Yazılım - Ümit AYDIN

Kategori: Dev Express

Umut Yazılım - Logo Ürünlerinde ve Yazılımda 20 yıllık tecrübe..

checklistbox doldurma

if (SqlClass.dsGenel.Tables.Contains(“tblMarkalar”)){SqlClass.dsGenel.Tables.Remove(“tblMarkalar”);SqlClass.dsGenel.Tables.Remove(“tblMarkalar”);}string sqlCumle = “SELECT [MARKA] FROM [Erdemler].[dbo].[Umt_055_Markalar] ORDER BY MARKA”;SqlClass.dsGenel = SqlClass.GetDataset(sqlCumle, “tblMarkalar”); for (int i = 0; i < SqlClass.dsGenel.Tables[“tblMarkalar”].Rows.Count; i++){this.checkedListBoxControl1.Items.Add(SqlClass.dsGenel.Tables[“tblMarkalar”].Rows[i][“MARKA”].ToString());}

Combobox seçilen seçilmeyen

string items = string.Empty;foreach (CheckedListBoxItem item in checkedComboBoxEdit1.Properties.GetItems())if (item.CheckState == CheckState.Checked)items += string.Format(“{0} YES \r\n”, item.Description);elseitems += string.Format(“{0} NO \r\n”, item.Description);items = items.TrimEnd(“\r\n”.ToCharArray());XtraMessageBox.Show(items); string items = string.Empty;foreach (CheckedListBoxItem item in chk2015.Properties.GetItems()){if (item.CheckState == CheckState.Checked){// items += string.Format(“{0} YES \r\n”, item.Description);items += item.Description;items += ‘,’;}// işaretli değilse else ile bulunuyor//else// items += string.Format(“{0} NO \r\n”, item.Description);}items…
Devamı

Devexpress radiobox seçilen

string secilen = radioyillar.Properties.Items[radioyillar.SelectedIndex].Description;

Devexpress kontrolleri boşaltma

foreach (Control control in this.Controls[0].Controls){if ((devXtextControl = control as TextEdit) != null){// do something with devXtextControlMessagebox.Show(devXtextControl.Name);}}

dataGridView_CellClick kullanımı

private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e){if (e.RowIndex >= 0){DataGridViewRow row = this.dataGridView1.Rows[e.RowIndex];textbox1.Text = row.Cells[“col_1”].Value.ToString();textbox2.Text = row.Cells[“col_2”].Value.ToString();textbox3.Text = row.Cells[“col_3”].Value.ToString();textbox4.Text = row.Cells[“col_4”].Value.ToString();textbox5.Text = row.Cells[“col_5”].Value.ToString();textbox6.Text = row.Cells[“col_6”].Value.ToString();textbox7.Text = row.Cells[“col_7”].Value.ToString();}}

gridView kolon gizleme

//if (subatadet < 1)//{// gridView1.Columns[“ŞUBAT_ADET”].Visible = false;// gridView1.Columns[“ŞUBAT_NET”].Visible = false;//}

gridView export

SaveFileDialog save = new SaveFileDialog();if (save.ShowDialog() == DialogResult.OK) //Pencerede kayıt düğmesine basıldıysa{//gridView1.ExportToHtml(save.FileName + “.html”); //İstediğimiz formatlarda dışarı aktarıyoruz.//gridView1.ExportToMht(save.FileName + “.mth”);gridView1.ExportToPdf(save.FileName + “.pdf”);//gridView1.ExportToRtf(save.FileName + “.rtf”);//gridView1.ExportToText(save.FileName + “.txt”);//gridView1.ExportToXls(save.FileName + “.xls”);//gridView1.ExportToXlsx(save.FileName + “.xlsx”);

gridControl1_DoubleClick değer alma

private void gridControl1_DoubleClick(object sender, EventArgs e){KullaniciTanim frm = (KullaniciTanim)Application.OpenForms[“KullaniciTanim”];frm.btnplasiyer.Text = this.gridView1.GetFocusedRowCellValue(“SPECODE”).ToString();this.Close();}