How can i set text to cell in ultrgrid at InitializeRow(object sender, InitializeRowEventArgs e)
below is example which i tried
e.Row.Cells["dnControl"].Value = dtRows[0]["AdditionalText"].ToString() as object;
Hi,
This code will set the Value of the "dnControl" cell in every row of the grid to the value of the "AdditionalText" cell in row 0, as a string.
That seems like an odd thing to do, but there's nothing wrong with the code - except maybe that "as object" is unnecessary. What's the problem?