The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi
I have used an example from the FAQs to select the entire row when a single cell in the row
is selected (inheriting from textboxcolumn)
I am also using the following statement
to display the value in a textbox
tBox.Text =datagrid[datagrid.CurrentCell.RowNumber,4].ToString();
but the textbox is becoming readonly
how do i modify this to allow the datagrid to
take a value from the text box and insert it into
a certain cell
thanks for your help
CBClay Burch Syncfusion Team May 22, 2002 02:56 PM UTC
In the sample from the FAQ, I dropped a button and a textbox on the form. Then add this button handler. The code took the contents of the textbox and place then into the datagrid at 2,1.
private void button1_Click(object sender, System.EventArgs e)
{
this.dataGrid1[2, 1] = this.textBox1.Text;
}
So, in your case, are the changes not showing in the datagrid? Or, are they showing in the datagrid, but are not getting back to your dataset?