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
List the types of authentication supported by asp.net?
Why session is used in asp.net?
How many types of sessions are there in asp net?
Explain the advantages of caching?
What is the part of url?
What do you understand from custom control?
What is session object? Describe in detail.
What is the difference between adding reference in solution explorer and adding references by using ?
What is asp.net localization?
How to register exception filter globally?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
Explain about asp.net caching?
What is the difference between user control and custom control?
How can you handle errors in Web API?
Define satellite assemblies.