Hi @peter liles ,
You can try setting parameters in an update event.
Maybe you can provide detailed error messages and codes.
https://learn.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.sqldatasource.updating?redirectedfrom=MSDN&view=netframework-4.8
private void sqlDataSource_Updating(object sender, SqlDataSourceCommandEventArgs e)
{
e.Command.Parameters["File"].Value = bytes;
}
Setting the update parameter type as Object
<UpdateParameters>
<asp:Parameter Name="File" Type="Object" />
</UpdateParameters>
Best regards,
Youqi
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.