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
How ASP.NET page works?
How does u get record no from 5 to 15 from a dataset of 100 records?
How can we inherit a static variable?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
Will the asp.net validators run in server side or client side?
Difference between Response.redirect vs server.transfer?
How many types of controls are there in asp.net?
What is difference between asp.net and asp?
Describe the differences between the lifecycles of Windows services and Standard EXE?
Explain in what order a destructors is called.
Which is better union or union all?
Is it possible for me to change my aspx file extension to some other name?
how to transfer the file from client to server using asp.net
What are the different validators in asp.net?