Re: Merging 2 datasets raises System.IndexOutOfRange exception
From: Val Mazur (group51a_at_hotmail.com)
Date: 11/24/04
- Next message: Val Mazur: "Re: Output & return parameters using SQLHelper from DAAB"
- Previous message: Val Mazur: "Re: ADO reconnect after disconnect"
- In reply to: Steven: "Bug?: Merging 2 datasets raises System.IndexOutOfRange exception"
- Next in thread: Steven: "Re: Merging 2 datasets raises System.IndexOutOfRange exception"
- Reply: Steven: "Re: Merging 2 datasets raises System.IndexOutOfRange exception"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Nov 2004 20:15:40 -0500
Hi Steven,
To see if it is a bug, I believe you would need to post some code, which
would reproduce this issue
-- Val Mazur Microsoft MVP "Steven" <Steven@discussions.microsoft.com> wrote in message news:C3771A13-3F69-4BD8-B5A2-30FB8D230F6F@microsoft.com... >I have 2 datasets, a Business Entity dataset (where I add a couple of > expression columns to fetch data from Parent tables) and a Data Access > Layer > dataset (without the expression columns). First initial load of my > Business > Entity dataset works fine. Then, when I try to fetch new data, I get a > System.IndexOutOfRange exception with the message "Cannot find column 16". > When I check the offending table in both datasets, they both have 13 > columns. > > Important note: Before I try to merge the latest DataAccessLayer dataset > into my BusinessEntity dataset, I clear my BusinessEntity dataset, and > remove > the Expression columns. After merging the two datasets, I add the > Expression > columns again. > > What's going on here? This really seems like a bug in the Merge > functionality of ADO.NET. It seems that the Merge still thinks that the > expression columns are there, which explains the reference to "Cannot find > column 16". How come?
- Next message: Val Mazur: "Re: Output & return parameters using SQLHelper from DAAB"
- Previous message: Val Mazur: "Re: ADO reconnect after disconnect"
- In reply to: Steven: "Bug?: Merging 2 datasets raises System.IndexOutOfRange exception"
- Next in thread: Steven: "Re: Merging 2 datasets raises System.IndexOutOfRange exception"
- Reply: Steven: "Re: Merging 2 datasets raises System.IndexOutOfRange exception"
- Messages sorted by: [ date ] [ thread ]