Last post Feb 24, 2006 07:30 PM by wedwardbeck
Feb 23, 2006 12:46 PM|wedwardbeck|LINK
I mistakenly had a field set as a NCHAR(2) when it should have been a NCHAR(10) (and another one at NCHAR(20) to NVARCHAR(255) in a table for my module. I made the corrections to the table and stored procedures (both update and add), but for some reason,
the update of the field is truncating to 2 digits still. Is there anywhere else in the code where the length and type of field data is defined? I built the DAL & BLL according to DNN 4.02 starter kit format, and everywhere I look it is simply defined as a
string, with no length defined.
Surely I'm missing a smaller detail somewhere. Can anyone offer some advice on where to look? I've run the profiler on the SQL and it is passing the truncated value to the SP.
Feb 24, 2006 01:23 PM|dnnstuff|LINK
Feb 24, 2006 07:01 PM|wedwardbeck|LINK
Feb 24, 2006 07:30 PM|wedwardbeck|LINK
[:O] OK - I don't know where I goofed, but now it is updating properly. Not sure why the changes to teh SP were not taking effect right away, but all is good now! .
Thanks for visiting!