Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 24th, 2007, 03:07 PM
Registered User
 
Join Date: Jan 2007
Location: cochi, kerala, India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ajaidass
Default datagrid

How can I make my data grid to view childtable data from multiple related tables? and avoid some column from child
table and add one or two column which is not in child table and how to upd[u]</u>ate,insert,delete? please help me

 
Old March 1st, 2007, 08:38 AM
Registered User
 
Join Date: Feb 2007
Location: dubai, dubai, United Arab Emirates.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ajaidass: If i have understand your problem, then check this link
http://www.codeproject.com/vb/net/grid101.asp


siraj
 
Old March 1st, 2007, 05:36 PM
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

ajaidass:
You have not provided enough information to give you an exact answer. You DID NOT specify whether all the tables were of Access DB, SQL Server 2000 DB, or Oracle DB, nor did you specify that all the tables were from the same DB or tables from different DB's. However, the secret lies in your SQL Statement which include the FROM portion that exacts parent and child tables, into a DataSet,if parent and child tables are from same DB. If child table(s) is/are from different DB AND unrelated the you MUST create the relation ship between parent and child, before you ADD, DELETE or UPDATE.

Hope this helps.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom paging in Datagrid with datagrid page count madhusrp ASP.NET 1.0 and 1.1 Professional 12 June 2nd, 2008 01:15 PM
Datagrid k.manisha ASP.NET 1.0 and 1.1 Professional 2 May 20th, 2008 07:18 PM
User COntrol Datagrid inside datagrid rodmcleay ASP.NET 1.0 and 1.1 Professional 3 April 14th, 2007 10:11 AM
Creating DataGrid In Repeater/DataGrid liduwan ASP.NET 1.0 and 1.1 Professional 9 March 6th, 2007 03:31 PM
Need help regarding datagrid ngsharmila .NET Framework 1.x 1 February 1st, 2006 12:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.