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
K

kaddim

@kaddim
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DataTable Click Event
    K kaddim

    Please post code containing the declaration of the DataGridView, the loading of its data, and the methods you've created to handle the event(s). That should help get a clearer picture of what might be hanging you up.

    C# question

  • Performance Question
    K kaddim

    You're using tTemp.Substring(tTemp.IndexOf("=") + 1 multiple times in each block. If you defined your search strings as constants, you could skip this. For example: private const DATABASEHOST_ARG As String = "DATABASEHOST=" ... If tTemp.IndexOf(DATABASEHOST_ARG) > 0 Then myConnectionInfo.tDatabaseHost = tTemp.Substring(DATABASEHOST_ARG.Length(), _ (tTemp.Length - DATABASEHOST_ARG.Length()) End If I didn't compile, so formatting may be off - and make sure you check to see that I've got the Substring starting index correct. I'm pretty sure that the '+ 1' is no longer necessary. Simply rinse and repeat for your other blocks and your helpful compiler should replace a lot of "IndexOf" operations with simple math!

    Visual Basic data-structures performance tutorial question code-review

  • How To Solve This ? start wtih numeric Value
    K kaddim

    Perhaps if you communicated to your client some more concrete examples... There are legitimate addresses that don't start with a number. Private roads sometimes are used Waverly Place Anytown, XX, 12345 Sometimes people spell out numbers as well: One Rockefeller Plaza Some begin with directions: West 106 Broadway As long as you're dealing with a small, known pool of addresses, you'll be OK. However, if you're soliciting general address input, I'd stay away from this rule. Just my 2 cents... Good luck!

    C# help tutorial question
  • Login

  • Don't have an account? Register

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