That did it, something so simple to forget. Thanks
David Debreceni
Senior VB/ASP Developer
David_Debreceni@r... <mailto:David_Debreceni@r...>
xxx-xxx-xxxx x1086
-----Original Message-----
From: Teemu Keiski [mailto:wroxhelp@m...]
Sent: Wednesday, August 28, 2002 11:21 AM
To: ASPX_Professional
Subject: [aspx_professional] VS: Arraylist search
Have you sorted the array first before using binary search?
-------------------------
Teemu Keiski
Designer/Developer
Mansoft tietotekniikka Oy
Finland
-----Alkuperäinen viesti-----
Lähettäjä: Debreceni, David [mailto:david_debreceni@r...]
Lähetetty: 28. elokuuta 2002 18:07
Vastaanottaja: ASPX_Professional
Aihe: [aspx_professional] Arraylist search
Has anyone here tried to use the binarysearch of the arraylist? I can
not seem to get it to work on a consistent basis. Some times it will
find the element just fine, and others it says the index is negative
meaning it never found it. Any thoughts on this would be helpful, I
would hate to have to write a routine to do this, but that looks like my
only choice right now.
David Debreceni
Senior VB/ASP Developer
David_Debreceni@r... <mailto:David_Debreceni@r...>
xxx-xxx-xxxx x1086
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---