User Profile
Collapse
-
I test it,It works very vell,maybe you have other errors in other codes. -
Thanks for your answer.
But I have no other choices but for the "object".Becaus e the support type are the basic type such as int,byte,bool and so on.the only type for binary data is the "object".ye s,i can do it in the backend,but it require more writed-code by hand,and also can't use "<%#Bind('')%>" ....Leave a comment:
-
Error "beyond the limite of sql_variant DataType"
in order to upload image to database,i put a fileUpload control in the InsertItemTempl ate of the formView,the code as follows:and the FormView is bind to a sqlDataSource,p art of code in sqlDataSource isCode:<asp:FileUpload ID="FileUploadKeyImage" runat="server" FileBytes='<%# Bind("keyImage") %>' />
...Code:<asp:Parameter Name="keyImage"
Last edited by Curtis Rutland; Aug 19 '08, 01:17 PM. Reason: Added Code Tags - Please use the # button
No activity results to display
Show More
Leave a comment: