Click here to Skip to main content
16,005,124 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Run a string as code Pin
coolsauron22-Jun-05 17:59
coolsauron22-Jun-05 17:59 
GeneralRe: Run a string as code Pin
Christian Graus22-Jun-05 18:20
protectorChristian Graus22-Jun-05 18:20 
GeneralRe: Run a string as code Pin
Dave Kreskowiak23-Jun-05 2:00
mveDave Kreskowiak23-Jun-05 2:00 
Generalabstracting a class or property Pin
Sled Dog22-Jun-05 10:50
Sled Dog22-Jun-05 10:50 
GeneralRe: abstracting a class or property Pin
Christian Graus22-Jun-05 18:21
protectorChristian Graus22-Jun-05 18:21 
GeneralVB.net Brain Fart Pin
Anonymous22-Jun-05 10:49
Anonymous22-Jun-05 10:49 
GeneralRe: VB.net Brain Fart Pin
Anonymous22-Jun-05 11:01
Anonymous22-Jun-05 11:01 
GeneralDataRow Problem Pin
jake07222-Jun-05 10:11
jake07222-Jun-05 10:11 
I am creating an Inventory Management Application, and am having some trouble with DataRows...

Scenario:
There are 3 possible types of "inventory" items that can be created; blank, finished, and coated. A blank produces a finished, which in turn can produce a coated item.

When the items are being created, they are created blank, then finished, then coated. As they are created, I save the information from the form using a Datarow, which is created by calling the inventory tables .NewRow function. So, in 1 possible scenario, I create a blank, a finished, and then 1 coated item.

My problem is that for some reason, the datarow created for the blank is being corrupted when I call .NewRow to create the datarow for the coated item. The blank row seems to "shadow" the newly created coated row; the blank row's data is all set to DBNull, and then when I setup the data for the new coated item, the blank item gets that data as well.

After I create the new rows, I'm storing the data in a structure for each type of item that has a datarow member and a long member.

What's really weird, is the fact that the blank row is created first, but it is corrupted by a .NewRow call for a COATED item, however the Finished Item is always fine. Furthermore, if I create 3 coated items, then the blank, and all coated items get reset by each successive call to create a new coated item.

I guess my question is how could a .NewRow call affect another DataRow?

Please help. I need to find out a possible cause for the .NewRow affecting other rows, I'm not concerned with someone looking at my code, I just really need to know if anyone has run accross anything similar, what their problem was, so I can try and understand, and possibly look for the same problem in my code.

Thanks in advance for any help!

Thanks,

Jake
QuestionSplit Function glitch? Pin
Brad Fackrell22-Jun-05 6:59
Brad Fackrell22-Jun-05 6:59 
AnswerRe: Split Function glitch? Pin
Dave Kreskowiak22-Jun-05 7:14
mveDave Kreskowiak22-Jun-05 7:14 
Questionmay sound absurd but please try Pin
Eytukan22-Jun-05 5:35
Eytukan22-Jun-05 5:35 
AnswerRe: may sound absurd but please try Pin
toxcct22-Jun-05 5:42
toxcct22-Jun-05 5:42 
AnswerRe: may sound absurd but please try Pin
Dave Kreskowiak22-Jun-05 5:50
mveDave Kreskowiak22-Jun-05 5:50 
AnswerRe: may sound absurd but please try Pin
Eytukan22-Jun-05 9:45
Eytukan22-Jun-05 9:45 
GeneralRe: may sound absurd but please try Pin
Dave Kreskowiak22-Jun-05 10:12
mveDave Kreskowiak22-Jun-05 10:12 
GeneralRe: may sound absurd but please try Pin
toxcct22-Jun-05 20:26
toxcct22-Jun-05 20:26 
GeneralRe: may sound absurd but please try Pin
Eytukan23-Jun-05 5:12
Eytukan23-Jun-05 5:12 
GeneralRe: may sound absurd but please try Pin
toxcct23-Jun-05 5:24
toxcct23-Jun-05 5:24 
Generaland asp.net Starting new job Pin
monageasmear22-Jun-05 3:49
monageasmear22-Jun-05 3:49 
GeneralRe: and asp.net Starting new job Pin
Dave Kreskowiak22-Jun-05 4:52
mveDave Kreskowiak22-Jun-05 4:52 
GeneralRe: and asp.net Starting new job Pin
Sebastien Lachance22-Jun-05 6:12
Sebastien Lachance22-Jun-05 6:12 
GeneralRe: and asp.net Starting new job Pin
Dave Kreskowiak22-Jun-05 7:12
mveDave Kreskowiak22-Jun-05 7:12 
GeneralRe: and asp.net Starting new job Pin
lespaul3622-Jun-05 18:50
lespaul3622-Jun-05 18:50 
GeneralRe: and asp.net Starting new job Pin
Dave Kreskowiak23-Jun-05 2:07
mveDave Kreskowiak23-Jun-05 2:07 
GeneralRe: and asp.net Starting new job Pin
monageasmear22-Jun-05 6:50
monageasmear22-Jun-05 6:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.