Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:02 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.