|
First try to implement that ..!
Once You got the address its matter of time You can get the lats and long.
With the help of google interface You can get ..!
all the best
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
<html>
<head><title>SALARY DETAILS</title>
</head>
<body>
<form name=frm action="sal.aspx">
Emplyee Name:<input type=text name=txtname><br>
HRA :<input type=text name=txthra><br>
DA :<input type=text name=txtda><br>
TA :<input type=text name=txtta><br>
PF :<input type=text name=txtpf><br>
Salary :<input type=text name=txtpf><br>
<input type=button name=btn value=Calculte onclick=checks()>
<script language="javascript">
function checks()
{
if(document.frm.txthra.value>100)
{
alert("HRA CANT Be More Than 100");
document.frm.txthra.focus();
}
else if(document.frm.txtda.value>100)
{
alert("DA CANT Be More Than 100");
document.frm.txtda.focus();
}
else if(document.frm.txtta.value>100)
{
alert("TA CANT Be More Than 100");
document.frm.txtta.focus();
}
else if(document.frm.txtpf.value>100)
{
alert("PF CANT Be More Than 100");
document.frm.txtpf.focus();
}
else
{
document.frm.submit();
}
}
</scrip></form>
</body>
</html>
getting error at <input type=button name=btn value=Calculte onclick=checks()>
|
|
|
|
|
assign id also .... like this
HRA :<input type=text name="txthra" id="txthra" ><br>
|
|
|
|
|
Hi,
I prepared a bookmark related exe, now I want to add it to mozilla fire fox and internet explorer. Is it possible to add our application to browser through programmatic way. If you have any references please send me.....
Thanks In advance........
sampath-padamatinti
|
|
|
|
|
after user login how we get their details in detail view component. like in login form if we insert abc as username and some password..after login how i can display the information of abc in details view component... there details are saved in database
|
|
|
|
|
plz send me the code in c#
|
|
|
|
|
get the MemberShip object and you'll get all the related info and feed to the controls manually.
|
|
|
|
|
If you're using the Microsoft login control, have you bothered to read the documentation ? I believe there's a control whose only purpose is to show those details when someone is logged in.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
tell me the code in asp.net
|
|
|
|
|
No - try to do your own work and ask specific questions when you can show that you've put some effort in instead of asking us to write the code for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
i have made asp based web page using C# in which there is a login form and it is running well But I want to implement another thing in it . I want to have "remember me" component in it.Plz send me the code for it in C#
.
Thankx
|
|
|
|
|
If the Check box is enabled you can work with this Code
you can try FormsAuthenticationTicket and add it to Cookie.
|
|
|
|
|
how could it do this? I mean don't know how to put the code of "formsAuthentication" and add it to the cookie..that's why i have asked to do so...
|
|
|
|
|
are you using FormAuthentication as first place? If so, you don't have to add code to the cookie, add Authentication Ticket to the cookie.
|
|
|
|
|
|
store the credentials in a Cookie if 'Remember Me' is selected and later retrieve data from the cookie to pre-populate the fields.
|
|
|
|
|
I would like to get the local printers on the client computer in order for the client to pick from in a dropdown box and then print to. Is this possible?
|
|
|
|
|
You can just invoke window.print in the client browser. It open up the print dialog box where there is already one dropdown box to choose printers.
Certain things are not accessible in browser due to security reasons. Direct access to printer is not possible.
|
|
|
|
|
Hi,
I am importing data to sqlserver2005 from a csv file. But the folder where i upload the file before import is unaccessible even though i have given full rights to everyone accessing this folder or even the root folder of the application for testing purposes. I am getting error 'invalid File' (though the file is valid csv) on my system where Norton and Kaspersky are installed but when i tryed to import data from same file using other system it did not give error and file was uploaded successfully and then imported to database. I have restarted the deployment server. Should i restart iis admin servies or what should i do. I have given full rights on the folder where i m uploading the file before importing it to database.
Thanks,
Safvi
|
|
|
|
|
have you selected the option in advance to implement those permission on child object?
|
|
|
|
|
The follwing piece of code is working accuratly some time while inaccuratly on other system. Working ok on local system and even on one system after deplyment.
Dim intFileNameLength As Integer = InStr(1, StrReverse(strPath), "\")
FileName = Mid(strPath, (Len(strPath) - intFileNameLength) + 2)
If Right(FileName, 4).ToLower <> ".txt" And Right(FileName, 4).ToLower <> ".csv" Then
ErrorControlStep1.ErrorMessage = "Invalid File"
ErrorControlStep1.Visible = True
Exit Sub
Else
....
...
End if
What could be the reason. May be this <> operator. while the file was csv not any other.
Thanks for ur reply.
Safvi
|
|
|
|
|
If you try to cut - > paste the file manually from the folder to another, does it allow you to do so?
If not, I think IIS must have held the file while uploading. Just restart the IIS Service from IIS console and see if it cures the problem or not.
|
|
|
|
|
The follwing piece of code is working accuratly some time while inaccuratly on other system. Working ok on local system and even on one system after deplyment.
Dim intFileNameLength As Integer = InStr(1, StrReverse(strPath), "\")
FileName = Mid(strPath, (Len(strPath) - intFileNameLength) + 2)
If Right(FileName, 4).ToLower <> ".txt" And Right(FileName, 4).ToLower <> ".csv" Then
ErrorControlStep1.ErrorMessage = "Invalid File"
ErrorControlStep1.Visible = True
Exit Sub
Else
....
...
End if
What could be the reason. May be this <> operator. while the file was csv not any other.
Thanks for ur reply.
Safvi
|
|
|
|
|
K.Safvi wrote: FileName = Mid(strPath, (Len(strPath) - intFileNameLength) + 2)
Horrible. Check out the Path class ( system.IO.Path ), it has methods to return filenames, file extensions, etc.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|