|
|
you can take help from following link,
http://blog.sqlauthority.com/2007/04/29/sql-server-random-number-generator-script-sql-query/
Hope it will help,Bajrang Singh
Using .net 2.0 (VS2005)
|
|
|
|
|
I create a Datalist and add photos to it in Asp.net.
I need to enlarge the photo when it click.
Selected picture only enlarge when it press and press on other enlarge that picture
Thanks
vipin o.s
|
|
|
|
|
You can use AJAX Model Popup Extender
Or can do using Javascript by show/hide div
onmouseover="showLarge('images\largeImage.jpg');"Best Regards,
Chetan Patel
|
|
|
|
|
As Chetan suggested you can AJAX Modal Popup or you can use JQuery
|
|
|
|
|
|
Problem loading stylesheet - not loaded because its MIME type, "text/html", is not "text/css".
|
|
|
|
|
The reference required should look like:
<link href="CSS/Screen.css" rel="stylesheet" type="text/css" media="screen" /> Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
Thanks for your reply! I found the solution. In my case,
the particular part is mentioned under 'deny user'(while not logged on) category in web.config.That's y the style sheet was not loaded. I resolved this by mentioned the 'allow user' property.
|
|
|
|
|
For this article I have used date validation. There is already asp tag to validate date.
<asp:CompareValidator id="dateValidator" runat="server" Type="Date" Operator="DataTypeCheck" ControlToValidate="txtDob" ErrorMessage="Not a valid date."></asp:CompareValidator>
This method doesn't validate all date format.
The following method will validate all date format.See Detail posting
click here to see solution
|
|
|
|
|
Hello,
I have following javascript below it works fine with IE explorer when i try to insert special characters in textbox it does not except it. But when i run this in firefox it does not have any effect it excepts special characters in texbox.Can anybody solve this problem it will be a great help? Thanks in Advance.
<script language="JavaScript" type="text/javascript">
function NumberOnly()
{
var keyASCII = window.event.keyCode;
var keyValue = String.fromCharCode(keyASCII);
if (!(keyASCII >= '97' && keyASCII <= '122') && !(keyASCII >= '65' && keyASCII <= '91') && !(keyValue >= '0' && keyValue <= '9'))
{
window.event.keyCode = 0;
}
}
</script>
<asp:TextBox ID="txtbName" onkeypress = "NumberOnly()" runat="server" BorderStyle="Solid"
BorderWidth="1px" BorderColor="#CCCCCC" BackColor="White" Width="150px"
CausesValidation="True" Height="20px" MaxLength="50"></asp:TextBox>
|
|
|
|
|
http://www.google.com/search?hl=en&q=keycode+javascript+firefox+%26+IE&aq=f&oq=&aqiLife Is Beautiful
modified on Saturday, February 20, 2010 6:32 AM
|
|
|
|
|
use the bellow code..
if (window.event)
{
keyASCII = window.event.keyCode;
}
else if (event.which)
{
keyASCII = event.which;
}
|
|
|
|
|
Can anyone tell me how to retrieve the system name and ip address of the local machine???
|
|
|
|
|
|
Hi
Thanks a lot. Can u help me out with the other post i ve sent too pl??
|
|
|
|
|
Check Out..! I already posted..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
What do you mean by local machine ? You want IP Address of Server or Client Systems ?
|
|
|
|
|
If you want the IP of client machine,You can use the server variables. Cheers!!
Brij
|
|
|
|
|
HI,
I m creating a login page in asp.net..i need to use web service method and write stored procedure to check if user name and pwd are correct..if its right then need to direct the user to another page else display an error...since response.redirect wont work in web service can u suggest how to go about it???
|
|
|
|
|
Get The Status from web service like true or false and redirect from ur code..!
But Why would you use webservice to check if user name and pwd are correct.You can use normal method..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
How do we get the status????
Ya i know...but i m asked to use the webservice method for everything.
|
|
|
|
|
Check this Code..!
[WebMethod]
public bool Name()
{
If (Condition)
{
return true;
}
else return false;
}
In your Code..!
localhost.Service1 svc = new Service1();
bool ssd= svc.Name();
if(ssd)
Response.Redirect("YourPage.aspx)
First Try To learn abt the webservices usuage in asp.net
Calling Web Service using ASP.NET[^]
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Check for web service status (i.e.,What is it return type), according to it process your code.
|
|
|
|
|
Are you calling the WebService from the client? If so then you’ll need to check the result in your success callback, if the user is validated then you can redirect using JavaScript window.location.assign("MyNewPage.htm")
|
|
|
|