Buenas. De ese tutorial es de donde me estoy guiando pero tiene detalles como que el insert esta programado desde un dataset unido a un .bll.
 
Yo lo hice pero fue con una coneccion normal de un sqldatasource y el problema me viene en esta parte:
 
protected void Page_Load(object sender, EventArgs e) { 
int categoryID = Convert.ToInt32(Request.QueryString["CategoryID"]); 
// Get information about the specified category CategoriesBLL categoryAPI = new CategoriesBLL(); Northwind.CategoriesDataTable categories = categoryAPI.GetCategoryWithBinaryDataByCategoryID(  categoryID); Northwind.CategoriesRow category = categories[0]; 
// Output HTTP headers providing information about the binary data Response.ContentType = "image/bmp"; 
// Output the binary data 
// But first we need to strip out the OLE header const int OleHeaderLength = 78; int strippedImageLength = category.Picture.Length - 
OleHeaderLength; byte[] strippedImageData = new byte[strippedImageLength]; Array.Copy(category.Picture, OleHeaderLength, strippedImageData, 0, strippedImageLength); Response.BinaryWrite(strippedImageData); }
 
 
esta es la parte donde se complica la cosa:
 
 
int categoryID = Convert.ToInt32(Request.QueryString["CategoryID"]); 
// Get information about the specified category CategoriesBLL categoryAPI = new CategoriesBLL(); Northwind.CategoriesDataTable categories = categoryAPI.GetCategoryWithBinaryDataByCategoryID(  categoryID); Northwind.CategoriesRow category = categories[0]; 
 
 
por eso he estado buscando otra manera de guiarme.
 
gracias por responder. 
  
 

