|
you are using ajaexenabled websites na !!!!
use ajax enabled sites. and dont initilize local variable inside the Timer_Tick(), because it will remain same
let me know if any problems
|
|
|
|
|
i am not using the ajax enables website , it is a asp.net site , there i am using the timer control.
Is it mandatory to use the ajax enabled website , in order to use the timer control?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
|
Do u Know something regarding this Problem
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Hi...
I registered an assembly in GAC and try to add reference to one another project but it's not coming i mean the registered assembly is not coming in to the reference window ..can any body help me to solve this ....please
regards
alex
modified on Tuesday, January 15, 2008 3:56:19 AM
|
|
|
|
|
Hello Friends,
I've designed a persistent cookie and it is saved in my system's cookie folder and when i change it's value from the cookie folder. But still it brings old value not modified value. But i think a cookie can easily be modified.
|
|
|
|
|
Is that possible to write a ASP.NET code to connect to SAP without creating a SAP Proxy from SAP.NET connector? I found that a old VBSCRIPT can create a connection, link direct to SAP server, and retrieve data from RFC. But i found nothing by only SAP.NET connector to connect to SAP when using .NET framework.
The reason because we found some difficulties when creating a proxy since the SAP server is quite old version. Please help
|
|
|
|
|
I have three column in the gridview , The first two have the numeric values(populating both the row data from the database.)The third one is the button , that calculates , the greater between them.Now my question is , how should i ascertain , which one is greater using the java script , sending the request to server is solving my problem , but that seems a very lengthy process.Can i do it using the row bound data function?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
I declare the numeric output parameter to extract the numeric values in stored procedure , but i am unable to retrieve the data if i write
declare @data varchar(100) output
i am using the SqlCommand.ExecuteScalar() , to extract the string value , I wrote the Query in the stored procedure .Is there any way , to retrieve the string value (query in sp) , by declaring the string parameter as output , without using the SqlCommand.ExecureScalar() function.
Because numeric values are comming without using the
SqlCommand.ExecureScalar()
by merely declaring the parameter as output
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
In your .NET code, create a SqlParameter object that represents your output variable. Declare the parameter type as InputOutput. Execute your stored procedure. You can then retrieve the value of the output parameter by referencing the value of your SqlParameter object.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Thank You Sir.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Public Function ChangeDateFormat(ByVal tDate2Format As String) As String
ChangeDateFormat = ""
Dim tRetDate As String = ""
Dim datformat As DateTime
Dim dts As String
Try
dts = tDate2Format
Convert.ToDateTime(dts).ToString("MM/dd/yyyy")
If DateTime.TryParse(tDate2Format, datformat) Then
tRetDate = datformat.ToString("dd/MM/yyyy")
Return tRetDate
End If
Return tRetDate
Catch ex As Exception
tRetDate = Nothing
End Try
End Function
using this date function iam able to remove the time when date is in MM/dd/yyyy formate date is passed to this function .but the problem is that some dates are in dd/mm/yyyy with time format then this is not accepting the date and it showing this error
String was not recognized as a valid DateTime: how this probelem solved
|
|
|
|
|
jagadeeshkumar2106 wrote: ChangeDateFormat(ByVal tDate2Format As String) As String
In this function it is mandatory , to have the date format in mm/dd/yyyy in the function paraanthesis , otherwise convert it into mm/dd/yyyy and further format it in any pattern .
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
hi Pankaj Garg will u tell the method to covert the string date which is in dd/mm/yyyy format to mm/dd/yyyy format
|
|
|
|
|
Sorry , i don't know any predefined function for the conversion.
So far i did it using the split method.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
wil u help how to convert this 25/01/2008 to 01/25/2008 using the split method sir
|
|
|
|
|
string str = a.Text.Trim().ToString().Split('/').GetValue(1).ToString() + "/" + a.Text.Trim().ToString().Split('/').GetValue(0).ToString() + "/" + a.Text.Trim().ToString().Split('/').GetValue(2).ToString();
datetime t;
if(Datetime.tryparse(str , out t))
{
Hope this should solve the problem
}
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Hi,
I'm a newbie and am a little stuck.
I am attempting the "easy" task of adding a contact us user form that sends email directly to my accout.
My cs page looks like this:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Net.Mail;
namespace TimePlaces
{
public partial class Contact : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void txtSubmit_Click(object sender, EventArgs e)
{
MailMessage Mail = new MailMessage();
MailAddress ma = new MailAddress(txtEmail.Text, txtName.Text);
Mail.From = ma;
Mail.To.Add("info@timeplaces.com");
Mail.Subject = txtSubject.Text;
Mail.Body = txtBody.Text;
try
{
SmtpClient smtpMailobj = new SmtpClient();
smtpMailobj.Host = "localhost";
smtpMailobj.Send(Mail);
Response.Write("Your email has been sent successfully");
}
catch (Exception ex)
{
Response.Write("Message Delivery Fails");
}
}
}
}
The error I receive when I build then start w/out debugging is:
Compiler Error Message: CS0117: 'ASP.contact_aspx' does not contain a definition for 'txtSubmit_Click'
Can anyone help?
Thanks in advance.
TTG
|
|
|
|
|
go to ur source file , and check the click event into the tag , of that control , whether it is matchng or not.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
hi
freind
u use code bihind namespace TimePlaces
so u write
in
html page
Inherits="TimePlaces.contact"
and then try
but i not confirm
no knowledge in .net
|
|
|
|
|
<membership userIsOnlineTimeWindow="1">
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add connectionStringName="SIMSys_ConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</membership>
I posted a question regarding changing the password to u people.Actually the pbm arise in web.config file.The error is no such membership provider.The membership provider in webconfig is attached with this mail.please check it and tell what is the problem.its urgent sir..so i ask tou .there is no other error.
|
|
|
|
|
|
Hi,
Any idea on how to create a simple internal site search so user can find information in my web site? I try Index Service but the result appear to be unfriendly. My web pages (ASPX) dont have any meta tag.
Please help.
Thx.
|
|
|
|
|
Hope this link will help u.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
well it seems it working with HTML files only. How about ASPX files. I try to modify the filter from HTML to ASPX. But it return to be no title and no description.
please help.
Thx.
|
|
|
|