D
dennist
I have a table named topics. One of the columns is named
Text. ado.net doesn't like that, so designates it as
_Text. This may or may not be the source of a certain
problem I'm having.
I thought an easy way to find out would be to rename the
column TopicText.
First I deleted ds.xsd an ds.vb. Then I closed the
solution. I was fully prepared to create in code a new
strongly typed dataset, including the xsd.exe in the
console window.
However, when I tried, I got an error in this statement:
da.FillSchema(ds, SchemaType.Source, "Topics")
I even tried putting the fillschema and writeschema
statements somewhere else, to no avail. When I changed
the column back to Text, I got other errors.
So my question is, how can one change a table column name
and create a new strongly typed dataset in code. Or do I
have to write a compleley new project? This is RAD? The
great advance over vb6 and ADO. The disconnected dataset
was a great idea, but Microsoft changed VB into a geek's
tool, no longer a RAD solution for people far more
interested in solving a problem than in programming the
solution.
dennist
Text. ado.net doesn't like that, so designates it as
_Text. This may or may not be the source of a certain
problem I'm having.
I thought an easy way to find out would be to rename the
column TopicText.
First I deleted ds.xsd an ds.vb. Then I closed the
solution. I was fully prepared to create in code a new
strongly typed dataset, including the xsd.exe in the
console window.
However, when I tried, I got an error in this statement:
da.FillSchema(ds, SchemaType.Source, "Topics")
I even tried putting the fillschema and writeschema
statements somewhere else, to no avail. When I changed
the column back to Text, I got other errors.
So my question is, how can one change a table column name
and create a new strongly typed dataset in code. Or do I
have to write a compleley new project? This is RAD? The
great advance over vb6 and ADO. The disconnected dataset
was a great idea, but Microsoft changed VB into a geek's
tool, no longer a RAD solution for people far more
interested in solving a problem than in programming the
solution.
dennist