Click here to Skip to main content
16,005,491 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionuploading the file Pin
sridevi1428-Dec-06 19:57
sridevi1428-Dec-06 19:57 
AnswerRe: uploading the file Pin
Arindam Tewary28-Dec-06 21:11
professionalArindam Tewary28-Dec-06 21:11 
GeneralRe: uploading the file Pin
prolibertine29-Dec-06 3:53
prolibertine29-Dec-06 3:53 
Questionhow to dynamically adding rows in html table ? Pin
Tridip Bhattacharjee28-Dec-06 19:32
professionalTridip Bhattacharjee28-Dec-06 19:32 
AnswerRe: how to dynamically adding rows in html table ? Pin
Arindam Tewary28-Dec-06 20:18
professionalArindam Tewary28-Dec-06 20:18 
AnswerRe: how to dynamically adding rows in html table ? Pin
Arindam Tewary28-Dec-06 21:23
professionalArindam Tewary28-Dec-06 21:23 
Questionhow could i directly attach any output stream content to placeholder control or image control in asp.net? Pin
Tridip Bhattacharjee28-Dec-06 19:32
professionalTridip Bhattacharjee28-Dec-06 19:32 
Questionhow to render a image in aspx page in it's original size?? [URGENT] Pin
Tridip Bhattacharjee28-Dec-06 19:31
professionalTridip Bhattacharjee28-Dec-06 19:31 
i wrote a code which basically read a TIFF file and on fly it converts TIFF file to GIF and then render the GIF file to aspx page.
my code is working fine but it does not open in its original size.when image is render in aspx page then a symbol is coming
and when i click on that in IE browser then my image shows in its original size.so i want to know how could i write a code
as a result from the begining the image render in its original size.pls guide me with sample code

here i am giving my small code which basically read a TIFF file and on fly it converts TIFF file to GIF and then render the GIF file to aspx page.


string FName=Request.PhysicalApplicationPath +"Images\\Tridip.TIF";
bool fFound=false;
byte[] b1=null;
if(File.Exists(FName))
{
MemoryStream stream = new MemoryStream ();
fFound=true;
System.IO.FileStream fs1=null;
fs1=System.IO.File.Open(FName,FileMode.Open,FileAccess.Read);
b1=new byte[fs1.Length];
fs1.Read(b1,0,(int)fs1.Length);
Bitmap bitmap = new Bitmap (fs1);
Response.ContentType = "image/gif";
bitmap.Save (Response.OutputStream, ImageFormat.Gif);
fs1.Close();
}
else
{
fFound=false;
}



tbhattacharjee

Questionwhat is the difference btn callback() and Ispostback() Pin
sridevi1428-Dec-06 19:17
sridevi1428-Dec-06 19:17 
AnswerRe: what is the difference btn callback() and Ispostback() Pin
Arindam Tewary28-Dec-06 19:47
professionalArindam Tewary28-Dec-06 19:47 
GeneralRe: what is the difference btn callback() and Ispostback() Pin
sridevi1428-Dec-06 19:53
sridevi1428-Dec-06 19:53 
QuestionTree View control Pin
diya_dev28-Dec-06 19:04
diya_dev28-Dec-06 19:04 
QuestionHow to upgrade a .dll file in vb.net Pin
dotnethunk28-Dec-06 19:01
dotnethunk28-Dec-06 19:01 
AnswerRe: How to upgrade a .dll file in vb.net Pin
diya_dev28-Dec-06 19:07
diya_dev28-Dec-06 19:07 
GeneralRe: How to upgrade a .dll file in vb.net Pin
dotnethunk28-Dec-06 19:15
dotnethunk28-Dec-06 19:15 
GeneralRe: How to upgrade a .dll file in vb.net Pin
diya_dev28-Dec-06 21:01
diya_dev28-Dec-06 21:01 
GeneralRe: How to upgrade a .dll file in vb.net Pin
dotnethunk29-Dec-06 2:37
dotnethunk29-Dec-06 2:37 
Questionexternal debugger window Pin
kannan m28-Dec-06 18:55
kannan m28-Dec-06 18:55 
QuestionHow can I find time that it is taking Pin
indian14328-Dec-06 17:45
indian14328-Dec-06 17:45 
AnswerRe: How can I find time that it is taking Pin
Not Active28-Dec-06 18:15
mentorNot Active28-Dec-06 18:15 
AnswerRe: How can I find time that it is taking Pin
Arindam Tewary28-Dec-06 19:09
professionalArindam Tewary28-Dec-06 19:09 
QuestionBulk insert from asp.net 2005 to oracle Pin
montu337728-Dec-06 16:44
montu337728-Dec-06 16:44 
AnswerRe: Bulk insert from asp.net 2005 to oracle Pin
Vikram kshatriya28-Dec-06 18:25
Vikram kshatriya28-Dec-06 18:25 
GeneralRe: Bulk insert from asp.net 2005 to oracle Pin
Arindam Tewary28-Dec-06 19:20
professionalArindam Tewary28-Dec-06 19:20 
GeneralRe: Bulk insert from asp.net 2005 to oracle Pin
montu33772-Jan-07 6:05
montu33772-Jan-07 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.