|107770||Mar 15,2013 02:17 PM UTC||May 21,2014 04:25 AM UTC||ASP.NET MVC (Classic)||3|
Hi Jaouen Cécile,
Thanks for using Syncfusion Products.
We regret for the inconvenience caused. We are unable to reproduce your reported issue in our end. We have created a simple sample to demonstrate this and the same can be downloaded from the below link.
Could you please replicate your issue in the above sample and send back to us so that we could able to sort out the cause of this issue and provide you a better solutions quickly?.
Please try the above sample and let us know if you have any concerns.
Bala Murugan A.S
Thanks for using Syncfusion products.
We are glad to inform you that your requirement ("I am having difficulty with getting the Save action working when the Grid is bound to DataTable.") can be achieved by creating separate class for getting current record values and we suggest you to use the SetField method to update the current record values to the DataTable. Please refer the below code snippets.
//. . .
public ActionResult OrderSave(OrderClass order)
var dataTabl = GetTable();
public DataTable GetTable()
var connection = ConfigurationManager.ConnectionStrings["NORTHWNDConnectionString"].ConnectionString;
using (var dataAdapter = new SqlDataAdapter("SELECT * from Orders", connection))
var dataTable = new DataTable();
DataColumn key = new DataColumn;
key = dataTable.Columns["OrderID"];
dataTable.PrimaryKey = key;
For your convenience, we have prepared a simple sample to demonstrate this and the same can be downloaded from the below link,
Please let us know if you need any further assistance.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.