By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,684 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,684 IT Pros & Developers. It's quick & easy.

Array Question

P: n/a

....beginner question - looking for easily worded answer. ...working with VB.NET 2005

I need to define some type of array to store a row from a database. The row will contain a mixture of variable types - integer and
character, etc. I need the array to be available across all procedures on the page.

Can someone give me the syntax?

Thanks

Jeff


--
Posted via a free Usenet account from http://www.teranews.com

Aug 19 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Try to use an ArrayList. Search it for it

--
Tiago Salgado
Blog: http://weblogs.pontonetpt.com/tiagosalgado

On Sat, 19 Aug 2006 21:30:04 +0100, Jeff <no**@none.comwrote:
>
...beginner question - looking for easily worded answer. ...working
with VB.NET 2005

I need to define some type of array to store a row from a database. The
row will contain a mixture of variable types - integer and
character, etc. I need the array to be available across all procedures
on the page.

Can someone give me the syntax?

Thanks

Jeff


Aug 19 '06 #2

P: n/a
Hello Jeff,

You want a DataTable (which is an array of DataRows).

Look into: SqlConnection, SqlCommand, SqlDataAdapter, and DataTable, DataRow

-Boo
...beginner question - looking for easily worded answer. ...working
with VB.NET 2005

I need to define some type of array to store a row from a database.
The row will contain a mixture of variable types - integer and

character, etc. I need the array to be available across all procedures
on the page.

Can someone give me the syntax?

Thanks

Jeff

Aug 19 '06 #3

P: n/a
Jeff,

In addition to Boo, have a look at this.

http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252

I hope this helps,

Cor

"Jeff" <no**@none.comschreef in bericht
news:44***********************@free.teranews.com.. .
>
...beginner question - looking for easily worded answer. ...working with
VB.NET 2005

I need to define some type of array to store a row from a database. The
row will contain a mixture of variable types - integer and
character, etc. I need the array to be available across all procedures on
the page.

Can someone give me the syntax?

Thanks

Jeff


--
Posted via a free Usenet account from http://www.teranews.com

Aug 20 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.