This is a migrated thread and some comments may be shown as answers.

[Solved] Insert/Update/Delete

0 Answers 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tung Tran Thanh
Top achievements
Rank 1
Tung Tran Thanh asked on 06 May 2010, 03:05 AM
Anybody help me !

I do the same "Telerik extensions for ASP.NET MVC" tutorial at Telerik UI Components/Grid/Editing/Ajax Editing but I can insert/update/delete on database although on web page I can see Insert/Update/Delete. When I restart Web Application, I can't find any change or insert /delete

 

public static void Update(EditableCustomer customer) //Only change on web page but restart Web Application nothing change

 

{

 

    EditableCustomer target = One(c => c.CustomerID == customer.CustomerID);

 

 

    if (target != null)

 

    {

        target.Address = customer.Address;

        target.ContactName = customer.ContactName;

        target.Country = customer.Country;

        target.BirthDay = customer.BirthDay;

    }

}

Thanks
P/S: sorry about my English

Tags
Grid
Asked by
Tung Tran Thanh
Top achievements
Rank 1
Share this question
or