Hi,
What is the wrong of my code below the image dont display.Another question is ,It is posible to ugrade my Visual Studio .Net 2001 Enterprise edition to Visual Studio .Net 2003 but in Professional Edition. Many of my Windows Applicaction is backend with MSSQL and using Crystal Report? Professional edition have a Crystal Report?

//*****************************
byte[] Photo = null;
stsqcon.OpenSqlConnectionST();
SqlDataReader dreader;
dreader = SelectTable.GetAttachPict();
dreader.Read();
//Photo =(byte[])dreader["logo"];

//Stream myStream = new MemoryStream(Photo, true);

//myStream.Write(Photo, 0, Photo.Length);
// pb[index].Image = new Bitmap(myStream);


CrystalReport2 report=new CrystalReport2();
//crystalReportViewer1.Visible=true;
DataSet ds=new DataSet("table1");//give same name as on
//dataset1 table header
DataTable table=new DataTable("table1");//give same name as on
//dataset1 table header
//p.Image = new Bitmap(myStream);
table.Columns.Add("test1",typeof(System.String));
table.Columns.Add("test2",typeof(System.String));
table.Columns.Add("test3",typeof(System.String));
table.Columns.Add("test4",typeof(Byte[]));
for (int i =0;i< 10;i++){
DataRow row=table.NewRow();
row["test1"]="Mathew"; // string
row["test2"]="Hayden"; //string
row["test3"]="5000$"; // string
row["test4"]= (Byte[])dreader["logo"]; // base64binary
// add to table
table.Rows.Add(row);
}
ds.Tables.Add(table);
// set report's dataset
report.SetDataSource(ds);
// set report source
crystalReportViewer1.ReportSource =report;