How do you defualt ID fields to not be read only?

  • Thread starter Thread starter Summit
  • Start date Start date
S

Summit

When I create strongly typed datatables, ADO.Net defaults the ID
columns to read-only. How do I turn that off? (Yes, I need to update
the ID fields.)

Thanks,

Dave
 
Open the XSD for the DataSet. Click the column you want to change. In the
Properties window change ReadOnly to false.
 
Thanks Andy...

Is there a way I can default the XSD to not set ID fields to read only
so that when I drop them from the explorer - read only is set to
false? We're making updates to the tables quite a bit and would rather
not set that every time we drop it on the designer.

Thanks
 
Back
Top