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...
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...
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?
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...
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)
{...
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...
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.
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...
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 =...
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...
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.
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 "...
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.