Array Question

  • Thread starter Thread starter Tiago Salgado
  • Start date Start date
....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
 
Hello Jeff,

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

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

-Boo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top