Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

check whether a cell value is user editted or through program

$
0
0

Hi

I am displaying few values in Datagridview in my winform application. In the grid view a cell value depends on another cell value but if the dependent cell value is edited by the user for the first time then the cell value should be independent

EG:

I have 2 cells in same column which are editable. An employee detail is displayed in a column of the datagrid

First row contains the name and second row of the same column contains the mailID.

If the user didnt set the mail id, then the default mail id should be his/her name. If he change his name in name cell(and if the focus is moved out of the control) , then it should get reflected in the mail id cell.

If the user changes the mail id , then after that the mail id should not change based on the name value.Hope i made it clear

Thanks


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>