|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
当然了,现在国内CRM厂商的产品与其说是CRM,但从至少从我的角度分析上来看,充其量只是一个大型的进销存而已了,了解尚浅,不够胆详评,这里只提技术问题变量|静态Thepurposeofthisapplicationistomakeiteasiertocaputredatafromforms.IknowwhenIcreate
formsIhatetypinginalltherequest.forminformationinmycode,soIdecidedtowriteawayto
dynamicallycreatetherequestwhichstripthevariableforapostrophesandalsotrimsthevariable
CantCopyandPastethis?
Clickhereforacopy-and-pastefriendlyversionofthiscode!
**************************************
for:DynamicallyGenerateVariables
**************************************
http://www.chernoblechicken.com
code:
CantCopyandPastethis?
Clickhereforacopy-and-pastefriendlyversionofthiscode!
TermsofAgreement:
Byusingthiscode,youagreetothefollowingterms...
1)Youmayusethiscodeinyourownprograms(andmaycompileitintoaprogramanddistributeitin
compiledformatforlangaugesthatallowit)freelyandwithnocharge.
2)YouMAYNOTredistributethiscode(forexampletoawebsite)withoutwrittenpermissionfromthe
originalauthor.Failuretodosoisaviolationofcopyrightlaws.
3)Youmaylinktothiscodefromanotherwebsite,butONLYifitisnotwrappedinaframe.
4)Youwillabidebyanyadditionalcopyrightrestrictionswhichtheauthormayhaveplacedinthecodeor
codesdescription.
**************************************
Name:DynamicallyGenerateVariables
Description:Thepurposeofthisapplic
ationistomakeiteasiertocaputreda
tafromforms.IknowwhenIcreateform
sIhatetypinginalltherequest.form
informationinmycode,soIdecidedto
writeawaytodynamicallycreatethere
questwhichstripthevariableforapost
rophesandalsotrimsthevariable
By:AnthonyJ.BiondoJr
Returns:returnstextwhichyoucancop
yandpasteintoyouaspapplication.
Thiscodeiscopyrightedandhaslimitedwarranties.Pleaseseehttp://w
ww.Planet-Source-Code.com/xq/ASP/txtCode
Id.6334/lngWId.4/qx/vb/scripts/ShowCode.
htmfordetails.**************************************
<HTML>
<%
DYNAMICALLYGENERATEREQUEST
Description:Thisscriptwillallowyo
utodynamicallygeneratevariablesfor
thehugeformsthatnoonelikestocrea
te.
Howtouse:Typeinthevariablename
selectquerystringorformandhitsubmi
t.Tomakemorevariablesincreasetheh
owmanycount.
Coder:AnthonyJBiondoJr.(anthonyb@
inbridesburg.com)
HOWMANYVARIABLESTOCREATE
how_many=50
mycreate=request.querystring("create")
Ifmycreate=""Then
%><TITLE>DynamicallyGenerateVariables</TITLE>
<BODYbgcolor="#FFFFFF">
<FORMmethod="post"action="dyn_gen_variables.asp?create=1">
<FONTface="Verdana,Arial,Helvetica,sans-serif"size="2"><B>DynamicallyGenerate
Variables</B><BR>
<BR>
VariableName:</FONT>
<INPUTtype="text"name="variablename">
<BR>
<FONTface="Verdana,Arial,Helvetica,sans-serif"size="2">RequestType:</FONT>
<INPUTtype="radio"name="requesttype"value="querystring"checked>
<FONTface="Verdana,Arial,Helvetica,sans-serif"size="2">Querystring</FONT>
<INPUTtype="radio"name="requesttype"value="form">
<FONTface="Verdana,Arial,Helvetica,sans-serif"size="2">Form</FONT><BR>
<BR>
<INPUTtype="submit"name="Submit"value="Submit">
</FORM>
<%
else
%>
<TITLE>DynamicallyGenerateVariables-DONE</TITLE>
<FONTface="Verdana,Arial,Helvetica,sans-serif"size="2"><B>DynamicallyGenerate
Variables</B></FONT>-DONE<BR>
<BR>
<BR>
<%
variablename=request.form("variablename")
requesttype=request.form("requesttype")
mycounter=0
DoWhilemycounter<how_many
myvaroutput=myvaroutput&variablename&mycounter&"=replace(request."&requesttype&"("&chr
(34)&a</p>SQLServer是基于服务器端的中型的数据库,可以适合大容量数据的应用,在功能上管理上也要比Access要强得多。在处理海量数据的效率,后台开发的灵活性,可扩展性等方面强大。 |
|