RE: Dataset update inconsistency
- From: wawang@xxxxxxxxxxxxxxxxxxxx ("Walter Wang [MSFT]")
- Date: Wed, 08 Aug 2007 05:38:30 GMT
Hi Andrew,
Welcome to MSDN Managed Newsgroup!
Based on my understanding, you first created a strong typed DataSet using
the DataSet Designer and you're returning the DataSet to your client via
Web Service. After you added two new columns to the table, you found the
new columns are not in the DataSet returned to client.
Please feel free to correct me if I've misunderstood anything.
You once mentioned that you "added two new columns to the tble and manually
added them to the dataset", do you mean that you simply created two new
fields in the DataTable's fields list?
Would you please try following actions to see if they help:
1) Delete the two fields that you manually added previously.
2) Right-click on the table in the DataSet Designer, select "Configure...",
this will bring up the "TableAdapter Configuration Wizard" dialog again;
3) If you are using SQL statements: if you're using "Select * from ...",
then you don't have to do anything, simply click Finish; otherwise, you can
manually edit the SQL to include those two new fields.
4) If you're using Stored Procedures, then you can either create new stored
procedures or you need to use the DBMS management tool to edit the stored
procedures there, then choose "Use existing stored procedures" and select
them.
Hope this helps. Please feel free to let me know if there's anything
unclear. Thanks.
Sincerely,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Prev by Date: HELP! Crystal Reports for VS2005 not working!
- Next by Date: Re: Returning typed DataRow from WebMethod
- Previous by thread: HELP! Crystal Reports for VS2005 not working!
- Next by thread: Re: Returning typed DataRow from WebMethod
- Index(es):
Relevant Pages
|