-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypedTableBase Constructor #30364
Comments
It doesn't work correctly just commenting out "if" sentences. |
@aiba7339 Please provide more details on what you mean by, "There are some codes generated by VS." |
@ajcvickers Thank you for asking. When I add a DataSet in my project, .xsd file is added in it, for example "DataSetTest.xsd". |
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process. This process is part of our issue cleanup automation. |
This issue will now be closed since it had been marked |
I'm using Visual Studio 2017 C# and created some DataTables in a DataSet.
There are some codes generated by VS and some of them are TypedTableBase construcotrs.
They are in a DataSet.Designer.cs file and two constructors are defined.
The one is below.
They refers DataSet object in given DataTable, however, DataSet object is always null when I run my codes, so I catch a null reference exception when I try to create TypedTableBase object from DataTable object.
If I comment out their "if" sentences, it runs.
Is this VS's bug?
The text was updated successfully, but these errors were encountered: