PC Review


Reply
Thread Tools Rate Thread

Dataset column disappear

 
 
=?Utf-8?B?Um9ieSBFaXNlbmJyYXVuIE1hcnRpbnM=?=
Guest
Posts: n/a
 
      25th Oct 2005
HI,

I am Roby Eisenbraun Martins. I am a VC++, VB and NET developer.
I am having a very strange situation here with NET 2002.
I got a dataview been created from a dataset with two SPs.
DataView.Table = DataSet.Q_SupportCallSummary
This part of the code is executed several times and it works fine but
then, running one another time, the application crashes in this code line
with this error message "column "Overview" doesn't belong to table".
There is a Overview column in the Q_SupportCallSummary SP and if you open
the dataset design you can see the "Overview" column there.
How can this be possible?

Thank you,
Roby Eisenbraun Martins
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
Guest
Posts: n/a
 
      25th Oct 2005
You say two SPs. Do you mean there are two DataTables filled from two stored
procedures?

If so, it could be that the call is being matched to the wrong DataTable. To
avoid this, you should use table mappings. I would also consider putting both
selects in a single procedure or separating out the two DataTables when you
get data to avoid the ambiguity.

If none of the above, I am out of options without more information.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"Roby Eisenbraun Martins" wrote:

> HI,
>
> I am Roby Eisenbraun Martins. I am a VC++, VB and NET developer.
> I am having a very strange situation here with NET 2002.
> I got a dataview been created from a dataset with two SPs.
> DataView.Table = DataSet.Q_SupportCallSummary
> This part of the code is executed several times and it works fine but
> then, running one another time, the application crashes in this code line
> with this error message "column "Overview" doesn't belong to table".
> There is a Overview column in the Q_SupportCallSummary SP and if you open
> the dataset design you can see the "Overview" column there.
> How can this be possible?
>
> Thank you,
> Roby Eisenbraun Martins

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why do my column charts disappear OrgLeadDog Microsoft Excel Charting 0 23rd Jun 2009 12:12 PM
How to Make Column Name Disappear if no values in column doyle60@aol.com Microsoft Access VBA Modules 2 11th Jun 2009 06:01 PM
unspecified error dataset disappear form designer Tom Gao Microsoft C# .NET 0 12th Jan 2005 12:41 PM
unspecified error dataset disappear from designer Tom Gao Microsoft Dot NET 0 12th Jan 2005 12:40 PM
Re: DataGrid column vs. underlying DataSet column Ian Williamson Microsoft Dot NET Framework Forms 1 8th Jul 2003 08:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:57 AM.