473,322 Members | 1,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

help me pls 1 question!

A row to another row reverse transfered and result to show in listbox write it program

(C#)

(we use 2 veriables)

and we enter values..

pls help me ı have bad english maybe you understand it
pls help ty all
Nov 23 '08 #1
7 1696
YarrOfDoom
1,247 Expert 1GB
Hi Othello, welcome to Bytes.
You might want to be a bit more specific about what exactly your problem is, and show your own attempts at this.
Also, to make it easier for people to browse the forums, you should use a describing title, instead of just asking for help.
Please read the posting guidelines to avoid such misunderstandings in the future.
Nov 23 '08 #2
thanks YarrOffDoom :))
Nov 23 '08 #3
JosAH
11,448 Expert 8TB
@othello
Do you want to reverse the content of an array? What is the type of its elements? Are you talking about a C string or just an arbitrary array? Please elaborate a bit.

kind regards,

Jos
Nov 23 '08 #4
Expand|Select|Wrap|Line Numbers
  1. private void button1_Click(object sender, EventArgs e)
  2.         {
  3.  
  4.             int[] dizi = new int[10];
  5.  
  6.             for (int i = 1; i <= 10; i++)
  7.             {
  8.                 listBox1.Items.Add((i));
  9.             }
  10.             for (int i = 10; i >= 0; i--)
  11.             {
  12.  
  13.                 listBox2.Items.Add((i));
  14.             }
  15.         }
  16.     }
  17. }
we use 2 veriables)

and we enter values..
you understand?
Nov 23 '08 #5
JosAH
11,448 Expert 8TB
I'm sorry I still don't understand your problem. Can you find a friend who's command of the English language is a bit better so he can explain your problem for us?

kind regards,

Jos
Nov 23 '08 #6
as
Expand|Select|Wrap|Line Numbers
  1. 1
  2.  2
  3.  3
  4.  4
  5.  5
Expand|Select|Wrap|Line Numbers
  1. .                   5
  2.                    4
  3.                    3
  4.                    2
  5.                    1
but ı don't entered values(ERROR:: I Don't want auto values)
I MUST ENTER VALUES
Why change my code?
Expand|Select|Wrap|Line Numbers
  1. private void button1_Click(object sender, EventArgs e)
  2.         {
  3.  
  4.             int[] dizi = new int[10];
  5.  
  6.             for (int i = 1; i <= 10; i++)
  7.             {
  8.                 listBox1.Items.Add((i));
  9.             }
  10.             for (int i = 10; i >= 0; i--)
  11.             {
  12.  
  13.                 listBox2.Items.Add((i));
  14.             }
  15.         }
  16.     }
  17. }
Nov 23 '08 #7
NeoPa
32,556 Expert Mod 16PB
You have two ListBoxes.

It seems that you want the second ListBox to contain the same data as the first ListBox, but in reverse order. Is that correct?

You talk about entering the data. Does this mean that you want the operator to enter the data that is to go into ListBox1 (before it is then transferred to ListBox2 in reverse order)?

What system (language) are you using? Is it a .NET question? Or maybe a native C question?

If you can answer these questions it may be somewhat clearer for the experts trying to help you.

Welcome to Bytes!
Nov 24 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: sunaina | last post by:
This is the first program I am writing using PHP and Mysql. I am creating a game where user thinks of an object and my program guesses the object while asking series of yes/no questions. All a...
9
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
1
by: Mohammed Mazid | last post by:
Basically I want to store the answer of a single-choice question (where candidate selects one answer) and multiple-choice question (where candidate selects more than one answer). I would like to...
13
by: Chua Wen Ching | last post by:
Hi there, I saw this article here in vb.net. http://www.error-bank.com/microsoft.public.dotnet.languages.vb.1/148992_Thread.aspx and ...
28
by: Siv | last post by:
Hi, If I run the following: strSQL = "Select * FROM Clients;" da = New OleDb.OleDbDataAdapter(strSQL, Conn) 'Create data adapter cb = New OleDb.OleDbCommandBuilder(da) ...
5
by: Patrick.O.Ige | last post by:
I have an xml and i'm trying to loop each node... When i do FOR EACH i seem not to get my desired result I want to loop through and get only the values that matches the question i specified with...
16
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
0
by: Mike Collins | last post by:
I someone can please help, I am about at an end in trying to figure this out. I am adding some dynamic controls to my page (I found out that I was supposed to be doing that in the oninit event,...
1
by: TexCube | last post by:
Hello everyone, I have an urgent question. Can data be pulled from an access database table to create a directory that can be printed out and bound together? I need to have each row of a...
3
by: Perry Langla | last post by:
I can not seem to figure this out, please help. This program worked perfectly in Visual Studio 2003. The program gets the information from an Access Database. I am using OleDbSelectCommand to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.