Modifications to dataset definition after changes made to SQL database table

E

eljainc

Hello,

I have a program written in C#.NET VS2005 that accesses a SQL
database/data table through a dataset. It was decided that a valued
defined as a smallint in SQL Server should be changed to a varchar. I
performed this change without problems. However, the C# program still
has the field defined as an integer type in VS2005. I cannot seem to
modify this property. How do I do this?

Thanks.

Mike McWhinney
 
D

DeveloperX

eljainc said:
Hello,

I have a program written in C#.NET VS2005 that accesses a SQL
database/data table through a dataset. It was decided that a valued
defined as a smallint in SQL Server should be changed to a varchar. I
performed this change without problems. However, the C# program still
has the field defined as an integer type in VS2005. I cannot seem to
modify this property. How do I do this?

Thanks.

Mike McWhinney

Is it a typed dataset? If so you'll need to modify the XSD xml file to
the correct type and recompile it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top