Untitled
public text v1 · immutable int imageLen = Upload.PostedFile.ContentLength;
byte[] imageByte = new byte[imageLen];
Upload.PostedFile.InputStream.Read(imageByte, 0, imageLen);
// save imageByte into the ImageBinary column
// create a new Parameter for it
Parameter imageParam = new Parameter("ImageBinaryParam", TypeCode........);
imageParam.DefaultValue = imageByte;
this.dsDetail.InsertParameters.Add(imageParam);