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

Managed C++/CLI

 
GeneralRe: IDE Code completion & templates Pin
User 5838524-Dec-06 16:00
User 5838524-Dec-06 16:00 
GeneralRe: IDE Code completion & templates Pin
George L. Jackson4-Dec-06 16:20
George L. Jackson4-Dec-06 16:20 
Questionmultiple dimensional vector array Pin
cy163@hotmail.com4-Dec-06 4:25
cy163@hotmail.com4-Dec-06 4:25 
AnswerRe: multiple dimensional vector array Pin
Christian Graus4-Dec-06 10:45
protectorChristian Graus4-Dec-06 10:45 
GeneralRe: multiple dimensional vector array Pin
George L. Jackson4-Dec-06 11:37
George L. Jackson4-Dec-06 11:37 
GeneralRe: multiple dimensional vector array Pin
Christian Graus4-Dec-06 11:46
protectorChristian Graus4-Dec-06 11:46 
QuestionFill the ListView using DataSet Pin
ksandy454-Dec-06 3:32
ksandy454-Dec-06 3:32 
AnswerRe: Fill the ListView using DataSet Pin
teejayem10-Dec-06 11:48
teejayem10-Dec-06 11:48 
Here is a code snippet that i have used to update the listview from a DataSet. This snippet goes the each row in the dataset (in my case myDataSet) and Creates a ListViewItem to add to your ListView Control (in my case myListView1).

for each (DataRow^ r in myDataSet->Tables[0]->Rows)
{
                            //Create a listView Item and add the first column of the dataset to it
    ListViewItem^ lvindex = gcnew ListViewItem(r[0]->ToString());
                            //Create a subitem and add the seconed column to it
    ListViewItem::ListViewSubItem^ sublvindex = gcnew ListViewItem::ListViewSubItem(lvindex,r[1]->ToString());
                            //Add the 1st subitem to the listview item
    myListView1->SubItems->Add(sublvindex);
                            //Create the seconed ListView SubItem and add the third column of the Dataset to it.
    sublvindex = gcnew ListViewItem::ListViewSubItem(lvindex,r[2]->ToString());
                            //Add the 2nd subitem to the listview item
    myListView1->SubItems->Add(sublvindex);
                            //Add the entire ListViewItem to the next available row in myListView
    myListView1->Items->Add(lvindex);
}


hope this helps.

Don't be overcome by evil, but overcome evil with good

GeneralRe: Fill the ListView using DataSet Pin
ksandy4510-Dec-06 23:09
ksandy4510-Dec-06 23:09 
GeneralRe: Fill the ListView using DataSet Pin
teejayem10-Dec-06 23:13
teejayem10-Dec-06 23:13 
GeneralRe: Fill the ListView using DataSet Pin
ksandy4511-Dec-06 2:08
ksandy4511-Dec-06 2:08 
GeneralRe: Fill the ListView using DataSet Pin
teejayem11-Dec-06 7:37
teejayem11-Dec-06 7:37 
GeneralRe: Fill the ListView using DataSet Pin
ksandy4511-Dec-06 18:47
ksandy4511-Dec-06 18:47 
QuestionHow can i know WDFDEVICE of a device Pin
cshivaprasad4-Dec-06 1:43
cshivaprasad4-Dec-06 1:43 
Questionexport functions [modified] Pin
thathvamsi3-Dec-06 21:27
thathvamsi3-Dec-06 21:27 
AnswerRe: pleae give me the programme code of array struct!! Pin
George L. Jackson3-Dec-06 5:01
George L. Jackson3-Dec-06 5:01 
GeneralRe: pleae give me the programme code of array struct!! Pin
Christian Graus3-Dec-06 13:39
protectorChristian Graus3-Dec-06 13:39 
GeneralRe: pleae give me the programme code of array struct!! Pin
Christian Graus3-Dec-06 18:41
protectorChristian Graus3-Dec-06 18:41 
GeneralRe: pleae give me the programme code of array struct!! Pin
George L. Jackson4-Dec-06 0:20
George L. Jackson4-Dec-06 0:20 
AnswerRe: pleae give me the programme code of array struct!! Pin
Christian Graus3-Dec-06 0:22
protectorChristian Graus3-Dec-06 0:22 
GeneralRe: okey!!!thank you Pin
Christian Graus3-Dec-06 16:57
protectorChristian Graus3-Dec-06 16:57 
GeneralRe: sir Pin
Christian Graus3-Dec-06 17:42
protectorChristian Graus3-Dec-06 17:42 
QuestionHex addition with VC++ in WinXP Pin
pkyiu2-Dec-06 5:38
pkyiu2-Dec-06 5:38 
AnswerRe: Hex addition with VC++ in WinXP [modified] Pin
George L. Jackson2-Dec-06 6:49
George L. Jackson2-Dec-06 6:49 
GeneralRe: Hex addition with VC++ in WinXP [modified] Pin
pkyiu2-Dec-06 8:21
pkyiu2-Dec-06 8:21 

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.