Dynamic Array in ASP.net

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
 
J

John Saunders

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,089
Latest member
Ketologenic

Latest Threads

Top