|
-
Mar 7th, 2009, 06:38 AM
#15
Re: [RESOLVED] Databound
 Originally Posted by chunk
but why it does not work
Code:
<asp:ListBox
id="ListBox1"
runat="server"
DataSourceID="SqlDataSource1">
</asp:ListBox>
just shows
System.Data.Common.DbDataRecord
in Listbox
Hey,
Have a look at the following:
http://msdn.microsoft.com/en-us/libr...77(VS.80).aspx
I believe you need to set the DataTextField and the DataValueField properties.
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|