473,507 Members | 2,374 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

format listbox

I wish to display the contents of a 2 dimentional array
I think i should use a list box. I wish the output of my array in the
form of 4 rows and 4 colms like a matrix. Can you post some code for
this?

0 0 0 0 1
0 0 1 0 0
0 0 0 0 0
1 0 0 1 0
Nov 20 '05 #1
1 1743
* B.Etienne <b.*******@ntlworld.com> scripsit:
I wish to display the contents of a 2 dimentional array
I think i should use a list box. I wish the output of my array in the
form of 4 rows and 4 colms like a matrix. Can you post some code for
this?

0 0 0 0 1
0 0 1 0 0
0 0 0 0 0
1 0 0 1 0


Use a ListView with 'View' set to 'Details' and subitems containing the
values.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
18141
by: Rookie | last post by:
I need to display several columns of numbers in a textbox. I wish to display the columns with the decimal point position aligned vertically. I have found that the # digit placeholders do not...
17
3089
by: amber | last post by:
Hello. Can someone tell me what I may be doing wrong here? I'm using the code (lboxRP is a listbox): Dim newRPindex As Integer newRPindex = Me.lboxRP.FindString(RP)...
6
2858
by: Chris Leuty | last post by:
I am populating a multiselect Listbox from a dataset, with the content of the listbox filled by one table, and the selections determined from another table. So far, I have been keeping the dataset...
7
4518
by: Dave | last post by:
Hi all, After unsuccessfully trying to make my own dual listbox control out of arraylists, I decided to look for a 3rd party control. I've looked for over a week now and can't find anything but...
4
1252
by: postings | last post by:
Hi I have a decimal numbers showing up on my datagrid that is displaying lots of trailing zeros in the listbox. i.e. 1.000100 or 1.000000 I want to get rid of all the trailing zeros (I...
1
5302
by: Hoffmania | last post by:
Hello, I am binding a DataSet to a listbox. This listbox is used to set the current binding for an appointment page. A problem I have is that there can only be one appointment per day and I...
4
460
by: bazzer | last post by:
i m trying to compare a time i have stored in a session variable, to a time of day: If (Session("theShowTime") < 18.0) Then .... basically i want to know if the time is before or after 6pm....
5
3862
by: sara | last post by:
I've looked at all the posts I could and don't see the solution. I am aware that the format to get a BLANK when the number is 0 is: $ #,###.00;($ #,###.00);"" But I can't, for the life of me,...
5
5350
by: StarryNight | last post by:
I hate doing this but I've tried for hours to solve this problem. I'm trying to format a listbox to show the number as currency. The list box is controled by a query. here is the code: SELECT...
11
5052
by: Mai Phuong | last post by:
Hi all, I have a page of aspx and a listbox. I want to format font for 3 last lines of my listbox with Bold Style by code. Notice that my lisbox has more than 3 lines, and I don't know exactly...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7485
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5042
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.