how can i insert array values and retreive in asp.net
Answer Posted / senthil
Insert value into array
-----------------------
int[] a = new int[10];
for(int i=0;i<10;i++)
a[i] = i;
Retreive value from array
--------------------------
for (int i = 0; i < a.Length; i++)
Response.Write(a[i].ToString());
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
Why do we use sessions?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
Which class is used to send an email message from an ASP.NET Web page?
What is the difference between viewstate and hidden field in asp.net?
To redirect the user to another page which method do we use without performing a round trip to the client?
Explain the features that make asp.net more used framework? : asp.net mvc
How many validators do ASP.NET have?
Where sessions are stored?
Define web services in asp.net.
where can i gather the materials for MCP certification
Explain asp.net mvc request life cycle? : asp.net mvc
Explain what is clr?
What do you mean by marshalbyref?
If you want to write your own dot net language, what steps you will you take care?
What are the merits and demerits of viewstate?