Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ca8msm

    SQL Rounded Numbers

    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
  2. ca8msm

    Forms Authentication

    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...
  3. ca8msm

    Debug mode works - but normal browsing fails

    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...
  4. ca8msm

    regular expression

    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
  5. ca8msm

    FTP import in pure code?

    Have a look at the HttpResponse.BinaryWrite method. Mark, Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
  6. ca8msm

    HTTP Post Integration

    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...
  7. ca8msm

    Membership Login Control with Drop-Down Not Working!

    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
  8. ca8msm

    how to connect to remote sql server database

    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
  9. ca8msm

    how to connect to remote sql server database

    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...
  10. ca8msm

    Searching a database with an input field

    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...
  11. ca8msm

    Validation summary

    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
  12. ca8msm

    HTTP Post Integration

    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 &...
  13. ca8msm

    Need to manipulate stream I'm reading before displaying on the page

    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 &...
  14. ca8msm

    Encryption Web.config file

    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 &...
  15. ca8msm

    Encryption Web.config file

    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
  16. ca8msm

    Encryption Web.config file

    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 &...
  17. ca8msm

    how to remove smart tags from web page - it things my nbr is a phone

    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
  18. ca8msm

    Center-aligning text using system.drawing in a given space.

    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
  19. ca8msm

    xmlhttprequest or ?

    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...
  20. ca8msm

    how to remove smart tags from web page - it things my nbr is a phone

    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

Part and Inventory Search

Back
Top