Click here to Skip to main content
15,901,205 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Check installed software Pin
N a v a n e e t h17-Jan-08 21:38
N a v a n e e t h17-Jan-08 21:38 
Questionmessage box problem Pin
Pankaj Garg17-Jan-08 3:07
Pankaj Garg17-Jan-08 3:07 
GeneralRe: message box problem Pin
Vasudevan Deepak Kumar17-Jan-08 4:18
Vasudevan Deepak Kumar17-Jan-08 4:18 
GeneralChaging UI on different occasions Pin
King Shez17-Jan-08 3:07
King Shez17-Jan-08 3:07 
GeneralRe: Chaging UI on different occasions Pin
Vasudevan Deepak Kumar17-Jan-08 4:19
Vasudevan Deepak Kumar17-Jan-08 4:19 
GeneralRe: Chaging UI on different occasions Pin
Paddy Boyd17-Jan-08 5:30
Paddy Boyd17-Jan-08 5:30 
Questionscript manager error Pin
Pankaj Garg17-Jan-08 2:58
Pankaj Garg17-Jan-08 2:58 
GeneralRetrieving Images in DataList Pin
Aigreen17-Jan-08 2:43
Aigreen17-Jan-08 2:43 
Help! I am a beginner in ASP.NET.
I have this code below to display images from my SQL Database to my ASP.NET website. But still wont work. What did I miss? Can someone please help me sort this?
Your help is greatly appreciated. Thanks. Wink | ;-)
==========================

<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" RepeatColumns="4" RepeatDirection="Horizontal" DataKeyField="imgData">
<ItemTemplate>
<asp:Label ID="EmployeeNameLabel" runat="server" Text='<%# Eval("EmployeeName") %>'>
</asp:Label><br />
Department:
<asp:Label ID="DepartmentLabel" runat="server" Text='<%# Eval("Department") %>'>
</asp:Label><br />
<asp:Image ID="Image1" runat=server ImageUrl='<%# Eval("imgData", "{0}") %>'/>
</ItemTemplate>
</asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MYSQL%>"
SelectCommand="SELECT [EmployeeID], [EmployeeName], [Department], [imgData] FROM [tblStaff]">
</asp:SqlDataSource>

aigreen.net
QuestionRe: Retrieving Images in DataList Pin
Pankaj Garg17-Jan-08 2:49
Pankaj Garg17-Jan-08 2:49 
GeneralRe: Retrieving Images in DataList Pin
Aigreen17-Jan-08 2:56
Aigreen17-Jan-08 2:56 
GeneralRe: Retrieving Images in DataList Pin
Pankaj Garg17-Jan-08 2:59
Pankaj Garg17-Jan-08 2:59 
GeneralRe: Retrieving Images in DataList Pin
Aigreen17-Jan-08 3:07
Aigreen17-Jan-08 3:07 
GeneralRe: Retrieving Images in DataList Pin
Pankaj Garg17-Jan-08 3:10
Pankaj Garg17-Jan-08 3:10 
Questionsql server 2000 dsn Pin
Pankaj Garg17-Jan-08 2:01
Pankaj Garg17-Jan-08 2:01 
Questioncrystal report formula field Pin
Pankaj Garg17-Jan-08 1:56
Pankaj Garg17-Jan-08 1:56 
QuestionAutoincrement column Pin
mpavas17-Jan-08 1:54
mpavas17-Jan-08 1:54 
GeneralRe: Autoincrement column Pin
Not Active17-Jan-08 2:16
mentorNot Active17-Jan-08 2:16 
GeneralRe: Autoincrement column Pin
mpavas17-Jan-08 2:28
mpavas17-Jan-08 2:28 
GeneralRe: Autoincrement column Pin
Not Active17-Jan-08 2:50
mentorNot Active17-Jan-08 2:50 
Questionerror in my vb.net application Pin
Ravi_2117-Jan-08 1:18
Ravi_2117-Jan-08 1:18 
GeneralRe: error in my vb.net application Pin
dilipv17-Jan-08 21:39
dilipv17-Jan-08 21:39 
GeneralEnumurate Datagrid Rows [modified] Pin
danasegaranea17-Jan-08 0:57
danasegaranea17-Jan-08 0:57 
GeneralRe: Enumurate Datagrid Rows Pin
Paddy Boyd17-Jan-08 1:37
Paddy Boyd17-Jan-08 1:37 
GeneralUnauthorisation error... Pin
koolprasad200316-Jan-08 22:50
professionalkoolprasad200316-Jan-08 22:50 
Questionhow to create print command in list view control Pin
Ravi_2116-Jan-08 22:40
Ravi_2116-Jan-08 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.