objNewsMast = NewsMasts.SingleOrDefault(Rec => Rec.NewsMastKey == 2);
if (objNewsMast != null)
{
objNewsMast.Dsc = "Today News";
objNewsMast.Title = "Latest News";
objNewsMast.Ext = "Mpg";
objeDC.SubmitChanges();
}
Monday, March 22, 2010
update record using LINQ programmtically in c#
-
In object-oriented languages the term "interface" is often used to define an abstract type that contains no data but exposes behav...
-
The following article discusses the WPF command binding feature with relation to Mouse clicks. One of WPF powerful features is the bindin...