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
Explain what is clr?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Explain about secure socket layer?
How you will manage the state of ASP.NET controls?
What are cookies in asp.net?
Which is better union or union all?
What is server side routing?
What is ispostback property?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
What is anonymous authentication?
What are the uses of list view control in Asp.net?
What is the difference between user control and custom control?
What parameters can you pass in the url of the api? Can get and post use the same url?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
What is the life cycle of an asp.net page?