TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Arnold Petrona
NA
159
0
Loop
Jul 23 2008 9:28 PM
I have a listbox.item.count and it is in a loop. With this loop int m is included
Now I have as follow:
private void button4_Click(object sender, EventArgs e)
{
int y = listBox1.Items.Count;
for ( m = 0; m < listBox1.Items.Count; m++)
{
for ( a = 1; a <= 5; a++)
{
this.halo();
}
}
if ( m = = listBox1.Items.Count)
{
m = 0;
......................................;
}
}
private void halo()
{
dataGridView1.Rows.Add(a, listBox1.Items[m].ToString());
}
I don't know in the part where ..........................; to go start back again in the listbox1.Item.Count loop
Reply
Answers (
6
)
Socket Help
Parser?