Search results for query: *

  • Users: Israel
  • Content: Threads
  • Order by date
  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

    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...
  3. 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...
  4. 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...
  5. 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 "...
  6. I

    How to make a simple loop until last record

    Hi, I would like to do a Loop with these codes. But I need to explain very well what I try to do. On my form I have a Datagrid, one TextBox and a Button I have a table name “Test”with a 2 columns (Company_name and Company). This table have 5 records After displaying each “Company” its should...
  7. I

    Repeated sqlparameter's values not allowed. How to resolv?

    Hi, How can I write correctly codes that values are repeated in the second piece of codes? Why I am asking this question? Just because there are some parameters's values underlined (showing that some values are repeated). But its the real column's name. For example these two pieces codes are...
  8. I

    The name “x” does not exist in the current context

    Hi, I wrote these codes because I need to make a condition (as you can see). But Its sturks where its highlighted. Means giving this error message : using System; using System.Windows.Form namespace WindowsFormsApplication4 { public partial class Form1 : Form { public Form1()...
Back
Top Bottom