How do you bind array to gridview? Will it works?

Answer Posted / mallu

Dim i As Integer
Dim fib(10) As Integer

fib(0) = 1
fib(1) = 1

For i = 2 To 10
fib(i) = fib(i - 1) + fib(i - 2)
Next

Me.grdResults.DataSource = fib
Me.grdResults.DataBind()

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the media types of http requests and response?

508


What is http request and response?

531


What is cookies cache and session?

540


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

3403


What is the namespace to create thread in .net?

525






Is asp.net core faster?

540


How do you create a master page?

554


Can you dynamically assign a Master Page?

585


What are the advantages of passport authentication?

513


Explain the concept of MVC Scaffolding?

589


Explain swagger components.

563


Define resource files.

561


Explain how cookies work. Give an example of cookie abuse.

715


How can you access the properties and controls of master pages from content pages?

516


What is custom events?

565