Guest gautya Posted August 16, 2002 Posted August 16, 2002 I want to have a sample piece of code for following concept : ------------------------------------- Class Entry: Public ScreenData as Dataset End Class Class Screen entry as Entry = new Entry() ' Here I want to know how I can set the schema of (entry.ScreenData) from XML schema file(XSD) 'The format of XSD should contain 2 tables with 3-4 fields in each. One of the field(in any table) is having value based on other ' 2 columns of the same table.(Please see following the table defs.)Can such formula also be put in XSD file? 'I also want to know the steps of reading this schema and setting it to schema of the above dataset. End class Table definitions: Table SingularData-- Column : A char (5) Column : B numeric (6) Column : C numeric (4) Column : D char (9) = Concatenation of A and C Table MultipleData-- Column : E char (5) Column : F numeric (6) No relation between above 2 tables.No constrains for any table.I have taken the data types as a sample and not actual one. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.