By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,033 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

Displaying result set using a data grid

P: 8
Hi,


I have a result set, which is in the form of a list of strings. I want to display it on the application using a gridview. If i bind the list as a source for the gridview, the result is displayed as the length of each string.

Can you help me out here. Its not necessary that i display it in the gridview itself. It should be shown on the application after the operation, thats it
Sep 14 '07 #1
Share this Question
Share on Google+
2 Replies


VBPhilly
P: 95
Hi,


I have a result set, which is in the form of a list of strings. I want to display it on the application using a gridview. If i bind the list as a source for the gridview, the result is displayed as the length of each string.

Can you help me out here. Its not necessary that i display it in the gridview itself. It should be shown on the application after the operation, thats it
correct me if i'm wrong but you have a list of strings (presumably from a Listbox control), that you need to bind to a gridview?
Sep 14 '07 #2

P: 8
correct me if i'm wrong but you have a list of strings (presumably from a Listbox control), that you need to bind to a gridview?


I have a list of strings (List(Of String) ). And i need to bind to a gridview. I'm doing this

Expand|Select|Wrap|Line Numbers
  1. gridview.DataSource = stringList

But I'm getting only string lengths instead of the content.
Sep 18 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.