dreamweaver iis设置 绑定记录集

dreamweaver iis设置 绑定记录集,第1张

你需要在Dreamweaver里为你的站点配置“测试服务器”。

1、在[服务器模型]选择你需要用的语言;

2、在[访问]中选择“本地/网络”;

3、在[测试服务器文件]中选择你建立的网站所在的目录;

4、在[URL前缀]里填写你在IIS里为第3条建立的目录访问的地址。如果是根目录,访问地址为:http://localhost/  ;如果是虚拟目录,访问地址为:http://localhost/虚拟目录名称 。(这里的设定内容必须和目录的IIS配置相符,否则会有警告信息,测试服务器项也不会被打勾。)

以上四项都设定好, “设置站点的测试服务器” 就会被打勾。

1.配置IIS

  第一步:在“控制面板”中启动“添加/删除程序”项,随后切换到“添加/删除Windows组件”界面并勾选“Internet信息服务(IIS)”,单击“详细信息”按钮进入详细信息界面,在此勾选“Internet信息服务管理单元”、“公用文件”、“万维网服务”三项,其他默认即可。确定后单击“下一步”按钮,放入Windows XP安装光盘,随后IIS就会安装成功。

  第二步:安装成功后,在“控制面板”中打开“管理工具”窗口,双击该窗口中的“Internet信息服务”图标,打开“Internet信息服务”窗口,在左侧列表中依次展开到“默认网站”,随后用鼠标右键点击“默认网站”,在下拉菜单中选择“属性”,打开“默认网站属性对话框”(图1),进入到“主目录”界面,在“连接到资源时的内容源”项中点选“此计算机上的目录”,在“本地路径”下选择我们需要测试的站点目录,如D:\MyWeb。随后勾选“读取”、“记录访问”、“索引资源”等项目。

  第三步:切换到“文档”界面,输入测试站点的首页文件名,输入时在“默认文档”项右侧单击“添加”按钮,在弹出的添加窗口中输入网站首页名称,如Indexasp。单击“确定”按钮,完成IIS设置。

2.绑定数据库

  ASP网页都带有数据库,这样可以将写入的数据通过网页代码直接保存到数据库中,因此,在进行本地机网页测试时我们还要对数据库进行绑定。我们以绑定Access数据库为例进行说明。

  第一步:首先在“控制面板”的“管理工具”项中启动“数据源(ODBC)”工具,在“ODBC数据源管理器”对话框中切换到“系统DSN”项下。在此单击“添加”按钮,在弹出的“创建数据源”对话框中选择Microsoft Access Driver(mdb)项,然后单击“完成”按钮。

  第二步:在打开的“ODBC Microsoft Access安装”窗口中,输入数据源的名称,如mydsn。随后单击“选择”按钮,弹出 “选取数据库”对话框(图2),在此选择网站文件夹中的数据库文件,选取后单击“确定”按钮,返回到上一界面,在此继续单击“确定”按钮,该数据库将被添加到“ODBC数据源管理器”界面中,随后单击“确定”退出,这样为以后建立与数据库链接做好了准备。

让网站能够及时修改

  如果发现站点在测试过程中网页脚本或数据绑定方面存在一些问题,我们就可以在Dreamweaver中进行修改,修改前先要把该ASP站点添加到Dreamweaver中。

  第一步:创建站点时,在Dreamweaver程序中单击“站点”按钮,在弹出的列表中选择“新建站点”,打开“站点定义”对话框并切换到“高级”项中,在站点名称中输入该站点的名字,“本地根文件夹”项中输入该站点的文件夹,如D:\MyWeb(图3)。

 

 第二步:切换到“远程信息”项中,在“访问”项中选择“本地/网络”,随后在下面的“远程文件夹”项中输入本地站点目录即可。

  第三步:切换到“测试服务器”界面中,在“服务器模型”中根据需要进行选择,如ASP VBScript,随后在“访问”项中选择“本地/网络”。输入后单击“确定”按钮,此时我们可以看到该站点被添加到Dreamweaver的“站点”窗口中(图4)。

 

 第四步:进入到Dreamweaver界面,在“窗口”菜单中勾选“数据库”命令(或同时按下键盘上的“Ctrl+Shift+F10”组合键),随后在数据库面板中单击“+”按钮,在弹出的菜单中选择“数据库名称(DSN)”项,打开“数据库名称(DSN)”对话框。此时程序自动读取系统DSN数据库,这样在该对话框中我们就可以定义数据库链接了。其中在“链接名称”文本框中输入链接名称,如myconn,随后在下面的“数据库名称(DSN)”下拉菜单中选择刚刚创建的DSN数据库,如mydsn(图5)。

 

  第五步:添加后,单击“测试”按钮,对数据库的链接进行测试,如果链接正确会弹出一个链接成功对话框。这样数据库链接已经创建成功。单击“确定”退出“数据库名称(DSN)”对话框,此时数据库链接成功。

  第六步:在绑定项中单击“+”号按钮,在下列菜单中选择“记录集(查询)”,打开一个记录集,在“链接”项中选择绑定数据库的名称,随后单击“确定”按钮,这样Dreamweaver帮我们快速找到各项绑定的数据,然后我们就可以在Dreamweaver下直接对网页绑定的数据进行修改了。通过上面的设置,我们只要在当前电脑的IE地址栏中输入http://127001,就可以在本地电脑上测试ASP站点,以便及时修改。

Buffalo counting about CJ Spiller to be an thriller concerned with offense

That inside of outstanding Michael Jackson-like moves that will excite the particular MLB Jerseys masses, particularly long-suffering Buffalonians that have waited a lot more than a fabulous decades in support of their whole Debts to be able to re-ignite an long-extinguished of curiosity of offense

It truly is unknown if Spiller owns a suitable red-leather jacket, on the contrary his sick stop-and-start moves seem to be slick from the tradition from the late pop star's leg action (Through the way, CJ stands in support of Clifford Jr)

Back again inside day, this Debts operated the exact no-huddle "K-Gun" attack which will co-featured a fabulous long term Hall connected with Famer named Thurman Thomas who could dash, catch as well as block

Maybe Spiller,nba jerseys, these No 9 general select within previous spring's Cleveland Indians jerseys draft for the reason that conference player in the year at Clemson, will add a little bit of dj vu He's an important little and thus elusive, a very imaginative playmaker who is unsafe around the perimeter, some going back constructed far more together the particular scat-back lines of the hybrid Warrick Dunn-Chris Johnson

"I grew up watching Warrick - just that was my guy," Spiller affirms on the retired going back again "Not undoubtedly as a consequence of what he did to do with the field, then again each of the (fine functions) he did away from the field You certainly not heard anything at all unfavorable with reference to him Dropping had the actual likelihood from meet him Superb person He gave me several encouraging words, telling me to not get worried relevant to what men and women stated with regards to my sizing"

Spiller repeatedly claims - instead unconvincingly that has a laugh - because he is 6 feet, 200 pounds Size-wise, he is built much more such as Dunn, who has been listed at 5-9, 187 Whereas Thomas was a finesse back again who compiled greater than 16,500 yards rushing and consequently receiving in the course of 13 seasons, Spiller is pure thrills He exhibits off-the-charts acceleration time (43 speed inside 40) which will transforms him to a virtual sports Ferrari

"He can go from zero which in turn 60 really like that many," affirms backfield mate Fred Jackson "With rate the same as of the fact that, you should become (classified) for a deadly weapon"

Spiller expands the particular Buffalo's offense as a terrific change-of-pace rear may well Jackson as well Marshawn Lynch, a pair related with pounders who have been banged up within coaching camp Jackson may out meant for four that will six weeks with a broken hand; Lynch (ankle) is anticipated prepared with the Sept 12 season opener at residence opposed to Miami

Durability wasn't an concern intended for Spiller at Clemson, however , this is the Phoenix Suns jerseys not the particular ACC

Needless to say, like a first-year player, Spiller, 23, may seeking in order to understand from his blunders and after that create confidence If the crna can, "his possible may unrestricted," says Bills quarterback Trent Edwards, who likes a thing else regarding the "little" fella

"He will search inside there for you personally," concerned with blitz pick-ups, he says "I similarly to possessing guys who will fight for you personally CJ is amongst individuals men"

The actual rookie as well is skilled at catching this hockey, wherever inside "space" he becomes lethal towards solo defenders The particular Debts would for example like may be operate additional screens in order to really continue to keep defenses "honest" Payments coach Chan Gailey will collection up Spiller the whole more than the field, giving the offense lots having to do with options As being a bonus, Spiller will return kickoffs, too

"He has special talent - combined with he is a new wonderful vibrant guy who runs and consequently runs also works," Gailey affirms

Exactly like Thomas, among Spiller's leader assets is his versatility - and additionally sensational peripheral vision and therefore anticipation He should be paid for for whatsoever times, a great deal just like the best Brian Westbrook

A person certain the playing inside the preseason underscored his value, the best shake-and-bake scamper towards the exact Indianapolis Colts' first team defense demonstrated as to why that Costs snatched up Spiller rather than make an effort to fix the latest long-standing problem together this offensive line but also perhaps draft the new tackle, in the role of numerous presumed Instead, the actual Debts went with the residence manage - a new ticket-seller who could re-energize an important floundering franchise

Against the actual Colts final weekend, Spiller ripped away an 31-yard touchdown operate, nonetheless it was the correct way he did that many widened eyes

Initial, he shook away from Robert Mathis' attempted deal with near those line with scrimmage After Spiller shown up from the hole unscathed, the Colts' Jacob Lacey raced in from Spiller's to the left and after that drew a bead for the operating again, who dodged the particular flailing cornerback having a nifty cutback and then tore down subject

Colts cornerback Antoine Bethea overplayed Spiller, trying on to pin him together these sidelines, therefore, the rookie executed a single sudden jump cut next to the particular end zone and furthermore , scored

"I usually do not know exactly how CJ mingled with any (Lacey) was coming," marveled mid Geoff Hangartner "He created these guy whiff"

Former about education camp, Spiller worked out within Los angeles equipped with numerous gamblers, among them an additional running back again now with whom he is becoming favorably compared - Fresh Orleans' Reggie Bush Spiller worked to do with his explosiveness, such as a new tire-pulling drill that have he suggests "pushes you to the limit making sure that the minute it comes down for the fourth quarter, you'll be able to give every thing you have got"Topics related to the article:

Precisely how to get All set for Soccer Months

如果制作的不是动态程序,比如php等程序,制作的仅仅是html网站,则不需要填写配置服务器选项。

如果制作的是动态程序,需要在电脑内安装相应的网页服务器,并开通服务器,如果在本机运行程序,连接方式则选择“本地”,“服务器文件夹”可以选择站点文件夹,在“web url”填写本机主页ip地址,比如:http://127001等等

如果有安装网页服务器的经验,对动态程序有了解,那么在dreamweaver里配置服务器不会很难。建议使用最新版dreamweaver,建立动态程序站点比旧版本更方便一些。

DABAN RP主题是一个优秀的主题,极致后台体验,无插件,集成会员系统
网站模板库 » dreamweaver iis设置 绑定记录集

0条评论

发表评论

提供最优质的资源集合

立即查看 了解详情