Wrox Programmer Forums
|
BOOK: Expert One-on-One Visual Basic 2005 Database Programming
This is the forum to discuss the Wrox book Expert One-on-One Visual Basic 2005 Database Programming by Roger Jennings; ISBN: 9780764576782
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One Visual Basic 2005 Database Programming 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 June 23rd, 2006, 03:53 PM
Authorized User
 
Join Date: Feb 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Gridview Problems

Please move this if it is in the wrong forum - Chris
In using what I've learned in your book I have created a simple form and created a dataset and dragged and dropped the resulting data store on the form. It produces the controls and the boxes. I did it as detail.

The first problem is that it won't delete the records I've entered unless I also click the save button. Any direction on this. If I have to do this, can I integrate that into the delete button with code? What would the code be?

The second problem is when I add a Gridview from the same data set to this form that is a child dataset, when there are no records in the in the partent table, and I add a new record to the parent the child doesn't have a valid index to use to reference to it. I haven't been able to figure out how to set up the code in the save portion to save the first set and then the second.

Any help would be appreciated.

Chris






Similar Threads
Thread Thread Starter Forum Replies Last Post
Get GridView Cell Value Based on GridView Column stublair C# 2008 aka C# 3.0 0 September 4th, 2008 08:30 AM
GridView Problems Bajrang ASP.NET 2.0 Basics 0 May 16th, 2007 05:53 AM
Gridview checkbox problems pauliehaha ASP.NET 2.0 Professional 1 May 3rd, 2007 04:14 AM
Multiple problems with Login system, GridView hindereduseless ASP.NET 2.0 Professional 0 May 3rd, 2006 01:13 AM
multiple problems with logins and gridview hindereduseless ASP.NET 2.0 Basics 0 May 3rd, 2006 01:01 AM





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