Adding an ODBC source ODBC is Windows way
Adding an ODBC source • ODBC is Windows’ way of talking to a database • Start->Settings-> Control Panel-> ODBC Data Sources Do not try this until I send you mail
Map a network drive • Interdev won’t work right without this • The share to connect to is \iinetsrvfall 99 • Individual project spaces are at \iinetsrvfall 99cse 444[interdev space name] • Check reconnect at login
Starting with Interdev • One person needs to create a new project • Choose Visual Interdev Porjects -> New Web Project Make it at the top level of your project!
More project creation choices • • Name your project with a good identifier Choose “Master Mode” Don’t try to use any themes Will not work in any lab other than 232 until further moment
Add a data connection • Right click on project • Choose “Add Data Connection”
Choosing data source • Choose “Microsoft OLE DB Provider for ODBC Drivers • Don’t mess with any of the advanced stuff
Data link properties • Pick same system DSN you created for the ODBC sources • Click ok • On properties, under Authentication, Save Design-time Authentication
Adding an ASP Page • Right click on the project • Add new ASP page
Adding data • Left hand side, got to Toolbox, then Design Time Controls. • Drag Recordset into ASP page
Adding a Grid • • Drag a Grid Select properties Click data tab Choose data to add
You’re done!! • • Right click on ASP page View in browser Will only work with Internet Explorer Should be at http: //iinetsrv. cs. washington. edu/[project name]/[page name] • If something doesn’t work, ask for help
- Slides: 11