Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to intercept chr(13) in datagrid Cell

How to intercept chr(13) in datagrid Cell

Scheduled Pinned Locked Moved Visual Basic
csharpdatabaseregexhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    intibnin
    wrote on last edited by
    #1

    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. ***

    N 1 Reply Last reply
    0
    • I intibnin

      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. ***

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      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


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups