获得强类型dataset的最简单方式(typed dataset)
1. Fill a DataSet with data from the database
2. Save the schema with DataSet.WriteXmlSchema()
3. Use the schema as input into XSD.exe
xsd /DataSet /language:CS C:\Data\Products.xsd
1. Fill a DataSet with data from the database
2. Save the schema with DataSet.WriteXmlSchema()
3. Use the schema as input into XSD.exe
xsd /DataSet /language:CS C:\Data\Products.xsd