Jump to content

Bluecrest

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by Bluecrest

  1. Hi! I have a link here with a lot of asp programs which you can browse the code and run the samples. http://www.asp.net/QuickStart/aspnet/doc/c.../adrotator.aspx
  2. Its not hard to make a flash document. I recommend you to use Flash 5.0 when you are really a beginner in this software.
  3. Bluecrest

    Format data

    Hey that is new to me. Thanks!
  4. This is the code in asp.net. hope i could help you. Dim mail, emailmsgusername = n1.GetFieldValue("Select Firstname as field_value from Users where useremail='" & txtemailforgot.Text & "'")emailmsg = "<html><body topmargin=0 leftmargin=0><font face='Verdana, Arial, Helvetica, sans-serif' size=2 color=#003399><b>Dear " & username & ":<br><br>Login Details for CommDragon.com<br><br></b></font><table width='50%' style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'><tr><td width='35%'>Login Name:</td><td width='65%'>" & txtemailforgot.Text & "</td></tr><tr><td>Password:</td><td>" & pass & "</td></tr></table><br><font face='Verdana, Arial, Helvetica, sans-serif' size=2 color=#003399><b>Regards:<br>www.commdragon.com</b></font></body></html>"mail = Server.CreateObject("Persits.MailSender")mail.IsHTML = Truemail.Subject = "Your account in commdragon.com"mail.From = "websitemanager@commdragon.com"mail.FromName = "Commdragon.com"mail.Addaddress(txtemailforgot.Text)mail.Host = "mail.mindragon.com"mail.body = emailmsgOn Error Resume Nextmail.Send()mail = Nothinglblerrors.Text = "Your password has been mailed to your account.<br>Please check your email immediately and sign in to CommDragon.com."lblerrors.Visible = True
  5. Bluecrest

    practice .net

    Hi! Try this links it is very helpfulhttp://www.asp.net/QuickStart/aspnet/doc/c...rd/default.aspx
  6. JS file is a javascript file. What you see in between <script></Script> in html should be the content of the JS file
  7. Please help the cute people here
  8. Bluecrest

    Format

    Yah I am using asp.net. I have seen my page and it show<%@ Page Language="vb" %>
  9. Bluecrest

    Format

    Ok. Anyway, how could I use javascript in formating my data in the repeater. I have included my repeater code here. <asp:repeater id="rptOrders" runat="server"><ItemTemplate><tr><td align="center"><%# DataBinder.Eval(Container.DataItem,"fnl_datectd")%></td><td align="center"><a href='orderdetails.aspx?id=<%# DataBinder.Eval(container.dataitem,"fnl_id") %>'><%# container.dataitem("fnl_orderno") %></a></td><td> $<%# DataBinder.Eval(container.dataitem,"TOTAL") %></td><td align="center"><%# DataBinder.Eval(container.dataitem,"fnl_stat") %></td></tr></ItemTemplate></asp:repeater>
  10. Hi! I have a code for mail but this function should be put on the submit event of button! Hope I have helped you! Dim mail, emailmsg username = n1.GetFieldValue("Select Firstname as field_value from Users where useremail='" & txtemailforgot.Text & "'") emailmsg = "<html><body topmargin=0 leftmargin=0><font face='Verdana, Arial, Helvetica, sans-serif' size=2 color=#003399><b>Dear " & username & ":<br><br>Login Details for CommDragon.com<br><br></b></font><table width='50%' style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;'><tr><td width='35%'>Login Name:</td><td width='65%'>" & txtemailforgot.Text & "</td></tr><tr><td>Password:</td><td>" & pass & "</td></tr></table><br><font face='Verdana, Arial, Helvetica, sans-serif' size=2 color=#003399><b>Regards:<br>www.commdragon.com</b></font></body></html>" mail = Server.CreateObject("Persits.MailSender") mail.IsHTML = True mail.Subject = "Your account in commdragon.com" mail.From = "websitemanager@commdragon.com" mail.FromName = "Commdragon.com" mail.Addaddress(txtemailforgot.Text) mail.Host = "mail.mindragon.com" mail.body = emailmsg On Error Resume Next mail.Send() mail = Nothing lblerrors.Text = "Your password has been mailed to your account.<br>Please check your email immediately and sign in to CommDragon.com." lblerrors.Visible = True Session("logstat") = ""
  11. Bluecrest

    Format

    Hi! Thank you for your reply. I have seen the links. But I am using the ASP. Can you help me? Thanks!
  12. Hi I think this could help you. I have made an experiment in my page. See how it works. <HTML> <HEAD> <title>WebForm1</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <script language="javascript"> function ValueGet(){ var svalue; document.getElementById("DropDownList1").value ="222"; svalue= document.getElementById("DropDownList1").value; document.getElementById("divLabel").value= svalue; } </script> </HEAD> <body MS_POSITIONING="GridLayout" onload="ValueGet()"> <form id="Form1" method="post" runat="server"> <asp:adrotator id="AdRotator1" runat="server" AdvertisementFile="_xml/ads.xml"></asp:adrotator> <asp:DropDownList id="DropDownList1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 64px" runat="server"> <asp:ListItem Value="111" Selected="true">111</asp:ListItem> <asp:ListItem Value="222">222</asp:ListItem> </asp:DropDownList> <asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 104px" runat="server" Text="Button"></asp:Button> <asp:Label id="lblvalue" style="Z-INDEX: 103; LEFT: 16px; POSITION: absolute; TOP: 144px" runat="server">Label</asp:Label> <INPUT id="divLabel" style="Z-INDEX: 104; LEFT: 16px; POSITION: absolute; TOP: 176px" type="text"></form> </body></HTML>
  13. Bluecrest

    Format data

    Hi! is there anyone here knows the expressions in formating the date and decimal? Example changing the date into mm/dd/yyyy or Month Day, Year. In decimal, formating it like 1,000.00. Please help. Give me all of your known expression in formating the data.Thanks
  14. Yah I agree with you! They should have check the data first.
  15. Bluecrest

    Format

    Hi can you help me? Is there anyone here know some expression in formating the data? I mean formating the date into "Month Day, Year" expression or formating the decimal into 2.00. Please post something related. Thank you
  16. SirDo you have code expression in formating the the data in asp? I have few example here.Expression Description{0:C} Currency item based on the locale, For example £29.99{0:D4} A number of the set number plus 1. For example 00124{0:N2}% A number with two decimal places, followed by a percentage sign{0:0.0} A number rounded to one decimal place.{0:D} The date represented as a long string. For example Monday, 20 July 2004{0:dd-MM-yy} The number as defined by the day, month and year code. for example 20-07-04thanks
  17. Hi can you send me all the expression in formating the date and decimal? I only have few of them, eh Expression Description{0:C} Currency item based on the locale, For example £29.99{0:D4} A number of the set number plus 1. For example 00124{0:N2}% A number with two decimal places, followed by a percentage sign{0:0.0} A number rounded to one decimal place.{0:D} The date represented as a long string. For example Monday, 20 July 2004{0:dd-MM-yy} The number as defined by the day, month and year code. for example 20-07-04
×
×
  • Create New...