Insert Image into a Remote SQL

yefryjunior

Member
Licensed User
Longtime User
Hi guys..

I used this tutorial

http://www.b4x.com/forum/basic4android-getting-started-
tutorials/13166-connect-android-ms-sql-server-tutorial.html

I'm a beginner, sorry if this question is basic but now, I need to insert an image in a remote SQL. I'm using HttpUtils2, I can insert strings, but I don't know how insert the image.

In ASPNET code Need I to add more code?

Please your help because I'm on time, this is my final project from the university.

http://www.b4x.com/forum/images/smilies/sign0085.gif

Yefry

Regards from Peru
 

yefryjunior

Member
Licensed User
Longtime User
well, i need to insert image and string in a command

INSERT INTO Tabla1 VALUES ('Value01','Value02',IMAGE)

Please, your help
 
Upvote 0

yefryjunior

Member
Licensed User
Longtime User
Please,

Help me, any way or idea to insert a image and text into a remote SQL,

I'm using httputils2 and .aspx

I can't use HttpJob.PostFile because i need to insert text too

Yefry

Thanks a lot
 
Upvote 0

sktanmoy

Active Member
Licensed User
Longtime User
A possible way to convert the image into base64 string. You can find some discussions on it.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…