how can i insert array values and retreive in asp.net
Answers were Sorted based on User's Feedback
Answer / 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 |
What is Forms Authentication in ASP.NET?
What are the various types of cookies in asp.net?
Which is better viewstate or session?
Way of updating a table other than stored procedure and hard coded query?
What does asp in asp.net stand for?
what is caching
• What Session State providers are available in ASP.NET? What are the pros and cons of each?
what is postback implementation?when pre-render event n init event is fired?
Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close()
The technical part was on ASP.Net only of web services.
What are PDBs? Where must they be located for debugging to work?
What is rending process in ASP.NET?
0 Answers Sans Pareil IT Services,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)