Results 1 to 3 of 3

Thread: [RESOLVED] Split string using asp.net 2.0 and ms access

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member shyguyjeff's Avatar
    Join Date
    Jul 2007
    Location
    City of Durian
    Posts
    289

    Resolved [RESOLVED] Split string using asp.net 2.0 and ms access

    Hello everyone.. I have a problem regarding splitting a string and that string has values on the table coming from ms access. Ex. I have "123456789" and it is coming from my database, how can i split that by 3 so that it will result into 123, 456 ,789 and that number has values on other tables but same fieldname. This is the following structure of my database.


    Code:
    First Table
    Itemcode     ItemName
    123456789      Potato Chips
    
    Second Table:
    ItemCode        BrandName
    123                Mr.Chips
    456                Lays
    789                Cheetoos
    This is what really i want, I need to get all those Brandname by getting the Itemcode on the first table and split it by three. Is there any query to make that or if it will be done using code, could anyone help me to get my problem solved?

    Thank you in advance everyone and have a nice day.
    Last edited by shyguyjeff; May 12th, 2009 at 05:23 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width