How to intercept chr(13) in datagrid Cell
-
hello So I just start working with VB.NET and I encountred a problem. I created a search form that contains a textbox and a datagrid, so i use the textbox for entering first caracter of the searched record and i execute a parametrised query to display all the names verify criteria. It works correctly, but the problem is when i want to choose one record by pressing an ENTER key (chr(13)),it is not working. Excuse me for my bad english and Thank you very match. ***
-
hello So I just start working with VB.NET and I encountred a problem. I created a search form that contains a textbox and a datagrid, so i use the textbox for entering first caracter of the searched record and i execute a parametrised query to display all the names verify criteria. It works correctly, but the problem is when i want to choose one record by pressing an ENTER key (chr(13)),it is not working. Excuse me for my bad english and Thank you very match. ***
intibnin wrote: It works correctly, but the problem is when i want to choose one record by pressing an ENTER key (chr(13)),it is not working. Are you trying to press enter in the textbox and have your form post-back to the server? I'm sorry, I didn't understand the question. Nick Parker
May your glass be ever full. May the roof over your head be always strong. And may you be in heaven half an hour before the devil knows you’re dead. - Irish Blessing