15,893,594 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 Python 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 lisalis (Top 8 by date)
lisalis
23-Dec-13 14:20pm
View
Can you send me more information>
lisalis
18-Jan-13 13:05pm
View
Thank you so much for your help. It is working.
lisalis
18-Jan-13 13:01pm
View
if i enter the value like this; it is not working
<input type="text" value="Enter APN or Address here" name="identifytext" id="identifytext" class="text ui-widget-content ui-corner-all" style="color:#2E6E9E;width:220px;height:25px;z-index:500"></input>
lisalis
10-Jan-13 17:57pm
View
I got it now. Thanks for your reply.
lisalis
10-Jan-13 17:49pm
View
If i am sending the parameter Username in URL; it is working fine. if i am not what to do? thanks for your reply soon
lisalis
21-Aug-12 17:16pm
View
I want to encode the actual image.
lisalis
11-Jun-12 16:07pm
View
I am getting an version error. i am not able to attache the databases.
lisalis
16-May-12 15:29pm
View
Hi Marcus thanks for your reply.
My interface part is
[OperationContract]
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "{DataBaseName}/{TableName}/UploadImages?ID={ID}")]
bool UploadImage(string DataBaseName, string TableName, int ID, Stream ImageStream);
My Implement part is
public bool UploadImage(string ServiceName, string TableName, int ID, Stream ImageStream)
{
try
{
byte[] Picture= InsertImage(ImageStream);
my connectionstring and mysql command here(insert Upload image to the DB)
.....
}
public static byte[] GetImage(Stream ImageStream)
{
BinaryReader reader = new BinaryReader(ImageStream);
byte[] photo = reader.ReadBytes((int)ImageStream.Length);
reader.Close();
ImageStream.Close();
return photo;
}
Show More