Everything looks ok in the *.cs file....the "GetUserLogin" table that is
shown below, from the dsUserData.cs file, is the one that is not showing up
in the referenced DataSet....Even if I delete the DataSet and re-create
it...the table below is not a part of the DataSet....could it be cached
somewhere else??
protected dsUserData(SerializationInfo info, StreamingContext context) {
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["GetUserAddress"] != null)) {
this.Tables.Add(new GetUserAddressDataTable(ds.Tables["GetUserAddress"]));
}
if ((ds.Tables["GetUserInfo"] != null)) {
this.Tables.Add(new GetUserInfoDataTable(ds.Tables["GetUserInfo"]));
}
if ((ds.Tables["GetUserLogin"] != null))
{
<----------------This table is not in the referenced DataSet.
this.Tables.Add(new GetUserLoginDataTable(ds.Tables["GetUserLogin"]));
}
[quoted text, click to view] "Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:OyBj$Kf9DHA.2432@TK2MSFTNGP10.phx.gbl...
> Hi David,
>
> Set "Show All files" in solution explorer (icon in solution explorer's
> toolbar) so you'll be able to see the code produced.
> XSD leaf in solution explorer should turn into a node. Under this node
> should be a file with same name and extension cs (if project is c#).
> Check its content.
> Just for test, you might delete its content (not the file itself) and run
> custom tool again to see if it produces anything.
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & software development
> miha at rthand com
>
www.rthand.com >
> "David D. McCrory" <dmccrory@alltell.net> wrote in message
> news:%23l9cWcb9DHA.488@TK2MSFTNGP12.phx.gbl...
> > I tried running the Custom Tool for the XSD file, which is
> > MSDataSetGenerator, and did not get any results...the Build Action
> property
> > is set to Content. Should it be set to something else??
> >
> >
> > "Miha Markic [MVP C#]" <miha at rthand com> wrote in message
> > news:%23AcJrrS9DHA.2856@TK2MSFTNGP10.phx.gbl...
> > > Hi David,
> > >
> > > Did you try right click on xsd file in solution explorer and select
Run
> > > Custom Tool?
> > > Also, the changes are propagated when you save xsd file.
> > > If this isn't working, check what is the Custom Tool for the selected
> xsd
> > > file - it should be MSDataSetGenerator.
> > >
> > > --
> > > Miha Markic [MVP C#] - RightHand .NET consulting & software
development
> > > miha at rthand com
> > >
www.rthand.com > > >
> > > "David D. McCrory" <dmccrory@alltell.net> wrote in message
> > > news:uuuQnmN9DHA.4044@tk2msftngp13.phx.gbl...
> > > > I have a typed dataset that was created from a referenced dataset. I
> > have
> > > > made changes to the XSD file and want to propegate the changes to my
> > typed
> > > > dataset. I have tried deleting the typed dataset and then adding it
> > back,
> > > > but it still has the old structure. Can someone help me with this?
> > > >
> > > >
> > >
> > >
> >
> >
>
>