Click here to Skip to main content
15,886,873 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: datagrid-direction Pin
luckyve16-Feb-07 20:34
luckyve16-Feb-07 20:34 
QuestionUser can circumvent the Security Pin
kjosh16-Feb-07 8:35
kjosh16-Feb-07 8:35 
AnswerRe: User can circumvent the Security Pin
Michael Sync16-Feb-07 21:36
Michael Sync16-Feb-07 21:36 
Questionweb developer server to IIS Pin
arunkamath16-Feb-07 7:22
arunkamath16-Feb-07 7:22 
AnswerRe: web developer server to IIS Pin
Marcus J. Smith16-Feb-07 7:59
professionalMarcus J. Smith16-Feb-07 7:59 
QuestionRegular Expression Problem Pin
adnanrafiq16-Feb-07 7:20
adnanrafiq16-Feb-07 7:20 
AnswerRe: Regular Expression Problem Pin
ednrgc16-Feb-07 9:20
ednrgc16-Feb-07 9:20 
GeneralRe: Regular Expression Problem Pin
adnanrafiq16-Feb-07 9:40
adnanrafiq16-Feb-07 9:40 
Questionasp.net & Oracle Pin
aransiola16-Feb-07 6:14
aransiola16-Feb-07 6:14 
AnswerRe: asp.net & Oracle Pin
sathesh pandian19-Feb-07 23:25
sathesh pandian19-Feb-07 23:25 
QuestionApplication settings in constructor Pin
mail57235216-Feb-07 5:31
mail57235216-Feb-07 5:31 
AnswerRe: Application settings in constructor Pin
kubben16-Feb-07 6:00
kubben16-Feb-07 6:00 
AnswerRe: Application settings in constructor Pin
badgrs16-Feb-07 6:01
badgrs16-Feb-07 6:01 
AnswerRe: Application settings in constructor Pin
thowra16-Feb-07 7:52
thowra16-Feb-07 7:52 
Questionhow to create a link in a grid view's each row to navigate to some other page Pin
theprofound16-Feb-07 4:25
theprofound16-Feb-07 4:25 
AnswerRe: how to create a link in a grid view's each row to navigate to some other page Pin
badgrs16-Feb-07 4:49
badgrs16-Feb-07 4:49 
AnswerRe: how to create a link in a grid view's each row to navigate to some other page Pin
-Dr_X-16-Feb-07 5:04
-Dr_X-16-Feb-07 5:04 
GeneralRe: how to create a link in a grid view's each row to navigate to some other page Pin
badgrs16-Feb-07 5:30
badgrs16-Feb-07 5:30 
QuestionDisplay excel files in web browser Pin
venkatasivaramaprasad15-Feb-07 23:41
venkatasivaramaprasad15-Feb-07 23:41 
AnswerRe: Display excel files in web browser Pin
Michael Sync15-Feb-07 23:50
Michael Sync15-Feb-07 23:50 
AnswerRe: Display excel files in web browser Pin
Sylvester george15-Feb-07 23:59
Sylvester george15-Feb-07 23:59 
hi,

this is the code to do that, Dont forget to score it if it satisfies your need.


FileStream fileStream = new FileStream("c:\\Admin.xls", FileMode.OpenOrCreate, FileAccess.Read);

long len;

len = fileStream.Length;

Byte[] fileAsByte = new Byte[len];

fileStream.Read(fileAsByte, 0, fileAsByte.Length);


Response.Clear();
Response.ClearContent();
Response.ClearHeaders();

Response.Buffer = true;
Response.ContentType = "application/vnd.ms-excel";
Response.BinaryWrite(fileAsByte);
Response.End();


Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com

GeneralRe: Display excel files in web browser Pin
venkatasivaramaprasad16-Feb-07 1:37
venkatasivaramaprasad16-Feb-07 1:37 
GeneralRe: Display excel files in web browser Pin
venkatasivaramaprasad16-Feb-07 1:41
venkatasivaramaprasad16-Feb-07 1:41 
GeneralRe: Display excel files in web browser Pin
Sylvester george16-Feb-07 1:46
Sylvester george16-Feb-07 1:46 
QuestionVisual Studio 2003 - setup and deployment project Pin
micutzu15-Feb-07 22:46
micutzu15-Feb-07 22:46 

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.