Bluecrest
Members-
Posts
19 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Bluecrest
-
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
-
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.
-
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
-
Hi! Try this links it is very helpfulhttp://www.asp.net/QuickStart/aspnet/doc/c...rd/default.aspx
-
JS file is a javascript file. What you see in between <script></Script> in html should be the content of the JS file
-
yah it is the problem
-
ok i have got only 317.
-
Please help the cute people here
-
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>
-
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") = ""
-
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>
-
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
-
Yah I agree with you! They should have check the data first.
-
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
-
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