The first post, essay, just learned WebSnap to make a login page, write down

xiaoxiao2021-03-06  47

1 week ago, I don't know what WebSnap is something. I will do login today, let's remember, so as not to forget :)

WebSnap originally a tool for Borland's production site. It seems to be difficult, because the chaos seven-eight bad categories, I don't know what is; it is very simple, because I don't have to write code (at least my beginner is this feeling ). I don't know when can I really use it?

Will not map, but fortunately, it is mainly to see yourself :)

Production Login page: First, click on the toolbar on the toolbar, new project; select Web App Debugger Executable (not currently publishing a website, boring), enter CoClass Name, such as WebsNAPDemo, select PageModule, the options are default; Page Name, such as Home, because this page is displayed after logging in, go to PageOption to remove the Published to the hook, select Request Login; determine the establishment of the project, first save the assumption project name MyDemo. Be allowed to display some things, please confirm if you can come in :), add a table (bDE) and DataSetadapter (WebSnap), Table with the pen, and open; DataSetadaper's DataSet property is set to Table, Double-click Data Properties -> Right-click fields-> add all fields; closed, double adaperpageproduer, open visual designer, right-click adapterpageproducer-> new component-> adapterform, right-click on adapterform -> new component-> adaptergrid, the adapter is provided AdapterGrid DataSetAdapter property, shut down. Let's start login of production, the point toolbar new websnap page module build a new pagemodule, pagename set as login, join EndUserSessionAdapter, Session Service, WebUserList (in websnap page), add the user name and password in the useritems property webuserlist in; set endusersessionadapter Attribute LoginPage is HOME (the name of the login page). Double-click adapterpageproducer-> right click adapterpageproducer-> new component-> adapterform-> right click adapterform1-> new component-> adapterfieldgroup and adaptercommandgroup, set adapterfieldgroup the adapter property endusersessionadapte, displaycomponent property adaptercommandgroup is adapterfieldgroup, so far, done, should Yes. But it is still very imperfect, will teach me this.

转载请注明原文地址:https://www.9cbs.com/read-115938.html

New Post(0)