Search

You searched for the word(s): userid:637154

Matching Posts

  • Re: money format ..need some help..please

    Oaky, I was correct, the problem was in the database. The fields in question on the working table were 'money' and the same fields in the non-working table were 'float'. The instant I changed over to 'money', the web pages formatted perfectly. There is an interesting sideline to this. In the beginning all state tables were identical, and the database itself was hosted on remote servers in Dallas, Texas in the USA. The database is now hosted on remote servers in Sydney, Australia and when the databse
  • Re: money format ..need some help..please

    Yes I did. I just did a character by character study of two similar pages. The first page is for one State the next page for a different State. Every single character is identical. Therefore I have no option to conclude that there must be some fundamental change in the SQL database tables themselves. each State has it's own table. I will go in and make sure that each field is set to exactly the same data type. If there is any other possibility that you can think of, please let me know. I am certain
  • Re: money format ..need some help..please

    mbanavige: < asp:GridView ID= "GridView1" runat= "server" AutoGenerateColumns= "False" > < Columns > < asp:BoundField DataField= "Price" DataFormatString= "{0:c}" HtmlEncode=False HeaderText= "With Currency Symbol" /> </ Columns > </ asp:GridView > Hi Mike, What would cause a page with say ten colums, all formated in the same manner, to only have five colums display currency correctly and the remainder to just be numbers? I have this weird scenario going on and it is
  • Re: Upload image script not working

    Ah that is perfect, thank you very much Raymond, you nailed it. I appreciate your help, all the best for now.
    Posted to Web Forms (Forum) by Tailwag on 1/15/2007
  • Re: Upload image script not working

    Raymond Wen - MSFT: Hi, 1) sPath.Substring((sPath.Length - 1)) is a char, so it should be compared to a char '\\', not a stri ng "\\" the correct one: sPath.Substring((sPath.Length - 1)) != '\\' 2) <hr> can't be put inside a <p> tag. Hope it helps. Hello Ray, I can't see how your code was diffrent than mine, but put yours in and got this error message. Whatever it is that is wrong, is only a keystroke away from being correct, but I can't find it, here is the error message when I copy
    Posted to Web Forms (Forum) by Tailwag on 1/14/2007
  • Upload image script not working

    G'day, I have an image upload script below, that just seems to be flawed, perhaps because it was originally a VB script and code which I converted to C#. Perhaps some parts never made the converion completely. Here is the code, a summary of the bugs is underneath: <%@ Page Language="C#" Debug="true" %> <script runat='server'> void DoUpload(object Sender, System.EventArgs e) { string sPath; string sFile; string sFullPath; string[] sSplit; string sPathFriendly; sPath = Server.MapPath("downloads
    Posted to Web Forms (Forum) by Tailwag on 1/13/2007
  • Re: Tricky validation question

    sarvesh.hbti: Raymond Wen - MSFT: Hi, this can be implemented with javascript. When select an item in a dropdownlist, remove the current selected item form other dropdownlists, and add the prevoious selected item back to other ddls. Here is an artilce about how to use javascript to manipulate ddl. http://www.quirksmode.org/js/options.html Hope it helps. Ray's suggestion of removing the selected item in first from 2nd drop down can be achieved from code. 1. Populate the 2nd drop down on selection
    Posted to Web Forms (Forum) by Tailwag on 1/12/2007
  • Re: Tricky validation question

    mbanavige: For detailed instructions on adding a reference, check out this link. http://msdn2.microsoft.com/en-us/library/ms379606(vs.80).aspx#usingcsharpexpress_topic4 The bookmark in the link should bring you directly to the pertinent section of the article. The reference you need to add is to a .NET assembly named System.Drawing.dll Firstly Mike, thank you for your persistance, as we say downunder, 'You are good people'. Okay, I got it working and want to show exactly what I did to get it working
    Posted to Web Forms (Forum) by Tailwag on 1/11/2007
  • Re: Tricky validation question

    mbanavige: The Drawing namespace comes from System.Drawing.dll. Make sure you have a reference to it. System.Drawing.Color.White Sorry Mike, I tried several times to do that in what I thought would work, but got different error messages. here is my code behind code, in total, where would the reference go? using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System
    Posted to Web Forms (Forum) by Tailwag on 1/9/2007
  • Re: Tricky validation question

    mbanavige: change this: Hashtable currentSelections = System.Collections.Specialized.CollectionsUtil.CreateCaseInsensitiveHashtable; to this: Hashtable currentSelections = System.Collections.Specialized.CollectionsUtil.CreateCaseInsensitiveHashtable(); Amazing, okay I did that, which solved that part ok, but got a hickup about drawing the color: Compiler Error Message: CS0103: The name 'Drawing' does not exist in the current context Source Error: Line 16: Hashtable currentSelections = System.Collections
    Posted to Web Forms (Forum) by Tailwag on 1/9/2007
Page 1 of 14 (135 items) 1 2 3 4 5 Next > ... Last »