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
445
Adding a row to a xamDataGrid....
posted

I have a xamDataGrid that is bound to a strongly typed dataset and I'm wondering how do i insert a row into the xamDataGrid when the user clicks the 'Add' button.  I've tried a few things but no luck.

On the 'Delete'  button I have this code which works well, "

xamDataGridWebMaintenance.ExecuteCommand(

DataPresenterCommands.DeleteSelectedDataRecords);", just wondering what best to do when the user clicks the 'Add' button.

I would also like to defualt the value for the PK column which is collapsed to the user.

Troy