
April 9th, 2002, 11:42 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
Data Grid/Microsoft Access/Replication ID
<i><b>Originally posted by : Manuel (manuel.adam@chello.at)</b></i><br />Hello!<br /><br />I created a Mirosoft Access Database, where I chosed to use AutoNumber -> <br />Replication ID / the primary key. <br />I followed the WALKTHROUGH included in VISUAL .NET <br />ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbwlkWalkthroughUsingDataGridWebControlToReadWrite Data.htm<br /><br />But because I use Replication ID as data type in Mirosoft Access, I cannot update data in the data Grid!<br /><br />So I get an error when clicking on update, where the code is:<br />Adapter.Update(datasheet1);<br />>Invalid cast from System.String to System.Guid. etc.<br /><br />I tryed then to use a Long Integer in Microsoft Access instead of Replication ID,<br />then it works. But I really need Replication ID, do someone know any solution for this??<br /><br />Manuel
|