Wrox Programmer Forums
|
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 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 10th, 2010, 05:26 PM
Registered User
 
Join Date: Jun 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default LINQ Question on Chapter 2

I followed steps to use LINQ to SQL using stored procedures to update the database records. the problem I have is calling submitChanges() did not update the record in the database.

I am using SQL 2008 Express with a connection string, in the code, after called submitChanges(0, I did a databinding using Gridview, the gridview shows the changes, but when I navigate away, then come back, the change is lost. Checking the database record, no updates. What is the problem?

Other question, in the code, I only put the columnes that need update, not all the columnes. Do I need to put all of them there, even some columnes do not need update?

Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Linq Question barakros ASP.NET 3.5 Professionals 7 June 16th, 2010 01:46 AM
Linq paging Question barakros BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 January 27th, 2010 11:48 AM
Question about LINQ maratin BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 3 January 24th, 2010 10:49 AM
Linq - A Design Question mikener LINQ 3 November 14th, 2009 10:47 AM
LINQ question thangxii BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 July 6th, 2008 03:13 PM





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