What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 407 |  Welcome, Guest!   Register  Login
  Home > Community Home >

How to pass data to the Model layer of the model view presenter

 Author: dot NET developer | Posted on: 5/21/2008 8:21:47 PM | Views: 86

Recommend an Articles | Recommended Articles | Search Resources | Community Home |




The Presenter get data from the View through Presenter Interfaces. As shown in the following codes:Code SnippetInterface ICustomerViewproperty CustomerNo as Integerproperty Name as stringproperty Address as StringEnd Interface
To get data from the View:Code SnippetClass CustomerPage Implements ICustomerViewproperty CustomerNo As IntegerGetReturn txtCustomerNo.textEnd GetSet (Value as Integer)txtCustomerNo.Text = ValueEnd Setend property'ETC.End Class
Now How about the Model, do I have to create an ... Go to the complete details ...

Found interesting? Add this to:


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/25/2013 2:32:29 AM