如何在ie中打开.dwg文件
我用以下的代码想用ie直接打开一个.dwg文件为什么不行
Response.ContentType ="application/octet-stream";
FileStream fs22 = new FileStream("e:\\aa\\"+this.Label2.Text, FileMode.Open);
int l = (int)fs22.Length;
byte[] file = new byte[l];
fs22.Read(file, 0, l);
Response.OutputStream.Write(file, 0, l);
fs22.Close();