Dynamic Array in ASP.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear All,

Actually I am want to make a function which will take a list of ID numbers
retrieved from the database and diplayed their details on the web page.On
the Web Page I have a textbox and a button. So in the textbox i should be
able to type ID numbers like 1,2,3,4,5... and when I press button. It should
show me all the details of IDs which have been passed in the TEXTbox.
Any idea how it will work. The only idea I have in mind is Dynamic Array.
But dont know how to write it.Below is my function:

public string GetEventDetails(???????)

Any help would be greatly appreciated.

cheers,
Sunil Sabir
 
Sunil Sabir said:
Dear All,

Actually I am want to make a function which will take a list of ID numbers
retrieved from the database and diplayed their details on the web page.On
the Web Page I have a textbox and a button. So in the textbox i should be
able to type ID numbers like 1,2,3,4,5... and when I press button. It
should
show me all the details of IDs which have been passed in the TEXTbox.
Any idea how it will work. The only idea I have in mind is Dynamic Array.
But dont know how to write it.Below is my function:

public string GetEventDetails(???????)

Any help would be greatly appreciated.

Dim ids() as String = txtInputIds.Text.Split(","c)

Then ids will be an array of strings of the correct length.

John Saunders
 
Back
Top