Click here to Skip to main content
15,891,864 members
Home / Discussions / C#
   

C#

 
QuestionRead the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
josephx2k723-Nov-07 11:20
josephx2k723-Nov-07 11:20 
AnswerRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
DaveyM6923-Nov-07 11:46
professionalDaveyM6923-Nov-07 11:46 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? [modified] Pin
josephx2k724-Nov-07 1:26
josephx2k724-Nov-07 1:26 
AnswerRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
SABhatti23-Nov-07 11:53
SABhatti23-Nov-07 11:53 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
Anthony Mushrow23-Nov-07 12:40
professionalAnthony Mushrow23-Nov-07 12:40 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
SABhatti23-Nov-07 14:07
SABhatti23-Nov-07 14:07 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
Anthony Mushrow23-Nov-07 14:08
professionalAnthony Mushrow23-Nov-07 14:08 
QuestionStrange problem with display time Pin
andredani23-Nov-07 9:50
andredani23-Nov-07 9:50 
I all. I have a strange case with display timer
my code look like this:

Timer myTimer = new Timer();

public static int nr = 1;
private void button1_Click(object sender, EventArgs e)
{
myTimer.Interval = 1000;
myTimer.Enabled = true;
myTimer.Start();
myTimer.Tick += new EventHandler(myTimer_Tick);
}
void myTimer_Tick(object sender, EventArgs e)
{
string a = "";
int tid1 = 0;
int tid2 = 0;
a = label21.Text;
tid1 = Convert.ToInt32(a);
tid2 = (int)tid1 - nr;
label21.Text = tid2.ToString();
}
But if i click on a stop button with:(myTimer.Stop()), then when i press on play button again the string (nr) has change to 2 and next time 3
How do i make this work??

Anyone with a good idea??

Tnx!!!

AnswerRe: Strange problem with display time Pin
Rei Miyasaka23-Nov-07 13:22
Rei Miyasaka23-Nov-07 13:22 
AnswerRe: Strange problem with display time Pin
zafersavas23-Nov-07 23:09
zafersavas23-Nov-07 23:09 
QuestionGUI Form Exception when running C# form on Mono Pin
DigiOz Multimedia23-Nov-07 6:49
DigiOz Multimedia23-Nov-07 6:49 
AnswerRe: GUI Form Exception when running C# form on Mono Pin
Kristian Sixhøj23-Nov-07 6:57
Kristian Sixhøj23-Nov-07 6:57 
AnswerRe: GUI Form Exception when running C# form on Mono Pin
Anthony Mushrow23-Nov-07 7:45
professionalAnthony Mushrow23-Nov-07 7:45 
GeneralRe: GUI Form Exception when running C# form on Mono Pin
DigiOz Multimedia23-Nov-07 12:18
DigiOz Multimedia23-Nov-07 12:18 
AnswerRe: GUI Form Exception when running C# form on Mono Pin
DigiOz Multimedia23-Nov-07 17:04
DigiOz Multimedia23-Nov-07 17:04 
Questiondynamically address class vairables [modified] Pin
shwaguy23-Nov-07 6:09
shwaguy23-Nov-07 6:09 
AnswerRe: dynamically address class vairables Pin
Mustafa Ismail Mustafa23-Nov-07 6:28
Mustafa Ismail Mustafa23-Nov-07 6:28 
AnswerRe: dynamically address class vairables Pin
Luc Pattyn23-Nov-07 6:35
sitebuilderLuc Pattyn23-Nov-07 6:35 
GeneralRe: dynamically address class vairables Pin
Mustafa Ismail Mustafa23-Nov-07 8:33
Mustafa Ismail Mustafa23-Nov-07 8:33 
GeneralRe: dynamically address class vairables Pin
Luc Pattyn23-Nov-07 8:57
sitebuilderLuc Pattyn23-Nov-07 8:57 
GeneralRe: dynamically address class vairables Pin
Mustafa Ismail Mustafa23-Nov-07 10:04
Mustafa Ismail Mustafa23-Nov-07 10:04 
QuestionSerialDataReceivedEventArgs does not fire Pin
stevenlberntsen23-Nov-07 5:55
stevenlberntsen23-Nov-07 5:55 
QuestionDB Table Exsits Pin
half-life23-Nov-07 5:48
half-life23-Nov-07 5:48 
AnswerRe: DB Table Exsits Pin
SABhatti23-Nov-07 11:56
SABhatti23-Nov-07 11:56 
GeneralRe: DB Table Exsits Pin
half-life24-Nov-07 0:52
half-life24-Nov-07 0:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.