Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 21 results for
deleteonsubmit
- Page 1
Link to Sql - Problems on Updating Database
Programming
Web Development
14 Years Ago
by josi.martarelli
… in Animais where a.AnimalID == animalID select a).First(); Animais.
DeleteOnSubmit
(animal); SubmitChanges(); } //Update method IS NOT working... public void UpdateAnimal2…
ItemCommand event doesn't fire with the Repeater control
Programming
Web Development
13 Years Ago
by Lazarevsky
… == detnar select c; foreach (var c in query) { nar.Naracka_Dets.
DeleteOnSubmit
(c); } nar.SubmitChanges(); lblSuma.Text = ((Button)e.CommandSource).ToString(); } } } } [/code…
SQL Problem
Programming
Software Development
12 Years Ago
by c++_fem
….Messages.Single(p => p.Name.StartsWith(test)) db.Messages.
DeleteOnSubmit
(m); db.SubmitChanges(); [/CODE] Table name is Messages Name is…
Re: SQL Problem
Programming
Software Development
12 Years Ago
by c++_fem
I got the same error for this query : [CODE] Aktive a = da.Aktive.First(p => p.Average.Equals(22.4)); da.Aktive.
DeleteOnSubmit
(a); da.SubmitChanges();[/CODE] In this example Average is type float
Grid not update
Programming
Software Development
11 Years Ago
by weeraa
… & d.DId == dateRow.DId select d).Single(); dc.DCdates.
DeleteOnSubmit
(date); dc.SubmitChanges(); MessageBox.Show("Row deleted successfully"…
LINQ to SQL Oddities
Programming
Software Development
10 Years Ago
by Begginnerdev
… db As New DataBaseDataContext() db.myTable.Attach(myObject) db.myTable.
DeleteOnSubmit
(myObject) db.SubmitChanges() db = Nothing Catch ex As Exception Throw…
LINQ QUERIES
Programming
Web Development
10 Years Ago
by hussain_ahmed
….bios.Single(bio => bio.name == TextBox3.Text); dc.bios.
DeleteOnSubmit
(obb); dc.SubmitChanges(); } protected void Button5_Click(object sender, EventArgs e…
Picture Box to Bytes
Programming
Software Development
9 Years Ago
by k030775
….Parse(txtEmpID.Text) select r).First(); //Retrieve object myDC.tblEmployees.
DeleteOnSubmit
(myResult); //Delete Object myDC.SubmitChanges(); MessageBox.Show("Employee Information…
Re: Link to Sql - Problems on Updating Database
Programming
Web Development
14 Years Ago
by rafaelbelliard
DO NOT use a global DataContext. LINQ will break that way. You need to specify one almost for each LINQ atomic operation. [url]http://www.west-wind.com/weblog/posts/246222.aspx[/url]
Re: SQL Problem
Programming
Software Development
12 Years Ago
by stbuchok
Delete based on an Id column. You've really already answered your own problem. Name is type nText and you are using it in a where clause (look at your lambda expression). So basically don't use Name in your lambda.
Re: SQL Problem
Programming
Software Development
12 Years Ago
by c++_fem
Can I delete it without using the lambda expression? I mean the row where Name == text ?
Re: SQL Problem
Programming
Software Development
12 Years Ago
by zmeditation1
which is the error in sql
Re: ItemCommand event doesn't fire with the Repeater control
Programming
Web Development
12 Years Ago
by Atul Dhiman
<asp:Repeater ID="Repeater1" runat="server" onitemcommand="Repeater1_ItemCommand"> and for to understand exact about repeater control see here [snipped]
Re: ItemCommand event doesn't fire with the Repeater control
Programming
Web Development
12 Years Ago
by ChintooKhaade
The Repeater control is used to display a repeated list of items that are bound to the control. The Repeater control allows you to create templates to define the layout of its content. The templates are: · ItemTemplate - Use this template for elements that are rendered once per row of data. · AlternatingItemTemplate - Use this …
Re: ItemCommand event doesn't fire with the Repeater control
Programming
Web Development
12 Years Ago
by Atul Dhiman
:cool:The Repeater control is used to display a repeated list of items that are bound to the control. It enable the customization of the layout by each repeated list of items. The Repeater control may be bound to a database table, an XML file, or another list of items. The Repeater control has no built-in select and edit support. But possible to …
Re: Grid not update
Programming
Software Development
11 Years Ago
by riahc3
What database is this going against?
Re: LINQ to SQL Oddities
Programming
Software Development
10 Years Ago
by M.Waqas Aslam
May be when someone delete record ,instead of deleting records code is setting any flag in the table. to get the clue , you could check the code which is retriving records from the db. there may be any filter criteria. Regards
Re: LINQ to SQL Oddities
Programming
Software Development
10 Years Ago
by Begginnerdev
I have checked to see if the code was simply setting a flag beforehand. To my astonishment it is deleting the record and nothing else! I am starting to think that the application is possessed by the evil MS Casper. Anyone know the number to the Ghost Busters?
Re: LINQ QUERIES
Programming
Web Development
10 Years Ago
by pritaeas
Posted in error, or was there a question?
Re: Picture Box to Bytes
Programming
Software Development
9 Years Ago
by ddanbe
Hi k030775 welcome at Daniweb. :) Maybe you overlooked this [short article](http://www.codeproject.com/Articles/15460/C-Image-to-Byte-Array-and-Byte-Array-to-Image-Conv)?
Re: Picture Box to Bytes
Programming
Software Development
9 Years Ago
by k030775
Hello Ddanbe, I will try that one. I will keep you posted. thank you!
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC