now the system always prompts a error message about insert duplicate key into Sybase database.how can i prompt a message box instead of this error message when i insert duplicate key into sybase database table. any code can check what type of error then prompt different alert message.
I have Image Saved In a Folder I want that these images convert into Binary Form and their value gets stored in the Database ? How to convert them into Binary Form ?
i need a image control, who is able to convert the binary image data into image automatically, i find one which is paid control by telerik, but i need a freeware of it.
i have a requirement where i need to save image to database. Iam in confusion whether to save the path of image in database by saving the image in folder or to save the binary data of image to database.
If any user gives the information of his photo in binary objects how can i search it and how can i display the corresponding image that was stored in the sql database
I want to display image in detailview.. I used image datatype in the database instead of using varbinary. but the problem is.. detail view is not fetching the picture..
I've created 2 web user controls. A = User control that displays an image, and B is the user control that hosts A. I'm trying to stream an array of bytes to A, but it seems like the Response.BinaryWrite method completely overwrites any heirachial controls (I can't see any of B's other controls besides the image).
How do I get A to just display the image from the byte stream? It doesn't come from a database, it's an image I created on the fly.
i am currently facing some problem retrieving image for display on a gridview control. the Image data type in the data table is "image". the data that is stored inside the database is in this format "<Binary data>". may i ask if it is possible tojust retrieve a image data of this format and display in the gridview? or do i need to store the image in a image folder for retrieval?
I am getting the error: String or binary data would be truncated. The statement has been terminated. when trying to upload an image. What would cause this? my code is:
I am developing an application in which i have to store image in database SQL server2008. I want to use upload file control and only want to upload .jpg and JPEG file and view this image in image control . And when i want to update this record i can update that image too..
i have dataset containing multiple images in binary format,how i can use handler to display those images from dataset which i am having,without needing to pass id in query string to handler each time?
I'm having a hard time solving what should (I think) be an easy problem. I have a formview defaulting to Editmode. One of my data fields is a binary image. How can I change the editItem template to allow a user to upload a new image into the binary image field?
I have a web project and I saved my images in Physical folders in hdd Like d:SecretImagesImagename. But I can't open the files when I have to? I thought if it can saves for examle d:SecretImagesTemp.jpg, I can open when I have to but, I can't.
I have a coloumn in a database table in which i am storing the candidates photo in a binary format.
now i have to show these photo in a gridview according to the candidates rollno. i am trying to use the imagefield of a gridview control to display the photo but it is not displaying the photo in a grid view
Or must it be a SQL Server database? If I'm reading the documentation right, as long as I use Entity Framework and not Linq to SQL, I can go against a Sybase data source. But I'm not certain...