Click here to Skip to main content
15,896,154 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Listview horizontal scroll bar Pin
Mark Salsbery19-Sep-07 15:10
Mark Salsbery19-Sep-07 15:10 
GeneralRe: Listview horizontal scroll bar Pin
kani9820-Sep-07 8:52
kani9820-Sep-07 8:52 
GeneralRe: Listview horizontal scroll bar Pin
Mark Salsbery20-Sep-07 9:06
Mark Salsbery20-Sep-07 9:06 
GeneralRe: Listview horizontal scroll bar Pin
Mark Salsbery20-Sep-07 9:14
Mark Salsbery20-Sep-07 9:14 
QuestionHow do you populate DataGridControl cell? Pin
BuckBrown19-Sep-07 11:52
BuckBrown19-Sep-07 11:52 
AnswerRe: How do you populate DataGridControl cell? Pin
George L. Jackson19-Sep-07 13:59
George L. Jackson19-Sep-07 13:59 
GeneralRe: How do you populate DataGridControl cell? Pin
BuckBrown20-Sep-07 9:45
BuckBrown20-Sep-07 9:45 
GeneralRe: How do you populate DataGridControl cell? [modified] Pin
George L. Jackson20-Sep-07 12:22
George L. Jackson20-Sep-07 12:22 
Buck,

In your original post, you did not give enough information to warant a specific answer to your current needs. However, see if this may work:

for (int i = 0; i < 120; ++i)
{
DataGridViewTextBoxColumn^ col =
gcnew DataGridViewTextBoxColumn;

col->Name = "col" + i.ToString();
col->HeaderText = i.ToString();

dataGridView1->Columns->Add(col);
}

for (int i = 0; i < 100; ++i)
{
DataGridViewRow^ row =
gcnew DataGridViewRow;

dataGridView1->Rows->Add(row);
}

dataGridView1->Rows[9]->Cells[4]->Value = "George";

There may be a faster way of doing this, and I will dig a little deeper. I don't do much Window Forms programming.




-- modified at 18:32 Thursday 20th September, 2007

"We make a living by what we get, we make a life by what we give." --Winston Churchill

GeneralRe: How do you populate DataGridControl cell? Pin
BuckBrown20-Sep-07 9:47
BuckBrown20-Sep-07 9:47 
AnswerRe: How do you populate DataGridControl cell? Pin
George L. Jackson20-Sep-07 13:07
George L. Jackson20-Sep-07 13:07 
QuestionInsertion of Smiley Faces in Rich Edit Control Pin
_Shiva19-Sep-07 1:58
_Shiva19-Sep-07 1:58 
AnswerRe: Insertion of Smiley Faces in Rich Edit Control Pin
Giorgi Dalakishvili19-Sep-07 2:43
mentorGiorgi Dalakishvili19-Sep-07 2:43 
QuestionHow to use System::Xml namespace in an MFC application? Pin
Rocky#18-Sep-07 18:13
Rocky#18-Sep-07 18:13 
AnswerRe: How to use System::Xml namespace in an MFC application? Pin
George L. Jackson18-Sep-07 23:46
George L. Jackson18-Sep-07 23:46 
GeneralRe: How to use System::Xml namespace in an MFC application? Pin
Rocky#20-Sep-07 18:07
Rocky#20-Sep-07 18:07 
QuestionRe: How to use System::Xml namespace in an MFC application? Pin
Rocky#20-Sep-07 20:15
Rocky#20-Sep-07 20:15 
GeneralRe: How to use System::Xml namespace in an MFC application? Pin
Rocky#20-Sep-07 20:42
Rocky#20-Sep-07 20:42 
Questionis it possible to read the output from exe file in c++? Pin
Wajid Ali18-Sep-07 10:16
Wajid Ali18-Sep-07 10:16 
AnswerRe: is it possible to read the output from exe file in c++? Pin
Mark Salsbery18-Sep-07 10:28
Mark Salsbery18-Sep-07 10:28 
GeneralRe: is it possible to read the output from exe file in c++? Pin
Wajid Ali18-Sep-07 10:48
Wajid Ali18-Sep-07 10:48 
AnswerRe: is it possible to read the output from exe file in c++? Pin
Hamid_RT18-Sep-07 19:51
Hamid_RT18-Sep-07 19:51 
QuestionMissing Manifest Resource Exception Pin
Programm3r18-Sep-07 1:50
Programm3r18-Sep-07 1:50 
QuestionI have a stumper on Forms Designer Pin
BuckBrown17-Sep-07 5:18
BuckBrown17-Sep-07 5:18 
GeneralRe: I have a stumper on Forms Designer Pin
George L. Jackson17-Sep-07 12:36
George L. Jackson17-Sep-07 12:36 
GeneralRe: I have a stumper on Forms Designer Pin
BuckBrown19-Sep-07 11:40
BuckBrown19-Sep-07 11:40 

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.