*****LookUpEdit hide columns

DataTable dtDepartmanGetir = new DataTable();
 dtDepartmanGetir = db.getSQL(sqlDepartmanGetir);
 repDepartman.DataSource = dtDepartmanGetir;
 repDepartman.DisplayMember = "Departman";
repDepartman.ValueMember = "intDepartman";

// Bu satırları ekle

repDepartman.Properties.PopulateColumns();

repDepartman.Properties.Column["intDepartman"].visible=false;

posted @ 2011-07-16 10:08  Yaoquan.Luo  阅读(236)  评论(0编辑  收藏  举报