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...
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...
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...
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...
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 "...
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...
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...
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()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.