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 Chriss Miller 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. proximity

    Capture a specific value from Multi-Line Text box (asp.net, C#)

    Hi, thanks for getting back. Yes, as soon as the 1000001 is entered I imagine it will click a hidden button to call the on_click event?
  2. proximity

    Capture a specific value from Multi-Line Text box (asp.net, C#)

    How can I detect a value in a multi-line text box then run some code based on the result? EG: Text Box has these values: 123456 123457 123458 123459 1000001 When the user enters the value 1000001, I want it to call some code. Thanks.
  3. proximity

    Check GridView and play sound if result is zero!

    Hi, yes, the link you provided was similar to my problem. In the end, however, I solved it by thinking outside the box! Briefly, I created two html files with html5 audio clips in them - one for 'on' and one 'off'. In the aspx page, I dropped in two iFrame tags at the bottom of the page. In the...
  4. proximity

    Check GridView and play sound if result is zero!

    Hi, I have an asp.net C# web site and in one of the pages I have a grid view that returns some results and fires a warning sound if the result = 0 (see below): if (gvScnResults.Rows.Count == 0) { SoundPlayer PlaySound = new...
  5. proximity

    Trigger submit button on multi line textbox condition (ASP.NET, C#)

    Hi, thanks for the response. I had a nagging feeling that JQuery would be the way to go . . . . . it certainly seems impossible in .net. Looks like I have some reading up to do as JQuery is not my bag!
  6. proximity

    Trigger submit button on multi line textbox condition (ASP.NET, C#)

    Hi . . . here's an interesting puzzle! I have a multi line text box: <asp:TextBox ID="txtData" runat="server" TextMode="MultiLine" /> Now, suppose a user enters the following: 123456 123457 123458 123459 222111 END As soon as the user types in END, how do I get it to trigger a Submit button...
  7. proximity

    If statement, scanner input and conditional validation!

    Hi, I am using Asp.Net 4, C# and MySQL for a task scanning project. Everything works, except I cannot figure out what to do with the else bit! I have a text box that takes input from a barcode scanner. When the data is received, a TextChanged event calls the code below: protected void...
  8. proximity

    Check file exists conundru

    Hi, Here is one I am not sure about . . . or rather, can't figure out how to handle it using FileExists!!! My files look like this: prtx010.prtx010.0199.E7.352.23444151 I want to check a directory for any files that are 36 characters long with E1 to E9 in its name. Any ideas how I can...
  9. proximity

    Import to MySQL via a loop (ASP.NET C#)

    Hi, I solved it using your pointer. Here is my code for anyone else having a spot of bother. What it will do is loop through the directory for all the required files, load into temp table, run a stored procedure to process the data and drop it into a normalized table, then delete the original...
  10. proximity

    Import to MySQL via a loop (ASP.NET C#)

    Hi, I have a directory with a load of files in it, with each file named E_1, E_2, E_3 etc. There will never be more than 10 files. Now, I want a user to click a button that will do the following to each file. So, do E_1, then delete it, do E_2 then delete it etc . . . . //open the...
  11. proximity

    Retain form value but reset query to null for next input . . . .

    Hi, thanks for the replies . . . . What I mean is that user, say, enters 123456 in text box. This then gets sent to the database, record 123456 is retrieved and displayed in the form (no data is being stored, just retrieved). Once the record is retrieved, I want the retrieved record to remain...
  12. proximity

    Retain form value but reset query to null for next input . . . .

    It's likely the postback that is the problem . . . . if I clear the text box on page_load, it also clears the results from the form, which is not the behaviour I want: I want the results to stay put - but the text box to clear.
  13. proximity

    Retain form value but reset query to null for next input . . . .

    Hi, Here's is something which sounds so simple to do . . . . but is proving a mega headache. In a nutshell, I have a text box box and an asp:net form on a web page (C#). A user types in a value and presses the enter or return key. This then sends the user entered value to the database (stored...
  14. proximity

    Calendar Control to Filter GridView . . .

    Hi - thanks for the replies: they pointed me in the right direction. What I did was have a text box and a calendar icon. Click the icon, calendar opens. Choose date, it goes to the text box and that feeds the filter. Works nicely.
  15. proximity

    Calendar Control to Filter GridView . . .

    Hi, I want to filter records in a grid view using the calendar control . . . . I can get it to work using a text box, but using the calendar is totally eluding me :( Any assistance will be greatly appreciated . . . If it helps, the date (REPOT_DATE) is returned like this example: 23-11-2012...
  16. proximity

    Tricky file rename in C#

    Thanks very much, ralphtrent. I altered you example a little to produce the desired results and it works brilliantly: DirectoryInfo di = new DirectoryInfo(@"\\hs001ftp01-01\ftp\distribution\reports\prod\ADMI"); DirectoryInfo di2 = new...
  17. proximity

    Tricky file rename in C#

    Hi, I have a directory containing numerous files which I want to rename. The files are always 40 characters in length. Example files: prtx010.prtx010.0199.126291.351.03053254 prtx010.prtx010.0199.336760.335.16530215 This part of the filename is always the same: [highlight...
  18. proximity

    populating with previous records

    Hi, Many thanks for your reply, but it did not quite work as I wanted. Please find below a better description of my requirement: Table B is the same as Table B, with Table B representing what the results should be. So, every time there is a null in A, it gets populated with whatever the...
  19. proximity

    LOAD DATA LOW_PRIORITY LOCAL INFILE - Using A Wildcard?

    Thanks for the reply, but I'm afraid running the command line client is not possible, in this case. I need to use something like TOAD or any other client into which I can simply type in the SQL and get the results!
  20. proximity

    LOAD DATA LOW_PRIORITY LOCAL INFILE - Using A Wildcard?

    Hi, I am required to load some text files using LOAD DATA ETC into a db. So far, so easy. However, what I want to know is whether it is possible to import the file using a wildcard? My file name will always take the format below and will always be the same length. However, everything about the...

Part and Inventory Search

Back
Top