Click here to Skip to main content
15,902,770 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to activate a Form? Pin
Pete O'Hanlon2-Mar-08 23:58
mvePete O'Hanlon2-Mar-08 23:58 
GeneralRe: how to activate a Form? Pin
DaveyM693-Mar-08 1:17
professionalDaveyM693-Mar-08 1:17 
QuestionGantt Control Pin
sunspeed2-Mar-08 21:17
sunspeed2-Mar-08 21:17 
GeneralRe: Gantt Control Pin
Vasudevan Deepak Kumar2-Mar-08 21:27
Vasudevan Deepak Kumar2-Mar-08 21:27 
GeneralRe: Gantt Control Pin
sunspeed2-Mar-08 21:40
sunspeed2-Mar-08 21:40 
Generalsql for xml Pin
jason_mf2-Mar-08 20:14
jason_mf2-Mar-08 20:14 
GeneralRe: sql for xml Pin
N a v a n e e t h2-Mar-08 21:36
N a v a n e e t h2-Mar-08 21:36 
QuestionHow to add new column in datagridview after databinding Pin
avtar1112-Mar-08 19:34
avtar1112-Mar-08 19:34 
Hi friend,
I have one datagridview.

-----------------------------------------------------
DataGridView dataGridView1 = new DataGridView();
dataGridView1.Size = new System.Drawing.Size(220, 150);
dataGridView1.TabIndex = 0;
DataGridViewCheckBoxColumn checkboxColumn = new DataGridViewCheckBoxColumn();
checkboxColumn.Name = "CheckBox";
checkboxColumn.Width = 60;
dataGridView1.Columns.Insert(0, checkboxColumn);
dtaGridView1.DataSource = dt; // dt is a datatable ref which have some data from database
----------------------------------

now i want one more column be there for true false value;
for example if datatable return 5 values to datagridview1 it shows all values
but if user check on any of checkbox of any row i want true/false (0,1) value in corresponding third column. whose name would be "TrueFalse".

so how to add another column..

Hope you understand my problem.

Thanks lot.
GeneralRe: How to add new column in datagridview after databinding Pin
Xmen Real 2-Mar-08 21:46
professional Xmen Real 2-Mar-08 21:46 
GeneralDialing a modem from c# Pin
Prajin2-Mar-08 19:19
Prajin2-Mar-08 19:19 
GeneralRe: Dialing a modem from c# Pin
Laubi2-Mar-08 20:10
Laubi2-Mar-08 20:10 
Generaltree view in windows application using c# Pin
monuSaini2-Mar-08 19:00
monuSaini2-Mar-08 19:00 
GeneralRe: tree view in windows application using c# Pin
Xmen Real 2-Mar-08 21:56
professional Xmen Real 2-Mar-08 21:56 
GeneralRe: tree view in windows application using c# Pin
monuSaini2-Mar-08 22:01
monuSaini2-Mar-08 22:01 
GeneralRe: tree view in windows application using c# Pin
Xmen Real 2-Mar-08 22:19
professional Xmen Real 2-Mar-08 22:19 
GeneralRe: tree view in windows application using c# Pin
monuSaini2-Mar-08 22:40
monuSaini2-Mar-08 22:40 
GeneralRe: tree view in windows application using c# Pin
Xmen Real 3-Mar-08 4:40
professional Xmen Real 3-Mar-08 4:40 
GeneralRe: tree view in windows application using c# Pin
monuSaini3-Mar-08 17:37
monuSaini3-Mar-08 17:37 
GeneralRe: tree view in windows application using c# Pin
Xmen Real 3-Mar-08 19:38
professional Xmen Real 3-Mar-08 19:38 
GeneralUser Name Pin
rozhanin2-Mar-08 18:52
rozhanin2-Mar-08 18:52 
AnswerRe: User Name Pin
dipak.dipak2-Mar-08 19:49
dipak.dipak2-Mar-08 19:49 
GeneralRe: User Name Pin
rozhanin2-Mar-08 20:05
rozhanin2-Mar-08 20:05 
QuestionHow to retrieve Exchange Server Address Book using C# Pin
puneet.priyadarshi2-Mar-08 18:41
puneet.priyadarshi2-Mar-08 18:41 
GeneralData type conflict from C++ to C# Pin
CodingLover2-Mar-08 18:20
CodingLover2-Mar-08 18:20 
GeneralRe: Data type conflict from C++ to C# Pin
Christian Graus2-Mar-08 18:44
protectorChristian Graus2-Mar-08 18:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.