473,382 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

VS-generated XSD DataSets and Relationships problem

/*
* Not sure which group has the best audience for this question,
* but followups are set to microsoft.public.dotnet.framework
*/

Hi all,

In Visual Web Developer Express, I've created a new database with a
table called Tag. It has three fields, ID, ParentID and Name. ID is a
Primary Key, and there's a relationship between ID/ParentID to allow a
"tree" of tags.

I created an XSD file and added the table, with a method to return a
dataset. The table appears with the relationship when viewing the XSD in
the designer.

However, the GetTagRows() method generated, which looks like this:

public TagRow[] GetTagRows() {
return
((TagRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Tag_Tag"])));
}

always returns 0 rows. The ChildRelations collection is empty, even
though this was all generated by VS.

I've tried lots of fannying about, but just can't manage to get
GetChildRows/GetTagRows/ChildRelations/etc. to actually show any data.
Am I missing something, or should this just work?

I tried this back with beta 2, and assumed it was a bug, but it still
happens now. I've been Googling all night, and although many people
mention this problem, there doesn't seem to be an answer out there that
applies to my situation!

Any ideas?

Thanks
Mar 2 '06 #1
0 943

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Erva | last post by:
Hi, Is there someone who has moved from Delphi to VS.NET? I'am using Delphi currently but seriously considering to moving VS.NET. I would like to hear if someone has already done that, is it...
5
by: Mike Owen | last post by:
Hi, I have just used the import Wizard to import a VS 2003 app to VS 2005. I have a lot of work to do to enable it to compile successfully with all the errors and warnings it gave me, but as a...
4
by: Ian | last post by:
Hi there, Has anybody got any tips or recommendations for using Vs.Net and Dreamweaver 2004 together? I like to use dreamweaver as the layout tool as for me it just seems a little more...
87
by: John Rivers | last post by:
Hello everybody, I just wondered if anybody else has noticed this? It takes around 6 seconds to start debugging a very simple ASPX page with VS.NET whereas VB6 takes under 0.5 seconds, even...
7
by: Jon S via DotNetMonster.com | last post by:
Hi all, I learnt C# 1.0 using VS.NET 1.0. I have brought myself two ASP.NET 1.1 books but I will be using my VS.NET 1.0 IDE when learning ASP.NET 1.1. Am I in any way going to have problems...
16
by: Jeremy S. | last post by:
I'm about to install VS.NET 2005 and SQL Server 2005 on a new/clean development machine (XP Pro/SP2 etc). Is the order of installation important (i.e., which product should I install first)? ...
7
by: nithyanand.kn | last post by:
Hi, I am using Visual Studio 2003 currently, but I my next project may require is on .NET 2.0 and hence i will need to install VS.NET 2005. but i dont want to lose VS 2003. Is it possible to...
852
by: Mark Tarver | last post by:
How do you compare Python to Lisp? What specific advantages do you think that one has over the other? Note I'm not a Python person and I have no axes to grind here. This is just a question for...
3
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
Just got the book, ASP.NET by Greg Buczek (Osborne). The first part of book listed many aspx codes, not created by VS 2003 or VS 2005. How can these aspx files be coded? NotePad or VB 6? The...
4
by: bj7lewis | last post by:
I am currently C++/Win32/MFC & C# programmer using VS.NET 2002 and jumped into VS.NET 2003 but that was a waste so I skipped VS.NET 2005 cause buying VS.NET 2003. Now after checking out VS.NET 2008...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.