title: C#: How to validate datagridview cells?
body: <p>I have a datagridview,in which i want to allow user to enter numbers only.But if user enter letters by mistake,then i am showing error message.but the problem is after I click on 'ok' button which is there on message box,i want to clear that particular cell value &amp; allow user to enter another value.How can I do this?</p>
  
  <p>which event or function should I use.</p>
  
  <p>Thanks in advance....</p>