![]() |
| ||
| checking max value while editing in datagrid hi all, I want to restrict user enter upto value 1000 in a datagridview cell editbegin event.How to check this after we set the following. dataGridViewValueUnits.BeginEdit(true); |
| ||
| Re: checking max value while editing in datagrid i have done this by checking condition in key pressevent if(datagridview.currentcell.editformattedvalue>10000) { datagridview.endedit(); } |
| All times are GMT -4. The time now is 2:46 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC