I have an asp.net page that dumps html data into an Excel file by changing the contentType header to ms/excel. Unfortunately all the £ signs in my text come out as £.
Does anyone have any ideas on how to stop this?
Cheers
I normally use IIS 5 , but I have had to install my .net application on an IIS6 server. I have managed to get it working but none of my client side validators seem to work.
Does anyone have any idea why?
I have a table with three fields An ID field, a parent ID field and a title field. The table stores the staff hierarchy. So the values are like
1|null| Director
2|1| First Sub Director
3|2| Second Sub Director
4|1| First sub director PA
And so on.
I need to convert this flat table into a...
Thanks ca8msm
If the session is stored on the server then that’s good enough for me. I had seen somewhere (and since lost) on the web a code sample where an object was placed in the cache with a session id, and I couldn’t fathom why.
Thanks for all your help
Hello,
I have created a class for storing and changing data; it is similar in design to a shopping basket. Most of my users are read-only and will therefore not need to use this class, so it is only users who have logged in (about 20%). Each logged in user will need to insatiate one. I have a...
How I solved it.
After a successful login I set session variable. The time out of my security and session is the same. In the session variable is a string saying “To view the page you must have a permission level above” and then the users level.
When my login page is loaded I set a labels text...
Thank you for your post, but unfortunately I cannot access that resource from work (don’t ask bleeding techs). I have set up all the role-based security and it all works my problem is this.
I have three pages A B C and we will say two users X Y. X can see ABC and Y can see AB and everyone can...
I have just spent two days setting up role based security in for my site and it works, but I have a small problem.
In my system I have four levels of user and I am handling the permissions through the web.config file. When a user logs in and then tries to load a page they don't have the right...
What is the most efficient way to load an XML document from a string?
The only way I can find is by using the loadXML() method of the XmlDocument(), is there a better way?
Thanks for any help.
a custom function
function addItem(varNo , varText)
{
var myBox = document.getElementById("lbCom");
var newOp = new Option(varText,varNo);
myBox.add(newOp, myBox.length);
}
The javascript adds them to the box , or at least it shows them.
The reason im working like this is because im using a...
Just a quick and simple question, but I cannot find the answer.
I have an empty list box web control on an aspx page. I use javascript on the client side to add items to it but when I post back to the server I cannot see them and items .count is returning 0 .
What am I doing wrong?
Cheers for...
I Think all my expressions are passing 0.0.0 as true becuase it finds 0.0 in it once. Anybody know how to fix it I need an exact match and my RegEx are not my greatest.
I wish I could download it, but security is too high on my workstation. I will try to get hold of it but in the meantime im afraid I will need some more suggestions as I only have vis studio 2k3 in front of me at the moment.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.