By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,543 Members | 2,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,543 IT Pros & Developers. It's quick & easy.

Finding Table Name in Programatically created Dataset

P: n/a
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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"Usman Ghani" <us***@gulfnetksa.com> schrieb

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?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

P: n/a
no dataset is not visible in the designer mode as it has not been
created using drag drop.

Best Regards,

Usman Ghani

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3

P: n/a
Cor
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
Nov 20 '05 #4

P: n/a
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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #5

P: n/a
"Usman Ghani" <us***@gulfnetksa.com> schrieb
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?
--
Armin

Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.