We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

need to update textfield when record has been inserted/updated/deleted in GridDataBoundGrid

Thread ID:





36381 Oct 28,2005 05:16 AM Oct 28,2005 05:29 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On October 28, 2005 05:16 AM

I''ve got a databoundgrid and a textbox right under it. every time a enter a new record/update an existing record/delete an existing record in the databoundgrid, I need to append something to the text already in the textbox. where do I put my code? *sigh* this all seems so trivial but I really can''t seem to find my way yet in .NET :(

Administrator [Syncfusion]
Replied On October 28, 2005 05:29 AM

You can handle the grid.RowEnter event.
private void gridDataBoundGrid1_RowEnter(object sender, Syncfusion.Windows.Forms.Grid.GridRowEventArgs e)
	//put the value in column 1 into the textbox
	string s = this.gridDataBoundGrid1[e.RowIndex, 1].Text;
	this.textBox1.Text = s;


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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.