Search results for query: *

  1. I

    Answered Five records to display on the label sequentially

    Hi, I have a table, datagridview and a label on my form. I need to display five records on my label one by one with 2 segunds of interval between them. How can I do? ID | each_number __________________ 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5...
  2. I

    Running a simple loop for displaying and saving once

    Big Sorry. I do have forgot something very important. When I said that there is no need displaying into textbox. Its should be. You know why? Because the operations are: 1) Start reading record one by one (for example, after displaying the first record into texbox. The value that appear on the...
  3. I

    Running a simple loop for displaying and saving once

    Very good question. With this question I am glad that you are trying to understand me now. Yes, let's forgot the displaying into textbox. Then how to do rightly the rest of codes?
  4. I

    Running a simple loop for displaying and saving once

    Fine. But maybe I do explain wrong myself. What I wrote is here. Even it's a big mess its works as a loop (starting from the first datagrid's row until the latest one). Just to let's understand what I need to do. Even like that these should be correctly professionally. Using two separated...
  5. I

    Running a simple loop for displaying and saving once

    Ok, I am wrong yes. That why I need a solution. But no one are interested to help correcting my codes.
  6. I

    Running a simple loop for displaying and saving once

    Okay, Thank you.
  7. I

    Running a simple loop for displaying and saving once

    What I wrote is here. Even it's a big mess its works as a loop (starting from the first datagrid's row until the latest one). Just to let's understand what I need to do. I have two buttons (1 and 2). //Into the Button1: private void button1_Click(object sender, EventArgs e) {...
  8. I

    Running a simple loop for displaying and saving once

    Ok, Thanx. But next couple of hours I will show you what I wrote as code to make my understanding more clear.
  9. I

    Running a simple loop for displaying and saving once

    It's a good question. But my problem is I need to use two separated table (1 and 2). The first one displaying record one by one from the first until the last one. While Displaying each one and saving each data into table2. That why you see two textboxes from table1. It's very important this...
  10. I

    Running a simple loop for displaying and saving once

    Yes, It's really looks like other thread from a few months ago. Its mine! I do try to resolv it in another way. But no solution. That why I do post another one that I am still struggling with until NOW.
  11. I

    Running a simple loop for displaying and saving once

    Hi, I have one table and two tools: “TblCompany” “txtAccountNumber” “btnRun” My table looks like this: ID | Account | Name 1 5.6 Selling 2 3.5 Bying 3 1.4 Mobile I wrote some codes that make a normal and simple filter. The...
  12. I

    How to remove last word separated by a dot (...)

    It's true. I had thinking a lot how to resolv it. That why I went to the Net to find if can I have some solutions. Then I found out these codes. Anyway I do resolv it by myself like this. Maybe can help anyone in the same situation. private string strcut(string str) { string[] a =...
  13. I

    How to remove last word separated by a dot (...)

    Hi, My codes need some corrections. I have into my textbox numbers separated by dot (for example: 1.5.6.7), then I need to remove the last number with the dot before (for example colored in red: 1.5.6.7) . Curiosly its works ONLY separating by space not by dot (for exampe: 1 5 6 7). This number...
  14. I

    Display before any row using "Button"

    I am Can you correct my codes please. I would like to see these codes working as i am expecting to...
  15. I

    Display ONLY the first record of datagrid from textbox on click

    Thank you very much...
  16. I

    Display before any row using "Button"

    Thanx to respond to me. But my intent is just to display the row before any row. Why? Just because I already wrote others codes that will target on the first row after a filter for example. Then its will display the before one.
  17. I

    Display before any row using "Button"

    Hi, I was writing these codes to display the before any row. For example: Samia Alam Shell Then when I click on "Shell" its display on textbox "Alam". If I click on "Alam" its display "Samia". These codes work perfetly using the datagrid. How can I do using Button. private void...
  18. I

    Display ONLY the first record of datagrid from textbox on click

    Hi, I wrote these codes to display the LAST row ONLY. Then how can I display ONLY the first row from textbox one click. private void button_Click(object sender, EventArgs e) { string commandString = "select top 1 * from Test where name='" + txtNumber.Text "...
  19. I

    How to make a simple loop until last record

    Okay, anyway thank you very much for your support. I do resolv it in another way.
Back
Top Bottom