If you don’t set data source to datalist1, it will show nothing in web page. To solve your problem, you should set a data source to your datalist and bind it as below.
If you have any question about this issue, please let me know.
Best Regards,
Fei Han
aspdatalist
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
None
0 Points
1 Post
DataList not displaying
Nov 11, 2014 10:55 AM|jamin_archaon|LINK
At a loss as to why my datalist isn't displaying even in debug, there is no data but the header and footers are not showing when I run.
Any ideas?
asp datalist
All-Star
40565 Points
6233 Posts
Microsoft
Re: DataList not displaying
Nov 12, 2014 02:52 AM|Fei Han - MSFT|LINK
Hi jamin,
Thanks for your post.
If you don’t set data source to datalist1, it will show nothing in web page. To solve your problem, you should set a data source to your datalist and bind it as below.
If you have any question about this issue, please let me know.
Best Regards,
Fei Han
asp datalist