Created
February 26, 2022 11:40
-
-
Save corespider/f32421ea3e7e995d0aedd8dfbe83305a to your computer and use it in GitHub Desktop.
How to Bind Array to GridView in ASP.Net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//One Dimensional Array | |
string[] arr1D = { "Ram", "John", "Stewart", "Sham", "Tod", "Bryan" }; | |
gridView1.DataSource = arr1D; | |
gridView1.DataBind(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment