or
<
telerik:RadBinaryImage
runat
=
"server"
ID
=
"RadBinaryImage1"
DataValue='<%#Eval("Front_Image") %>'
AutoAdjustImageControlSize="false" Height="355px" Width="700px" ToolTip="Front Image"
AlternateText='<%#Eval("Front_Image", "Photo of {0}") %>' >
</
telerik:RadBinaryImage
>
<
asp:SqlDataSource
ID
=
"SqlDataSourceImage"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:ChequeViewConnectionString %>" SelectCommand="SELECT Front_Image FROM [Transactions]">
</
asp:SqlDataSource
>
below is also the code used in saving the image
System.IO.FileStream fs = new System.IO.FileStream(filepath, System.IO.FileMode.Open);
byte[] imageAsBytes = new byte[fs.Length];
fs.Read(imageAsBytes, 0, imageAsBytes.Length);
fs.Close();
SqlConnection conn = new SqlConnection(strconnection);
conn.Open();
SqlCommand cmd = new SqlCommand("INSERT INTO Transactions(Front_Image) VALUES (@Front_Image)", conn);
cmd.Parameters.AddWithValue("@Front_Image", imageAsBytes);
cmd.ExecuteNonQuery();
conn.Close();
any help as to what is wrong.
thanks
<telerik:RadScriptManager runat=
"server"
ID=
"RadScriptManager"
/>
<telerik:RadTileList runat=
"server"
ID=
"RadTileList1"
TileRows=
"1"
Skin=
"Glow"
ScrollingMode=
"None"
EnableDragAndDrop=
"true"
>
<Groups>
<telerik:TileGroup>
<telerik:RadContentTemplateTile CssClass=
"tileContent"
Shape=
"Wide"
Height=
"250px"
BackColor=
"#00899E"
>
<ContentTemplate>
1. <a href=
"This'>http://www.inszoom.com/"
>This is a test message (Jon Doe) </a>
<br />
2. Send the files for this client (H1B - Will Smith)
<br />
3. Bill this client (ABC Corporation)
</ContentTemplate>
<Title Text=
"Test links"
></Title>
<Badge Value=
"5"
/>
</telerik:RadContentTemplateTile>
</telerik:TileGroup>
</Groups>
</telerik:RadTileList>
1.
<
rewrite
>
2.
<
rules
>
3.
<
rule
name
=
"Convert to lower case"
stopProcessing
=
"true"
>
4.
<
match
url
=
"[A-Z]"
ignoreCase
=
"false"
/>
5.
<
action
type
=
"Redirect"
url
=
"{ToLower:{URL}}"
/>
6.
</
rule
>
7.
</
rules
>
8.
</
rewrite
>