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
A Web Service Can Only Be Written In .net. Is it True??
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
What is difference between cookies and cache?
How to Insert/Add in ASPXgridview
Is it possible to create web application with both webforms and mvc?
What is the use of web.config and machine.config files?
Is it true that a Web service must be written in .NET or not?
What are the new data controls in asp.net 2.0?
Are xaml file compiled or built on runtime?
What is page fragment caching?
Who can consume WebAPI?
what are the security certificates used in webservices?
What do you mean by serialize and marshalbyref?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
Describe how passport authentication works.