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. sql statement

sql statement

Scheduled Pinned Locked Moved Visual Basic
databasequestion
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.
  • M Offline
    M Offline
    magedhv
    wrote on last edited by
    #1

    i have made this statement "select distinct fatrname from reglz where fatrname LIKE '%" & TextBox1.Text & "%' " then he has display all the results in datagride in this datagride there is some names "mark" and there is some names "marko" what i need is to select all these records to edit them and from textbox we can write marko for all current records to edit all these names how can i do that this is very very urgent plzz

    C 1 Reply Last reply
    0
    • M magedhv

      i have made this statement "select distinct fatrname from reglz where fatrname LIKE '%" & TextBox1.Text & "%' " then he has display all the results in datagride in this datagride there is some names "mark" and there is some names "marko" what i need is to select all these records to edit them and from textbox we can write marko for all current records to edit all these names how can i do that this is very very urgent plzz

      C Offline
      C Offline
      cutequencher
      wrote on last edited by
      #2

      try to check the value of your txtbox... maybe it is getting a null string or space that is why your database is returning all the data...

      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