Help to convert VB.net code

I

id10t error

I am making an ASP.net page where a user has a hand-held scanner
running Internet Explorer. It has a finger scanner attached. When the
user scans an item i want it to automatically input the data without
the user pressing enter. I did this for another project in vb.net with
the following coded
If Asc(e.KeyChar) = Keys.Enter Then

I tried to copy this into the asp.net program and get this error.
'KeyChar' is not member of'System.eventArgs'

How can i get this to work?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top