Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: tiestoycc

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Get selected checkboxes rows in a xamDataGrid

    I am using .Net 3.5.

    I have a xamDataGrid2 which is dynamically populated using a DataTable. The DataTable has a column called "Select" which is of bool type and value is 0 for all the rows.
    ...
  2. JavaScript [RESOLVED] Using a variable for getElementById

    I have a checkbox that is being echoed by PHP. So, the id of the checkbox will be dynamic.

    So, I would like use a variable for document.getElementById().

    Below is my PHP code:


    echo...
  3. Replies
    0
    Views
    1,107

    PHP Using cURL to get content from an ASP page

    Hello, I have a PHP script that is using cURL to get content of another page. I am able to get the contents of other PHP pages, but not ASP pages.



    <?php
    $link = $_GET["link"];

    $get_data...
  4. Re: [MySQL - PHP] Deleting many rows in a large table

    Yea, Updates, Inserts and Selects are a lot faster than deletes. I can select hundreds of thousands of records in less than a second. But when it comes to deleting, it takes too long.

    No, there is...
  5. Re: [MySQL - PHP] Deleting many rows in a large table

    This is what I did:

    mysql> delete from user_table where username='john';
    Query OK, 203601 rows affected (6 min 6.88 sec)

    and the username column is indexed as well.

    We have 63 columns in...
  6. Re: [MySQL - PHP] Deleting many rows in a large table

    To delete like 100k records from 1million records will take more than 5minutes.

    Maybe I can look up on TableLock.

    I don't have any foreign keys or linked tables. This table is independent.
    ...
  7. Re: [MySQL - PHP] Deleting many rows in a large table

    Yea... I have a timestamp in the table.
    And the column is indexed too.
    However, it is still taking a long time to delete the records.
  8. [MySQL - PHP] Deleting many rows in a large table

    As the title suggest, I am using MySQL as my database and I would like to delete many rows (let's say 100k) in a large table (a few millions records). Users will select a date from when to when and...
  9. Replies
    1
    Views
    366

    Combining MySQL queries

    Hello, I have 2 queries that I will be running in my PHP script. The time it takes to run them are very long. I have a data of 1.8m rows in the table.
    So, I would like to know if it is possible to...
  10. Replies
    13
    Views
    6,540

    Re: PHP + JavScript + Ajax + MySQL Progress Bar

    Alright, thanks!

    Another thing, how can I make a script that will keep getting a request of how many queries have been done by the server? This is for me to update the progress bar to be shown to...
  11. Replies
    13
    Views
    6,540

    Re: PHP + JavScript + Ajax + MySQL Progress Bar

    I think I get it now. This is what I have done:



    $count=0;
    $file = fopen("test2.csv", 'r');
    while (($line = fgetcsv($file)) !== FALSE) {
    $name[$x] = $line[0];
    $addresses[$x] =...
  12. Replies
    13
    Views
    6,540

    Re: PHP + JavScript + Ajax + MySQL Progress Bar

    So, I would have to read the data in the file and put them in an array, then I'll have to loop through the array and query them into the database?

    But, what if there are a few columns? Each row...
  13. Replies
    13
    Views
    6,540

    Re: PHP + JavScript + Ajax + MySQL Progress Bar

    Sorry for the really late reply. There were more urgent things that I needed to deal with first.

    After I get the number of lines through the file() function, how would I be able to know how many...
  14. Replies
    13
    Views
    6,540

    Re: PHP + JavScript + Ajax + MySQL Progress Bar

    How will I know how many rows are there in a file? Should I make a function to read how many rows are there in the file and store it in a variable and then use it later on?

    Do you have any samples...
  15. Replies
    13
    Views
    6,540

    Re: PHP + JavScript + Ajax + MySQL Progress Bar

    Do you have any ideas or solutions for me to solve it? I'm kind of at a lost here right now.
  16. Replies
    13
    Views
    6,540

    PHP + JavScript + Ajax + MySQL Progress Bar

    Hello,

    I have a few questions on a module that I am trying to implement on my web.

    1. Is it possible to create a progress bar that display the progress of the queries? For example, I import a...
  17. Replies
    7
    Views
    4,267

    Re: Highlighting a word in a JTextArea

    oh yea! that's exactly what I needed! :D

    thanks again!
  18. Replies
    7
    Views
    4,267

    Re: Highlighting a word in a JTextArea

    that seems to be what I want to do, but it's not that much stuff.

    I tried with this:



    Scanner sc = new Scanner("Something int some integer some stuff and int and some more int with integer...
  19. Replies
    7
    Views
    4,267

    Re: Highlighting a word in a JTextArea

    Sorry for the double posts...

    Just another question... How do I make it to only highlight a particular word?

    For example, I want it to highlight "ump" which means that it will only highlight...
  20. Replies
    7
    Views
    4,267

    Re: Highlighting a word in a JTextArea

    Thanks, keang!

    It works like a charm! Cheers!
  21. Replies
    7
    Views
    4,267

    Highlighting a word in a JTextArea

    Hello, I am in need of a solution to solve a problem I am having right now.
    The problem is to highlight a word in a JTextArea.
    I am able to highlight a single character in the JTextArea by using...
  22. Replies
    14
    Views
    2,309

    Re: removing new line/line break

    Cool. Yea, that works too. Hahah... I thought I would have to like parse it or something, I guess not. Thanks!
  23. Replies
    14
    Views
    2,309

    Re: removing new line/line break

    Oh yes! It's working great now. This is all I needed:



    while ((strLine = br.readLine()) != null) {

    if (strLine.trim().length() != 0){
    ...
  24. Replies
    14
    Views
    2,309

    Re: removing new line/line break

    Hmmm... can you show me some examples or give me some samples or something? I still can't figure it out.
  25. Replies
    14
    Views
    2,309

    Re: removing new line/line break

    Okay. This is the file that I used as an input:



    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;

    public class p1 extends JFrame
    {
Results 1 to 25 of 40
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center