Click here to Skip to main content
15,910,009 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody,
i am working in a windows application using c#,in a form am using datagridview and i put the event rowleave in it when the form loads the rowleave event also working so in ma application need not to work the rowleave event when the form loads and it only work when the row leaves.
otherwise it working i need to leave the section without working ma rowleave event code plas help
Posted

1 solution

as the datagridview initialize it calls rowleave event and has to be maintained by a flag.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900