What is an Object?
An object can be considered a "thing" that can perform a set of related activities.
Any real entity.
For example:
The hand can grip something.
A fish in water (fish is an object).
An idea comes in your mind, and you implement it (the idea is an object).
Fruit in an orchard...
Thursday, 25 April 2013
Thursday, 18 April 2013
How to Change color in dataGridView cell..
If you want to change the ForeColor and back ground color in the cell when the text is not in the correct format, I have this code to change the color after the text is entered
private void dataGridView1_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor=...
Friday, 12 April 2013
Print Windows form in c#
How to add ComboBox dynamically to a Gridview on button click event?
Subscribe to:
Posts (Atom)