Have a read up on the help file for the BoundField.DataFormatString property, which explains how to use rounded values for a currency.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
That's how any web development works (not just ASP.NET). The server only knows that they have timed out once a second request is made, it has no concept of what they are doing on the client after it sent them the last set of HTML.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information...
It's not a problem with "debug mode", it's a problem with how you've created your code to work from a real web server. I'm not sure what your ASP.NET or HTML code is though, so as a complete guess I'd say you aren't adding the correct file protocol to the URL.
Mark,
Darlington Web...
Try http://www.regexlib.com for help tuning whatever expression you've come up with so far...
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
Have a look at the HttpResponse.BinaryWrite method.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
You need to read up on some basic web principles as this is the expected behaviour. GET passes variables via the querystring (so you use Request.QueryString to access them), whereas POST passes them via a form (so you use Request.Form to access them).
Mark,
Darlington Web...
The main problem is there isn't a control on the page called LoginUser.
However, I'd also be concerned that displaying a list of usernames on a login page isn't deemed a security risk.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
Check http://www.connectionstrings.com/ to ensure you have the correct connection string. As long as the two servers can see each other (try pinging the sql server) then it should be ok.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
You will most likely already have everything necessary to connect to a sql server instance already installed onto your windows server. You will just need to change the connection string to wherever the database is located and you should be good to go. Have you already had an attempt to conenct...
You are missing single quotes, so your sql ends up looking for a column e.g.
SELECT * FROM ProductType where ProductType = Book
instead of
SELECT * FROM ProductType where ProductType = 'Book'
However, at a minimum, you should read up on why you need to use sql parameters, and also how to...
If you are using the built in validation controls, you will want to use a ValidationSummary control and there is an example on the MSDN page of how to use it.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
On the load of your page, get the values from the querystring and do with them whatever you need to do (i.e. put them in your database). You don't need to do anything else, it has already been ran "automatically".
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas &...
I'd have a read up on Regular Expressions, as you will need to use them to match (and replace) the relevant places in your html string. There are some examples here that demonstrate how to use them in asp.net.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas &...
No, it doesn't have to be the same as the one in the machine.config file. If you specify what to use in your web.config file then it will use that one instead (which means it would be fine when copying between servers).
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas &...
It's in the machine.config file, however it will be safer to just amend your web.config file as I suggested above rather than changing the machine one.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
You'll need to ensure that the machine keys are the same on both servers if you want to do this. I would specify the machine key in your web.config file so that you can be certain that the same one is used on both servers.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas &...
No, unless you format the number differently so that the add-in doesn't recognise it as a phone number.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
In that case, the System.Drawing.StringFormat class may help you.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
I think I'd go for having a scheduled task that is responsible for transferring the data over at regular intervals, unless you really need the data to be in real time in which case a web service on the ather machine may be a better option.
If they are both SQL Server databases, a SSIS task...
As stated above, this is not Internet Explorer that is doing this. Check your installed add-ins to find out what it is.
Mark,
Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
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.