G
Guest
I am using the MSDE 2000 and ado.net. When I use the sqldataadapter wizard it
won't generate some statements unless the primary key is designated. I tried
using char, nchar, int, sql variant, and nvarchar.When I use these data types
they allow a primary key and so the sqlwizard generates all the statements.
But, somehow the string that I am trying to put into the msde is truncated
and only a part of the string is held in the dataset.
I can use ntext or text and the entire string is held in the database, but
these data types won't allow you to generate a primary key so the sqlwizard
doesn't generate all the required statements and I believe the ado wasn't
working correctly so I couldn't update the database correctly. I have looked
over the MSDE documentation and am wondering if I can use the sql wizard at
all and if I have to perhaps do everything manually. This seems kind of far
out because MSDE is popular. Thanks for your help.
Spencer
won't generate some statements unless the primary key is designated. I tried
using char, nchar, int, sql variant, and nvarchar.When I use these data types
they allow a primary key and so the sqlwizard generates all the statements.
But, somehow the string that I am trying to put into the msde is truncated
and only a part of the string is held in the dataset.
I can use ntext or text and the entire string is held in the database, but
these data types won't allow you to generate a primary key so the sqlwizard
doesn't generate all the required statements and I believe the ado wasn't
working correctly so I couldn't update the database correctly. I have looked
over the MSDE documentation and am wondering if I can use the sql wizard at
all and if I have to perhaps do everything manually. This seems kind of far
out because MSDE is popular. Thanks for your help.
Spencer