|
 |
aspdotnet_website_programming thread: Adding Web Reference to Windows Form
Message #1 by "Charles Walsek" <cwalsek@w...> on Wed, 9 Oct 2002 18:52:05
|
|
I've successfully built the Web Service, and it tested out OK. Am unable
to add the Web Reference to the C# Windows form, as discussed on p.270.
I'm using VS .NET on XP-Pro. The Add Web Reference dialog has a link on
the left panel about attaching web services on the local machine, but the
link is not active. Can anyone help?
On another matter, I've augmented the DataGrid code to:
1.) Position the cursor on the first TextBox when the item is opened for
editing.
2.) Added a confirm dialog to the delete item event. I thought it too
easy to wipe out data.
3.) Replaced the DabaBinder.Eval method by TypeCasting the Container
object with DataRowView. Seems to run a bit quicker, I think?
If anyone is interested, I'm willing to share. Especially if you can
help with the Web Reference problem. It's a slippery little devil.
Thanks
Message #2 by "Charles Walsek" <cwalsek@w...> on Wed, 9 Oct 2002 19:35:19
|
|
I played around with the Add Web Reference dialog a bit more, and figured
it out. You need to type in the complete URL in the drop-down combo at
the top of the form. Then click the arrow to the right, and VS .NET will
grab the service for you. It's always something simple.
|
|
 |