Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: Disabling back button of IE window using c# Pin
Christian Graus3-Jun-09 22:07
protectorChristian Graus3-Jun-09 22:07 
Questionsizeof(struct) in C#.net Pin
eyeshield213-Jun-09 18:34
eyeshield213-Jun-09 18:34 
AnswerRe: sizeof(struct) in C#.net Pin
eyeshield213-Jun-09 19:01
eyeshield213-Jun-09 19:01 
GeneralRe: sizeof(struct) in C#.net Pin
bsaksida3-Jun-09 20:38
bsaksida3-Jun-09 20:38 
GeneralRe: sizeof(struct) in C#.net Pin
Luc Pattyn3-Jun-09 23:02
sitebuilderLuc Pattyn3-Jun-09 23:02 
QuestionDataGridView Pin
Yathish hatter3-Jun-09 18:28
Yathish hatter3-Jun-09 18:28 
AnswerRe: DataGridView Pin
Henry Minute4-Jun-09 3:01
Henry Minute4-Jun-09 3:01 
QuestionGet data from a DataSet and display Pin
CodingLover3-Jun-09 17:42
CodingLover3-Jun-09 17:42 
Hi All,

I've a DataSet and I want to display all the data(actually each row in the DataSet) in a list view. I've do the following.

<br />
foreach( DataRow dr in ds.Tables[0].Rows )<br />
{<br />
	ListViewItem i = listView1.Items.Add(dr.Table.Rows[0]["ID"].ToString());<br />
<br />
	i.SubItems.Add(ds.Tables[0].Rows[0]["Group"].ToString());<br />
	i.SubItems.Add(ds.Tables[0].Rows[0]["FirstName"].ToString());<br />
	i.SubItems.Add(ds.Tables[0].Rows[0]["LastName"].ToString());<br />
}<br />


ds is the DataSet. My question is, first row display all the time. Means the same row in all. Can someone comment on this.

Thanks a lot Smile | :)

I appreciate your help all the time...
CodingLover Smile | :)

NewsRe: Get data from a DataSet and display Pin
CodingLover3-Jun-09 18:21
CodingLover3-Jun-09 18:21 
QuestionListview Pin
benjamin yap3-Jun-09 16:40
benjamin yap3-Jun-09 16:40 
AnswerRe: Listview Pin
Niladri_Biswas3-Jun-09 19:16
Niladri_Biswas3-Jun-09 19:16 
GeneralRe: Listview Pin
benjamin yap3-Jun-09 23:31
benjamin yap3-Jun-09 23:31 
GeneralRe: Listview Pin
Niladri_Biswas4-Jun-09 4:41
Niladri_Biswas4-Jun-09 4:41 
Questionappend files Pin
Zopilote323-Jun-09 12:30
Zopilote323-Jun-09 12:30 
AnswerRe: append files Pin
Luc Pattyn3-Jun-09 12:38
sitebuilderLuc Pattyn3-Jun-09 12:38 
AnswerRe: append files Pin
Christian Graus3-Jun-09 13:06
protectorChristian Graus3-Jun-09 13:06 
Question[Message Deleted] Pin
har dh3-Jun-09 10:00
har dh3-Jun-09 10:00 
AnswerRe: Need programming tips for my issue. Pin
Not Active3-Jun-09 10:02
mentorNot Active3-Jun-09 10:02 
AnswerRe: Need programming tips for my issue. Pin
EliottA3-Jun-09 10:10
EliottA3-Jun-09 10:10 
AnswerRe: Need programming tips for my issue. Pin
Christian Graus3-Jun-09 10:29
protectorChristian Graus3-Jun-09 10:29 
AnswerRe: [Message Deleted] Pin
Luc Pattyn3-Jun-09 13:37
sitebuilderLuc Pattyn3-Jun-09 13:37 
GeneralRe: [Message Deleted] Pin
Christian Graus3-Jun-09 13:48
protectorChristian Graus3-Jun-09 13:48 
GeneralRe: [Message Deleted] Pin
Luc Pattyn3-Jun-09 14:13
sitebuilderLuc Pattyn3-Jun-09 14:13 
GeneralRe: [Message Deleted] Pin
Christian Graus3-Jun-09 14:24
protectorChristian Graus3-Jun-09 14:24 
GeneralRe: [Message Deleted] Pin
Chris Maunder3-Jun-09 14:51
cofounderChris Maunder3-Jun-09 14:51 

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.