4
Answers

how to give fore color&backgroundcolorusing switchcase inDGV

narasiman rao

narasiman rao

12y
1.9k
1
how to give fore color and back ground color using switch case in data grid view



 output as follows;

 Date     Session  Ck   Mk    RK     VB    GS     CMK    UNNI   MS

 7/1/12    1       REO  TAs   PH2
 7/1/12    2       REO  TAs   PH2
 7/1/12    3       REO  TAs   PH2
 7/1/12    4       REO  TAs   PH2

 8/1/12    1       REO  TAs   PH2
 8/1/12    2       REO  TAs   PH2
 8/1/12    3       REO  TAs   PH2
 8/1/12    4       REO  TAs   PH2

 using switch case how to give fore and Back ground color to 7/1/12 and 8/1/12 date.


please send the code using c sharp;

Answers (4)