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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

camatulli

@camatulli
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • looking for more efficient way to concatinate values in a datatable
    C camatulli

    unfortunatly since the data is in a datatable, and not in SQL, that is not an option.

    Visual Basic performance database help

  • Mail Merge Question
    C camatulli

    any chance you can send me how you did the mail merge? i've been fighting with a way to get it to work where i process the mailmerge from a dataset...

    Visual Basic tutorial question

  • looking for more efficient way to concatinate values in a datatable
    C camatulli

    i'm having an major performance issue with a concatination query i wrote against a datatable and was looking for a way to either speed up the query or a whole nother way of doing it which performs better... at present my app spends 2 min processing this one loop, while i can do the two loops individually in about 5 seconds. Here is the code: For Each dr As DataRow In Main.DS_New.Tables(RightTable).Select(filter, "location,type desc") Dim CATValues As String = Nothing If dr.RowState <> DataRowState.Deleted And dr.RowState <> DataRowState.Detached Then Select Case dr("name").ToString.ToLower Case "value" For Each DRsameLocation As DataRow In Main.DS_New.Tables(RightTable).Select(filter & " AND PK<>" & dr("PK") & " AND Location='" & dr("Location") & "' AND type='" & dr("type") & "' AND Name='" & dr("Name") & "'") CATValues += Chr(215) & DRsameLocation("loc") & Chr(214) & DRsameLocation("value") DRsameLocation.Delete() Next If CATValues = Nothing Then dr("value") = dr("loc") & Chr(214) & dr("value") Else dr("value") = dr("loc") & Chr(214) & dr("value") & CATValues dr("loc") = "MV" End If End Select End If Next

    Visual Basic performance database help
  • Login

  • Don't have an account? Register

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