16,012,316 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by duaa20 (Top 6 by date)
duaa20
22-May-15 14:02pm
View
I update my post.
duaa20
22-May-15 13:30pm
View
sorry, this is the first time I post. yes, I have check the URL and I use the debugger and it take the URL but it doesn't display.
duaa20
22-May-15 12:45pm
View
this is my code
Imports System.Data.SqlClient
Imports System.IO
Imports System.Drawing.Image
Imports System.Data
Imports System.Web.UI.WebControls.Image
Imports System.Web
Imports System.Web.UI
Public Class _Default
Inherits System.Web.UI.Page
Public sqlcon As SqlConnection = New SqlConnection("server=.; database=batool; Trusted_Connection=yes;")
Public sqlcmd As SqlCommand
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Try
Dim picname As String
sqlcon.Open()
sqlcmd = New SqlCommand("select photo from qq", sqlcon)
Dim reader As SqlDataReader = sqlcmd.ExecuteReader
If reader.Read Then
picname = reader("photo")
Image1.ImageUrl = (picname)
End If
sqlcon.Close()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
End Class
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<asp:Button ID="Button1" runat="server" Height="50px" Text="Button"
Width="154px" />
<asp:Image ID="Image1" runat="server" imageurl="" Height ="100" Width="100" />
duaa20
22-May-15 11:15am
View
the problem is the image is not display
duaa20
22-May-15 11:14am
View
yes, I have check it and it has the full path but I don't know why it is not display
duaa20
22-May-15 11:13am
View
Deleted
yes, I have check it and it has the full path but I don't know why it is not display
Show More