You Are Here:

Community: Developer Discussion Boards

#1 Old RE: Database with Wml Script - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 2
Jameel
Offline
Registered User
How do i do database connection with wml or wml script.
I have a application buit in asp and sql server.
Now i want to make it on wap .How do i do database connection with
wml or wml script.
Can i use the same SQLSERVER Database.

Do i need any other Languages ASp Or CGI With wap for database.
please answer me on E mail address: neptune_181@hotmail.com
Reply With Quote

#2 Old RE: Database with Wml Script - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 27
Eight888
Offline
Registered User
WML is just your way of displaying the information on the phone. Its not a scripting language and doesn't have database support.

You need to write CGI or ASP pages which query the database and return the results FORMATTED IN WML.

Then you just need to make sure your ASP page sets the content type e.g.
response.ContentType = "text/vnd.wap.wml"

E
Reply With Quote

#3 Old Database with Wml Script - 2002-05-15, 19:48

Join Date: Mar 2003
Posts: 2,428
Nokia_Archive
Offline
Super Contributor
Hi Everyone..

How do i do database connection with wml or wml script.
I have a application buit in asp and sql server.
Now i want to make it on wap .How do i do database connection with
wml or wml script.
Can i use the same SQLSERVER Database.

Do i need any other Languages ASp Or CGI With wap for database.

I am stuck with it.

Thanks
Anand Singh

Posted by Anand Singh, asingh@staff.eindia.com
on July 12, 2000 at 08:47
Reply With Quote

#4 Old RE: Database with Wml Script - 2002-05-15, 19:49

Join Date: Mar 2003
Posts: 2,428
Nokia_Archive
Offline
Super Contributor
I have the same problem, and tried a thing that works a little.
I noticed that you can use asp pages instead of wml, and the nokia recognize it.
The .asp page is translated in .html.
Just what you have to do is to put xml code instead of html.
It does not work correctly with some metatags.
for example, card id is no more recognize.

I think in some time Microsoft will make a modification that will permit us to insert asp really in wml page.
Perhaps the good solution is to use javascript or CGI or something else.
If you find another solution, I am interested.

Here is an example of asp pages that works :

page default.asp


WAP INCIT.COM
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia