Finding Table Name in Programatically created Dataset

  • Thread starter Thread starter Usman Ghani
  • Start date Start date
U

Usman Ghani

HI All,

I used to drag drop Datasets and adapters etc, and once dataset is
filled, I can count rows in a dataset as
datasetname.tablename.rows.count
I started doing all this programatically, now when I write
datsetname...... nothing appears?

Any one can help me pls?

Thanks in advance,

Best Regards,

Usmna
 
Usman Ghani said:
I used to drag drop Datasets and adapters etc, and once dataset is
filled, I can count rows in a dataset as
datasetname.tablename.rows.count
I started doing all this programatically, now when I write
datsetname...... nothing appears?

Maybe you should insert an "a":

datasetname


If it's only a typo:
Do you type the name in the same class? Is the dataset still visible in the
designer? Is it the correct name? Are there compile errors that make it
impossible for the IDE to offer intellisense? Did you disable intellisense?
 
no dataset is not visible in the designer mode as it has not been
created using drag drop.

Best Regards,

Usman Ghani
 
Hi Usman,

When you see it in on your form, you see the internal name of that created
xsd dataset.

The xsd has an external name

If there is no dataset you can generate it using a rightclick on the
dataadapter on the form (after that you did configure that datadapter)

I hope this helps?

Cor
 
Usman Ghani said:
no dataset is not visible in the designer mode as it has not been
created using drag drop.

I read "I used to drag drop Datasets and adapters etc". That's why I asked.
Now I saw that you changed this.


And the other questions?
 
Thanks for your reply, true, I can do this and this what I am doing but
what I do want to do is to create dataset programatically which may
behave like the manually created one.

Best Regards,

Usman Ghani
 
Back
Top