Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1310
Update, Insert and delete in ultraganttview
posted

I have adapted the TableAdapter concept to make use of the ultraganttview. I am not able to update, delete and insert the tasks dynamically.

The error is as follows.

Please advise what do I have missed out

public void UpdateChangesToDatabase()
        {
            try
            {
                dbTasksTableAdapter1.Update(DataSet1.dbTasks);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }

In TableAdapter, delete, update, insert commands are defined.