how to change a value of particular cell in a data grid
Answers were Sorted based on User's Feedback
private void dataGridView1_CellClick(object sender,
DataGridViewCellEventArgs e)
{
//Edit cell value
this.dataGridView1[e.ColumnIndex,
e.RowIndex].Value="Any Thing";
//find column name of cell
string strCulumnName = dataGridView1
[e.ColumnIndex, e.RowIndex].OwningColumn.Name;
}
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vijay saxena
GridView1.Rows[2].Cells[1].Text = "something";
Is This Answer Correct ? | 2 Yes | 2 No |
3. Describe the process of interact UI to BAL n DAL?
Explain the difference between abstract class and interface.
What exactly is serverless?
Name some properties of thread class.
What statements can enclose a "continue" statement?
How Reflection is used and what it's significance ?
What is whitespace in c#?
Oops concepts ?
2 Answers Accenture, Digital GlobalSoft,
What is session and cookies in c#?
What is view model in c#?
List the 5 different access modifiers in c#?
What is the difference between an application domain and a process?