|
Re: help with headers
10/30/2009 3:19:17 PM
(Total replies: 1)
|
| I added it, but I keep getting the error "fileBytes" does not exists in the current context. this makes since, so I tried in many different ways to declare a file...
<br />
<br />
File fileBytes = new File();
<br />
File fileBytes;
<br />
<br />
I'm not quite sure at what to do at this point. I'm still hitting google pretty hard. |
|
|
|
Re: help with headers
10/30/2009 3:22:12 PM
(Total replies: 1)
|
| I also tried...
<br />
<br />
String fileBytes;
<br />
<br />
It's says...
<br />
<br />
"No overload method "write" takes "1" arguments. |
|
|
|
Re: help with headers
10/30/2009 3:30:25 PM
(Total replies: 1)
|
| Oh sh*t, I think I just realized how many things are missing from this. (This is my first time using headers. I just realized it probably needs a dataSource to read from for one thing.) |
|
|
|
|
|
|
|
|
|
help with headers
10/6/2009 4:36:36 PM
(Total replies: 1)
|
| Hi everybody,
<br />
<br />
I am trying to create a button for a web application that exports tables from a database to a excel file that can be open or saved from the site.
<br />
<br />
I've been told using headers is a good way, and the necessary header information has been provided.
<br />
<br />
header('Pragma: public');
<br />
header('Cache-Control: must-revalidate,post-check=0,pre-check=0');
<br />
header('Content-Type: application/vnd.ms-excel');
<br ... |
|
|
|
Re: help with headers
10/7/2009 1:59:02 PM
(Total replies: 1)
|
| Thanks!
<br />
<br />
I will definitely give and a go! |
|
|
|
Re: help with headers
11/13/2009 3:59:20 PM
(Total replies: 0)
|
| I found an article on the website that I used to do this for dot net 2.0.
<br />
<br />
Hope this helps
<br />
<br />
http://www.c-sharpcorner.com/UploadFile/DipalChoksi/exportxl_asp2_dc11032006003657AM/exportxl_asp2_dc.aspx |
|
|
|
Login requiring 5 clicks when published?
11/12/2009 3:49:23 PM
(Total replies: 1)
|
| Before I publish, my login.aspx page works just fine. After publishing though it seems to take 5 clicks before redirecting.
<br />
<br />
the login button .cs
<br />
<br />
protected void funLogin()
<br />
{
<br />
if (LDAPAuthentication())
<br />
{
<br />
panLogin.Visible = false;
<br />
panLoggedIN.Visible = true;
<br />
lblMessage.Text = "";
<br />
... |
|
|
|
|