Click here to Skip to main content
15,925,181 members
Home / Discussions / C#
   

C#

 
JokeRe: How to use ^ in C#? Pin
Jammer28-Feb-08 13:35
Jammer28-Feb-08 13:35 
AnswerAdditional Edification Pin
Ennis Ray Lynch, Jr.27-Feb-08 16:54
Ennis Ray Lynch, Jr.27-Feb-08 16:54 
GeneralSaving DataSet Information and then retrieving it [modified] Pin
ConfusedProgger27-Feb-08 13:20
ConfusedProgger27-Feb-08 13:20 
GeneralFXCop Help Pin
Jammer27-Feb-08 13:07
Jammer27-Feb-08 13:07 
GeneralRe: FXCop Help Pin
Vikram A Punathambekar27-Feb-08 18:25
Vikram A Punathambekar27-Feb-08 18:25 
GeneralRe: FXCop Help Pin
Jammer28-Feb-08 9:18
Jammer28-Feb-08 9:18 
QuestionHow to assign a string value to a boolean cell in a datagridview? Pin
Kristhian Herrera27-Feb-08 12:29
Kristhian Herrera27-Feb-08 12:29 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Xmen Real 27-Feb-08 14:36
professional Xmen Real 27-Feb-08 14:36 
ah, a long way Smile | :)
buddy if you have bind the DGV then you cannot change the type of any cell,
i think first you should remove the binding then do this code, and CellPainting Event is for painting graphics on control, you should use CellClick Event

simple and short code:
if (e.ColumnIndex >= 2)
{ 
dgCompare[e.ColumnIndex,e.RowIndex].ValueType = typeof(string);
if (dgCompare[e.ColumnIndex,e.RowIndex].Value.ToString().ToUpper().Equals("TRUE"))
dgCompare[e.ColumnIndex,e.RowIndex].Value = "X";
else
dgCompare[e.ColumnIndex,e.RowIndex].Value = "";
}


TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can

GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Kristhian Herrera27-Feb-08 14:55
Kristhian Herrera27-Feb-08 14:55 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Xmen Real 27-Feb-08 14:59
professional Xmen Real 27-Feb-08 14:59 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Kristhian Herrera27-Feb-08 15:05
Kristhian Herrera27-Feb-08 15:05 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Xmen Real 27-Feb-08 15:08
professional Xmen Real 27-Feb-08 15:08 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Soumini Ramakrishnan28-Feb-08 20:44
Soumini Ramakrishnan28-Feb-08 20:44 
GeneralHook keyboard key in Webbrowser Pin
ric9427-Feb-08 11:04
ric9427-Feb-08 11:04 
GeneralRe: Hook keyboard key in Webbrowser Pin
Luc Pattyn27-Feb-08 11:34
sitebuilderLuc Pattyn27-Feb-08 11:34 
GeneralRe: Hook keyboard key in Webbrowser Pin
ric9427-Feb-08 20:44
ric9427-Feb-08 20:44 
GeneralRe: Hook keyboard key in Webbrowser Pin
Luc Pattyn27-Feb-08 22:27
sitebuilderLuc Pattyn27-Feb-08 22:27 
GeneralRe: Hook keyboard key in Webbrowser Pin
ric9427-Feb-08 23:19
ric9427-Feb-08 23:19 
GeneralRe: Hook keyboard key in Webbrowser Pin
Luc Pattyn28-Feb-08 2:12
sitebuilderLuc Pattyn28-Feb-08 2:12 
GeneralRe: Hook keyboard key in Webbrowser Pin
ric9428-Feb-08 11:07
ric9428-Feb-08 11:07 
GeneralRe: Hook keyboard key in Webbrowser Pin
Luc Pattyn28-Feb-08 11:42
sitebuilderLuc Pattyn28-Feb-08 11:42 
GeneralSMTP Exception Handling Pin
Daljeet51527-Feb-08 10:06
Daljeet51527-Feb-08 10:06 
GeneralRe: SMTP Exception Handling Pin
Christian Graus27-Feb-08 10:24
protectorChristian Graus27-Feb-08 10:24 
GeneralRe: SMTP Exception Handling Pin
Pete O'Hanlon27-Feb-08 10:32
mvePete O'Hanlon27-Feb-08 10:32 
GeneralRe: SMTP Exception Handling Pin
ekynox27-Feb-08 16:54
ekynox27-Feb-08 16:54 

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.