Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
GeneralRe: Importing EXCEL to sql database Pin
Hema Bairavan31-Dec-10 6:35
Hema Bairavan31-Dec-10 6:35 
AnswerRe: Importing EXCEL to sql database Pin
Abhinav S30-Dec-10 18:44
Abhinav S30-Dec-10 18:44 
AnswerRe: Importing EXCEL to sql database Pin
RaviRanjanKr31-Dec-10 2:34
professionalRaviRanjanKr31-Dec-10 2:34 
AnswerRe: Importing EXCEL to sql database Pin
Ravi Sant31-Dec-10 2:43
Ravi Sant31-Dec-10 2:43 
GeneralRe: Importing EXCEL to sql database Pin
Hema Bairavan31-Dec-10 6:19
Hema Bairavan31-Dec-10 6:19 
Questiontab control with flat buttons Pin
Rafone30-Dec-10 4:19
Rafone30-Dec-10 4:19 
QuestionGet Time C#(read only memory) [modified] Pin
arun_pk30-Dec-10 1:05
arun_pk30-Dec-10 1:05 
AnswerRe: Get Time C#(read only memory) Pin
JF201530-Dec-10 1:13
JF201530-Dec-10 1:13 
GeneralRe: Get Time C#(read only memory) Pin
arun_pk30-Dec-10 1:14
arun_pk30-Dec-10 1:14 
GeneralRe: Get Time C#(read only memory) Pin
JF201530-Dec-10 1:17
JF201530-Dec-10 1:17 
GeneralRe: Get Time C#(read only memory) Pin
Keith Barrow30-Dec-10 1:22
professionalKeith Barrow30-Dec-10 1:22 
GeneralRe: Get Time C#(read only memory) Pin
arun_pk30-Dec-10 1:34
arun_pk30-Dec-10 1:34 
GeneralRe: Get Time C#(read only memory) Pin
Richard MacCutchan30-Dec-10 2:21
mveRichard MacCutchan30-Dec-10 2:21 
GeneralRe: Get Time C#(read only memory) Pin
Keith Barrow30-Dec-10 4:37
professionalKeith Barrow30-Dec-10 4:37 
GeneralRe: Get Time C#(read only memory) Pin
Pete O'Hanlon30-Dec-10 4:57
mvePete O'Hanlon30-Dec-10 4:57 
GeneralRe: Get Time C#(read only memory) Pin
Trollslayer30-Dec-10 8:35
mentorTrollslayer30-Dec-10 8:35 
GeneralRe: Get Time C#(read only memory) Pin
Bernhard Hiller30-Dec-10 19:54
Bernhard Hiller30-Dec-10 19:54 
AnswerRe: Get Time C#(read only memory) Pin
Rob Philpott30-Dec-10 1:35
Rob Philpott30-Dec-10 1:35 
GeneralRe: Get Time C#(read only memory) Pin
arun_pk30-Dec-10 2:04
arun_pk30-Dec-10 2:04 
GeneralRe: Get Time C#(read only memory) Pin
Rob Philpott30-Dec-10 2:08
Rob Philpott30-Dec-10 2:08 
AnswerRe: Get Time C#(read only memory) Pin
OriginalGriff30-Dec-10 2:16
mveOriginalGriff30-Dec-10 2:16 
Questionmaking two different style of datagridview's one cell Pin
Erdinc2729-Dec-10 21:11
Erdinc2729-Dec-10 21:11 
hey guys..i want to change wordS' styles in a single cell of my datagridview
for example in a cell i have "AsdAsd.CvbCvb"..i want it to make as AsdAsd CvbCvb..to do that i declared two cellstyle
DataGridViewCellStyle mystyle1 = new DataGridViewCellStyle();
DataGridViewCellStyle mystyle2 = new DataGridViewCellStyle();

mystyle1.Font = new Font(dataGridView1.Font, FontStyle.Regular);
mystyle2.Font = new Font(dataGridView1.Font, FontStyle.Italic);

and to get the words in my cells i made this
for (int i = 0; i < dataGridView1.Rows.Count; i++)
           {
               for (int j = 1; j < dataGridView1.Columns.Count; j++)
               {
                   string split = dataGridView1.Rows[i].Cells[j].Value.ToString();
                   string[] split2 = split.Split(new char[] { '.' });

                   foreach (string item in split2)
                   {
                       dataGridView1.Rows[i].Cells[j].Value = split2[0].ToString()+"/*/*" + split2[1].ToString();
                   }
               }
           }

but the point is that i dont know how to apply that styles to the words i got by splitting?
can anyone suggest me a way
vemedya.com

AnswerRe: making two different style of datagridview's one cell Pin
_Erik_30-Dec-10 0:17
_Erik_30-Dec-10 0:17 
AnswerRe: making two different style of datagridview's one cell Pin
Henry Minute30-Dec-10 3:16
Henry Minute30-Dec-10 3:16 
AnswerRe: making two different style of datagridview's one cell Pin
Dave Kreskowiak30-Dec-10 4:24
mveDave Kreskowiak30-Dec-10 4:24 

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.