473,386 Members | 1,745 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,386 software developers and data experts.

Typed dataset and the grid control

JJ
Hi All,

I have a typed data set that I that two tables joined
in a one-to-many relationship. I have added the
relationship to the dataset schema and all seems to be
working well.

The parent table is displayed in a datagrid. However,
since a realtionship exists the datagrid insists on showing
the '+' sign against each row of the grid to allow the user
to navigate the the child record.

Is there any way to stop the datagrid doing this. I have
created a dataview of teh table in the record set to allow
me to filter records already, but I don't know how to
get rid of the '+' to the child.

Any suggestions would be greatly appreciated.

Thanks,

Jason.
Nov 20 '05 #1
2 977
Hi,

Datagrid1.AllowNavigation = False

Ken
-------------------
"JJ" <ja***@nospam.divemaster.org> wrote in message
news:0p********************************@4ax.com...
Hi All,

I have a typed data set that I that two tables joined
in a one-to-many relationship. I have added the
relationship to the dataset schema and all seems to be
working well.

The parent table is displayed in a datagrid. However,
since a realtionship exists the datagrid insists on showing
the '+' sign against each row of the grid to allow the user
to navigate the the child record.

Is there any way to stop the datagrid doing this. I have
created a dataview of teh table in the record set to allow
me to filter records already, but I don't know how to
get rid of the '+' to the child.

Any suggestions would be greatly appreciated.

Thanks,

Jason.

Nov 20 '05 #2
JJ
Ken,

that's get. THanks much.

Jason.

On Sat, 1 May 2004 08:56:15 -0400, "Ken Tucker [MVP]"
<vb***@bellsouth.net> wrote:
Hi,

Datagrid1.AllowNavigation = False

Ken
-------------------
"JJ" <ja***@nospam.divemaster.org> wrote in message
news:0p********************************@4ax.com.. .
Hi All,

I have a typed data set that I that two tables joined
in a one-to-many relationship. I have added the
relationship to the dataset schema and all seems to be
working well.

The parent table is displayed in a datagrid. However,
since a realtionship exists the datagrid insists on showing
the '+' sign against each row of the grid to allow the user
to navigate the the child record.

Is there any way to stop the datagrid doing this. I have
created a dataview of teh table in the record set to allow
me to filter records already, but I don't know how to
get rid of the '+' to the child.

Any suggestions would be greatly appreciated.

Thanks,

Jason.


Nov 20 '05 #3

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

Similar topics

1
by: Imran | last post by:
Hello, I have a typed dataset defined in my project. I am writing a user control which needs to invoke an instance of that dataset. Problem is that the page developer only provides the name of...
3
by: Ben Becker | last post by:
I am trying to build a custom crosstab type of grid where I take some items in a data grid and based on the content of the current item compared to the previous item, determine if a new row in a...
1
by: Ersin Gençtürk | last post by:
hi , I have 2 tables , tUser and tUserRole and I have a query like : select * from tUser inner join tUserRole on tUserRole.UserId=tUser.UserId where tUser.UserId=1 this will return a user...
1
by: Trond | last post by:
I have a class MessageController that has a method GetMessagesDataset that connects to a database SPROC. When done it returns a dataset. Then in my ASP.NET for i do this: msgController = new...
2
by: RCB | last post by:
I created a new Vb.NET project and used the Data Form Wizard to create a dataset and grid to view a single table from my database. Later I read an article about creating a Typed Dataset. I was...
2
by: | last post by:
Hello, I developed a custom Windows control that displays a data grid of all orders for a customer. Since the control only needs to use the Orders table within the parent data set (along with...
2
by: Bob | last post by:
Well, Damned if I know. It used to be simple. Make a webservice that publishes a get method, an update method and a typed dataset. The webpage would get the dataset and show it in a grid, the...
13
by: Rotsey | last post by:
Hi, I have created a typed dataset (xsd file) with 2 tables and a relation between them in VS2005. How I do I now bind that dataset to a Gridview?? When i do this the page is blank.
12
by: BillE | last post by:
I'm trying to decide if it is better to use typed datasets or business objects, so I would appreciate any thoughts from someone with more experience. When I use a business object to populate a...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.