Hi Bonnie,
It was my fault. I confused the name of the variable to which the typed data set was assigned with the name of the data set class. I need to come up with a better system of naming the variables to avoid the confusion. Once I corrected my mistake, all works fine. And I use the method in the DAL ("borrowed" from Kevin Goff book) to fill the data set. It was a little confusing in the beginning as to why I need to use this method. I don't want to bore you (and others) what was confusing but now, I believe, I am clear on this.
Thank you.
>Not 100% sure, Dmitry (posting some code would help).
>
>
I added a Reference of the project that has typed data set (MyUIDataSets) to the UI project. But when I go to the UI form code and type the name of the MyUIDataSets project the intellisense does not show me the data set.>
>Does Intellisense show you *anything*? Perhaps you haven't defined your DataSet classes as public? Post some of the relevant code ... maybe we'll spot something obvious.
>
>~~Bonnie
>
>
>
>
>>Hi,
>>
>>How do I populate my typed data set from a stored procedure? Here is a summary of what I have:
>>
>>I have a typed data set in a project (e.g. MyUIDataSets) that has typed data sets (e.g. dsMyTable.cs)
>>
>>Now in a UI form I want to create an instance of this typed data set and call a DAL to populate this data set. But I don't know where to start. I believe I should be able to create an instance of the typed data set in LOAD method of the UI form (right?). But I have a problem with that. I added a Reference of the project that has typed data set (MyUIDataSets) to the UI project. But when I go to the UI form code and type the name of the MyUIDataSets project the intellisense does not show me the data set.
>>
>>What am I missing?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham