Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to do a balloon tip in a tray icon in C# Pin
Kasdoffe9-Mar-05 6:09
Kasdoffe9-Mar-05 6:09 
GeneralExpriences Pin
Toan Thang8-Mar-05 16:49
Toan Thang8-Mar-05 16:49 
GeneralRe: Expriences Pin
Chua Wen Ching8-Mar-05 23:34
Chua Wen Ching8-Mar-05 23:34 
Generalwrap a dll into another dll Pin
ppp0018-Mar-05 15:28
ppp0018-Mar-05 15:28 
GeneralRe: wrap a dll into another dll Pin
mav.northwind8-Mar-05 22:27
mav.northwind8-Mar-05 22:27 
GeneralRe: wrap a dll into another dll Pin
Chua Wen Ching8-Mar-05 23:40
Chua Wen Ching8-Mar-05 23:40 
GeneralRe: wrap a dll into another dll Pin
Heath Stewart9-Mar-05 6:19
protectorHeath Stewart9-Mar-05 6:19 
GeneralListView Pin
Bahadir Cambel8-Mar-05 14:43
Bahadir Cambel8-Mar-05 14:43 
Hi , I am trying to liken the ListView to a dataGrid..
Lets say we have a dataTable and a ListView..
In order to simulate dataGrid , we would like to known how many colums do we have , before binding the items into the ListView , I create the columns...
<br />
for ( int j =0 ;j<dTable.Columns.Count;j++)<br />
{		<br />
this.listView1.Columns.Add(dTable.Columns[j].ColumnName,-1,HorizontalAlignment.Center);<br />
}

Then , I consider to bind each dataRow into the ListView with the corresponding columns..
<br />
for ( int i = 0 ; i<dTable.Rows.Count;i++)<br />
{<br />
this.listView1.Items.Add(dTable.Rows[i][0].ToString());<br />
	for ( int j =0 ;j<dTable.Columns.Count;j++)<br />
	{					                                                 this.listView1.Items[i].SubItems.Add(dTable.Rows[i][dTable.Columns[j].ColumnName].ToString());<br />
	}<br />
}<br />

Do you have any idea what I am doing wrong ?
GeneralRe: ListView Pin
Christian Graus8-Mar-05 14:48
protectorChristian Graus8-Mar-05 14:48 
GeneralRe: ListView Pin
Bahadir Cambel8-Mar-05 15:44
Bahadir Cambel8-Mar-05 15:44 
GeneralRe: ListView Pin
Bahadir Cambel8-Mar-05 16:55
Bahadir Cambel8-Mar-05 16:55 
GeneralRe: ListView Pin
Rob Graham8-Mar-05 18:16
Rob Graham8-Mar-05 18:16 
QuestionHow I can DISABLE the print button of the printPreviewDialog Toolbar. Pin
JeyJey20058-Mar-05 14:40
JeyJey20058-Mar-05 14:40 
AnswerRe: How I can DISABLE the print button of the printPreviewDialog Toolbar. Pin
V2272-Aug-10 9:34
V2272-Aug-10 9:34 
AnswerRe: How I can DISABLE the print button of the printPreviewDialog Toolbar. Pin
Member 1018538512-Mar-14 22:08
Member 1018538512-Mar-14 22:08 
GeneralGet dataGrid rows selected Pin
JeyJey20058-Mar-05 14:33
JeyJey20058-Mar-05 14:33 
GeneralRe: Get dataGrid rows selected Pin
westerdlyOne_void9-Mar-05 6:59
westerdlyOne_void9-Mar-05 6:59 
GeneralCD Drive / Disc Information Pin
poomunch38-Mar-05 14:12
poomunch38-Mar-05 14:12 
GeneralRe: CD Drive / Disc Information Pin
poomunch38-Mar-05 14:39
poomunch38-Mar-05 14:39 
Generalconsole.read() Pin
victor_ba858-Mar-05 13:35
victor_ba858-Mar-05 13:35 
GeneralRe: console.read() Pin
Bahadir Cambel8-Mar-05 15:57
Bahadir Cambel8-Mar-05 15:57 
Generalc# and using ports Pin
A_dosoky2005zagcom8-Mar-05 12:47
sussA_dosoky2005zagcom8-Mar-05 12:47 
GeneralRe: c# and using ports Pin
Stefan Troschuetz8-Mar-05 21:47
Stefan Troschuetz8-Mar-05 21:47 
GeneralRe: c# and using ports Pin
Chua Wen Ching8-Mar-05 23:48
Chua Wen Ching8-Mar-05 23:48 
QuestionDatagrid RowSelected event? Pin
westerdlyOne_void8-Mar-05 10:38
westerdlyOne_void8-Mar-05 10:38 

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.