Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > LINQ
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
LINQ Discuss Microsoft's LINQ (Language INtegrated Query) for .NET 3.0 and later.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the LINQ 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
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 9th, 2012, 10:55 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Row not found or changed

Hi,

I keep getting this Row not found or changed error.
I've already tried changing the dbml property Udate Check to "never", without results.
I would greatly appreciate any help I can get on this matter.
Below is the code of the .cs file.

Thanx

MikeFIF



Code:
protected void Button13_Click(object sender, EventArgs e)
    {
FacturatieDataContext adm1n = new FacturatieDataContext();
    Beheren beheer3 = new Beheren();
 Beheren beheer2 = new Beheren();
//select the row
var b3h3er1 = from c in adm1n.Beherens
                      where c.Naambeheer == TextBox1.Text
                      select c;
 
            //Make a new beheren
            beheer3.Naambeheer = TextBox4.Text;
            
//the old beheren
            beheer2.Naambeheer = TextBox1.Text;
            
//submit the changes
adm1n.Beherens.Attach(beheer3,beheer2);
        adm1n.SubmitChanges();
    }
 


Thread Tools
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
how to change line color between Ribbin row and Title Row spa95 BOOK: Professional SharePoint 2010 Branding and User Interface Design 0 December 9th, 2011 12:19 PM
need oracle SP to split csv row by row sid ASP.NET 3.5 Professionals 0 April 22nd, 2010 03:08 PM
$data[0][$row->parentid]['children'][$row->id] = $row->name mehdymahmood BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 1 February 2nd, 2010 01:19 AM
insert a duplicate row with one changed field only swdgaurav SQL Language 1 December 31st, 2007 03:54 AM
Read a column and Search Row by Row in another col AyatKh Excel VBA 2 January 26th, 2005 11:02 AM



All times are GMT -4. The time now is 09:45 PM.


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