|
by: TT ( Tom Tempelaere ) |
last post by:
Hi
At one point in my application I have a single ArrayList object that I need to break up in two Arraylist objects: the beginning part up to an index, and the ending part from a certain index. I am now using ArrayList.GetRange but the documentation states that this method does not create new ArrayList objects but views into the source ArrayList object
ArrayList original
// ..
ArrayList l1 = original.GetRange( 0, count )
ArrayList l2 =...
|
by: SpotNet |
last post by:
Hi NewsGroup;
Trying to construct a Multidimensional (2D more specifically) populated from
an OleDbDataReader. Reason I'm using an ArrayList is I do not know the size
of the first dimension (being rows), here's my final attempt below;
System.Collections.ArrayList GetDataMatrix = New
System.Collections.ArrayList; //Let's just say 10, 3
Keeping it brief and simple excuse the syntax,
|
by: Daves |
last post by:
is it possible? if so - how would you do it?
|
by: stigbn |
last post by:
When a DataSet is used as data source for a DataGrid one can get
hiearachical datagrid by using relations among the DataTables of the
DataSet. (By hierarchical datagrid, I mean columns that can be expanded
and collapsed with '+' buttons).
How can I achieve a hierarchical DataGrid when using an ArrayList as
data source?
I have tried binding ArrayList containing an ArrayList to the datagrid,
but this just shows the public properties of...
|
by: Sam |
last post by:
Hi,
I have the following code :
Dim rNodeList As New ArrayList
Dim rNodeListNew As New ArrayList
For iCntr As Integer = 0 To tvRelations.Nodes.Count - 1
rNodeList.Add(tvRelations.Nodes(iCntr).Text)
Next
|
|
by: lgbjr |
last post by:
Hi All,
I have 10 arraylists in a VB.NET app. Based on the state of various
checkboxes and radiobuttons, a set of data is read into these arraylists. I
don't know how many of the arraylists will be used until runtime. what I'd
like to do is something like this:
Dim AL1 as New ArrayList
...
Dim AL10 as New ArrayList
|
by: GTi |
last post by:
If I use:
ArrayList TimeScale = new ArrayList();
TimeScale.Capacity = 1000;
TimeScale="test 1"
The last line trow me an error:
Index was out of range. Must be non-negative and less than the size of
the collection.
Parameter name: index
|
by: vbnewbie |
last post by:
I need to create a number of arraylists at run time.
The number of arraylists to be created is unknown at design time.
The name of the first newly created arraylist is the first element of
an array, NameArray (a Publicly declared array with an unknown number
of elements at design time).
The name of the second newly created arraylist is the second element of
NameArray, etc
Problem 1:
How can I retrieve that name from NameArray and...
|
by: wbosw |
last post by:
I have a Arraylist (SearchSkillsArray) that contains objects. I want to place those objects into a listbox. Here i'm using get enumerator to loop through the arraylist and add the objects to the listbox. I'm receiving the error Conversion from type 'SkillSearch' to type 'String' is not valid. Does anyone have any suggestion to fix this error?
Thanks,
wbosw
SearchSkillsArray.Add(SkillSearch)
...
|
by: gvi |
last post by:
Hello everybody,
Here is the scenario
I am calling a webservice which is returning an object type. I need to bind that to the datagrid. So I thought I would ctype the object type to arraylist but I got the error message 'Specified cast not valid'
I am not sure if I am approaching this in the correct way. Could you pls. help me out ?
Thanks
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|