How do you bind array to gridview? Will it works?
Answer Posted / senthilselvan
int[] arr = { 1, 2, 3, 4, 5, 6, 7, 8 };
GridView1.DataSource = arr;
GridView1.DataBind();
try this.
| Is This Answer Correct ? | 24 Yes | 5 No |
Post New Answer View All Answers
What are client activated objects and server activated objects?
What is the difference between session and application?
Can you explain one critical mapping?
How do you design a website with multilingual support in ASP.NET ?
How to you can limit Access to Web API to Specific HTTP Verb?
What is the caspol.exe tool used for?
Explain the difference between Web Garden and Web Farm?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?
Why Unload event of MasterPage Calls first in ASP.net ?
Is a dll file an executable?
What is state management technique?
What are the different methods of session maintenance in asp.net?
Where is the view state data stored?