Answered by:
Using xml schema for typed objects

Question
-
Hi,
Can visual studio create typed objects(I think it is called "typed objects") with xmlSchema. Like it does with DataTable from a DataBase.
Thank you.
- Moved by Vicky SongMicrosoft employee Wednesday, February 16, 2011 3:49 AM (From:Visual Studio Database Development Tools (Formerly "Database Edition Forum"))
Monday, February 7, 2011 3:56 PM
Answers
-
I will close this thread, thank you.
- Marked as answer by bs_fan Saturday, March 10, 2012 10:55 PM
Saturday, March 10, 2012 10:55 PM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, December 24, 2011 7:44 AM
- Marked as answer by bs_fan Saturday, March 10, 2012 10:54 PM
- Unmarked as answer by bs_fan Saturday, March 10, 2012 10:54 PM
- Marked as answer by bs_fan Saturday, March 10, 2012 10:55 PM
Saturday, December 24, 2011 7:44 AM
All replies
-
Addition:
If i explain my self: For example assume i have a database with a "User" table. It has "ID","Name" and "Surname" columns.
Form that database when i add a DataAdapter with a Select quary in to the DataSet, the DataSet creates an UserDataTable and UserDataRow
typed objects. So that you can write
string name = UserDataRow.Name;
instead of
string name = DataRow["Name"];
Is this possible with Xml data too?
Thanks.
Tuesday, February 8, 2011 6:32 AM -
Hello bs_fan,
Sorry for the late response. I am sorry here is not the right forum to solve your question. The forum here discusses database features in the Visual Studio (mostly database project). As this thread is an older one, I think you’d better reopen one in the ADO.NET DataSet forum to get better response.
http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataset/threads
Thanks,
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked as answer by bs_fan Tuesday, February 15, 2011 11:00 AM
- Unmarked as answer by bs_fan Tuesday, February 15, 2011 11:00 AM
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, December 24, 2011 7:43 AM
Tuesday, February 15, 2011 3:06 AM -
Allright, thank youTuesday, February 15, 2011 11:00 AM
-
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, December 24, 2011 7:44 AM
- Marked as answer by bs_fan Saturday, March 10, 2012 10:54 PM
- Unmarked as answer by bs_fan Saturday, March 10, 2012 10:54 PM
- Marked as answer by bs_fan Saturday, March 10, 2012 10:55 PM
Saturday, December 24, 2011 7:44 AM -
I will close this thread, thank you.
- Marked as answer by bs_fan Saturday, March 10, 2012 10:55 PM
Saturday, March 10, 2012 10:55 PM