using the following xsd code :
<xs:element name="tblUsers" >
<xs:complexType >
<xs:sequence>
<xs:element name="UserID" type="xs:int" />
<xs:element name="FullName" type="xs:string " />
<xs:element name="UserName" type="xs:string " />
<xs:element name="Password" type="xs:string " />
<xs:element name="Email" type="xs:string " />
</xs:sequence>
</xs:complexType>
<xs:unique name="tblUsersK ey1" msdata:PrimaryK ey="true">
<xs:selector xpath="." />
<xs:field xpath="mstns:Us erID" />
</xs:unique>
</xs:element>
i'm unable to execute this against a dataset loaded with the schema and a
sample xml data file.
theRow = systemDB.Tables["tblUsers"].Rows.Find(theU ser.UserID);
Exception Details: System.Data.Mis singPrimaryKeyE xception: Table doesn't
have a primary key.
what am i missing?