J
Jordi Maicas
Hi!!
I'm doing a form to make a login, so, user and pass.... and so on.
The problem is that first of all, I check how many records are in the table,
and later I would like to make a do/while. With count it shows always '0'
records, and there's 1 record.
I've got a dataset called usuarios, and with:
int numero;
numero = usuarios.Tables.Count;
Form1 formulario1=new Form1();
formulario1.Show();
IT shows a message like this: The name 'numero' does not exist in the
curent context.
And I don't understand...
Furthermore, in the Form1, I'm doing the same with other table, and it works
fine.
I'm doing a form to make a login, so, user and pass.... and so on.
The problem is that first of all, I check how many records are in the table,
and later I would like to make a do/while. With count it shows always '0'
records, and there's 1 record.
I've got a dataset called usuarios, and with:
int numero;
numero = usuarios.Tables.Count;
Form1 formulario1=new Form1();
formulario1.Show();
IT shows a message like this: The name 'numero' does not exist in the
curent context.
And I don't understand...
Furthermore, in the Form1, I'm doing the same with other table, and it works
fine.