Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-15-2005, 09:36 PM   #11 (permalink)
 
True Techie

Join Date: Sep 2004

Posts: 110

Terencentanio

Send a message via AIM to Terencentanio Send a message via Yahoo to Terencentanio
Default

Many apologies
__________________
* Your high priced security consultant\'s plane ticket: $1500
* Your high priced security consultant\'s time: $200/hour
* RealSecure nodes all over your company: $200,000
* Getting owned by 0day: Priceless
Terencentanio is offline  
Old 03-17-2005, 12:59 AM   #12 (permalink)
 
Newb Techie

Join Date: Mar 2005

Posts: 9

Unregistered1

Default

I have been looking through the ASP tutorial learning i think i am getting most of it. could some one show me an example of a loop and echo on a player for x-kings.com

It would be great to see an example of the asp code. I would perfer VBScript but i will take what ever i can get.

How ever is willing to help thanks a bunch.
Unregistered1 is offline  
Old 03-17-2005, 09:44 AM   #13 (permalink)
 
True Techie

Join Date: Sep 2004

Posts: 110

Terencentanio

Send a message via AIM to Terencentanio Send a message via Yahoo to Terencentanio
Default

Would love to, but I don't DO ASP :x *hates ASP*
__________________
* Your high priced security consultant\'s plane ticket: $1500
* Your high priced security consultant\'s time: $200/hour
* RealSecure nodes all over your company: $200,000
* Getting owned by 0day: Priceless
Terencentanio is offline  
Old 03-17-2005, 10:03 AM   #14 (permalink)
 
Newb Techie

Join Date: Mar 2005

Posts: 9

Unregistered1

Default

Above they Talked about doing it in php if your not willing to do ASP would you be willing to do php.
Unregistered1 is offline  
Old 03-17-2005, 10:12 AM   #15 (permalink)
 
True Techie

Join Date: Sep 2004

Posts: 110

Terencentanio

Send a message via AIM to Terencentanio Send a message via Yahoo to Terencentanio
Default

Yup. I'd have to speak to people privately and more 'in depth' as it were. These are the owners, I suppose?
__________________
* Your high priced security consultant\'s plane ticket: $1500
* Your high priced security consultant\'s time: $200/hour
* RealSecure nodes all over your company: $200,000
* Getting owned by 0day: Priceless
Terencentanio is offline  
Old 03-18-2005, 12:42 PM   #16 (permalink)
 
Junior Techie

Join Date: Dec 2004

Posts: 88

developer

Default

I used ASP.net.
ASP is not worth learning.


<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" Debug="True" %>
<%@ Import Namespace="System.Data.SqlClient" %>


<script runat="server">
Sub Page_load
Dim myConn As SqlConnection
Dim myQuery As String
Dim myCmd As SqlCommand
Dim scorereader As SqlDataReader
myConn = New SqlConnection("server=desktop;uid=sa;pwd=developer ;database=techforum")
myQuery = "select score from player"
myCmd = New SqlCommand(myQuery,myConn)
myConn.Open()
scorereader = myCmd.ExecuteReader()
displayarea.DataSource = scorereader
displayare.DataBind()
scorereader.Close()
myConn.Close
End Sub
</script>

<html>
<body>
<form runat="server">
<asp:datalist runat="server" ID="displayarea">
<itemtemplate>
<%# Container.DataItem("score") %>


</itemtemplate>
</asp:datalist>
</form>
</body>
</html>



You can also find the sum in the same way. This is a very basic way. There are many more methods available.
Similarly sum can also be found out.
__________________
Somewhere I Belong...
developer is offline  
Old 03-18-2005, 10:47 PM   #17 (permalink)
 
Newb Techie

Join Date: Mar 2005

Posts: 9

Unregistered1

Default

Everyone is saying asp is not worth it what code should i learn
Unregistered1 is offline  
Old 03-19-2005, 12:33 AM   #18 (permalink)
 
Junior Techie

Join Date: Dec 2004

Posts: 88

developer

Default

ASP.net is great. But for web development PHP is also cool.

ASP.net is if you want integration with other languages like VB.net, C#, C++, JScript etc. It works only on Windows Platform.
__________________
Somewhere I Belong...
developer is offline  
 
Closed Thread

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On