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
380
Problem With User Control
posted

Hi..

I created one user control.this control contains a xamdatagrid with some data taking from one class.

Now i use this control as it is in one window.Now i want to add one new record to this control.

here i want to add this new record means..

Xamdatagrid1.datasource property is not there...how to bind new record to this control.

when i write code for button click new record is not adding..

Can u suggest some sample code to work with user controls to add modify and delete data.

Here i m using xml as my data source..

 

Please give reply as soon as possible.

 

Thank u in advance.