Esempio n. 1
0
        private void dgvUser_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
        {
            if (e.Value == null)
            {
                return;
            }
            string fieldNmae = dgvUser.Columns[e.ColumnIndex].DataPropertyName;

            if (fieldNmae.Equals("position"))
            {
                e.Value = CommonFuncCall.RetrievalDic_name(dtdic, e.Value.ToString());
            }
        }