Link to Sql - Problems on Updating Database Programming Web Development 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 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 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 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 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 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 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 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 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 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 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 by zmeditation1 which is the error in sql Re: ItemCommand event doesn't fire with the Repeater control Programming Web Development 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 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 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 by riahc3 What database is this going against? Re: LINQ to SQL Oddities Programming Software Development 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 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 by pritaeas Posted in error, or was there a question? Re: Picture Box to Bytes Programming Software Development 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 by k030775 Hello Ddanbe, I will try that one. I will keep you posted. thank you!