I have created a table in sql with columns username,password and image with datatype string,string,image.so,now iam not able to insert image into image column.how can i perform this operation.
View Complete Post
I pretty much want to display an image and then somehow overlap that image with gridlines...but the thing is, I need to be able to select one or more of those cells in each of the grids when I mouse drag so then when I click a cell in the gridline, I can
find out which cell I am at that I've set up. What's the easiest way to do this?
Hi, I am trying to figure out how to get fresh photo album. I am able to upload pictures to the database and display them(using handler & listview), but when I go to create a new album it shows the previously uploaded pictures of the first one. In the database it shows a new ImageAlbumID so it is creating a new album, but just shows the old pictures of previously created albums. I want just a blank page with the AjaxUploader. Any help would be appreciated, thanks Jake
Here is the code:
<%@ Page Title="" Language="VB" MasterPageFile="~/masterpages/postmaster.master" AutoEventWireup="false"
CodeFile Creating TreeView with loading image I have created one treeView which is loading node dynamically (populateondemand ). its working perfectly fine. But I want to show loading when its populating node from client view. Note : - Only on click of image of the Tree view should display loading ..Please give some code example.
I have created one treeView which is loading node dynamically (populateondemand ). its working perfectly fine. But I want to show loading when its populating node from client view.
Note : - Only on click of image of the Tree view should display loading ..
Please give some code example.
I'm trying to save two images to the DB, the original image and a thumbnail of the original.
But all I'm getting is a black image :/I'm also trying to keep the proportions of the original image when creating the thumbnail, and I hope I'm right.
System.Drawing.Image img = System.Drawing.Image.FromStream(FileUpload1.PostedFile.InputStream);
decimal w = img.Width, h = img.Height;
int newHeight = 0;
// Keep proportions of thumbnail if width is above 120px
if (img.Width > 120) newHeight = (int)((w / h) * 120); else newHeight = img.Height;
System.Drawing.Image thumb = new System.Drawing.Bitmap(120, newHeight);
MemoryStream ms = new MemoryStream();
Byte bytesThumb = ms.ToArray();
Stream fs = FileUpload1.PostedFile.InputStream;
BinaryReader br = new BinaryReader(fs);
Byte bytes = br.ReadBytes((Int32)fs.Length);
sqlParam = cmd.Parameters.Add("@thumb", SqlDbType.VarBinary, -1);
sqlParam.Value = bytesThumb;
sqlParam = cmd.Parameters.Add("@data", SqlDbType.VarBinary, -1);
sqlParam.Value = bytes;
i want to convert an image to a data structure(graph) can any one has an idea how to do this
I have created the SP(InsertImageLibrary) for storing image dynamically via sql 2008 table called tbl_mImageLibrary.
But here am troubled by getting error like "Excepted string or text in the line13". code given below.
So can any one please help on this regard,..