|
Quite simple explanation is available here[^]
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
HI all,
Can any one tell me how to compare today date(exactly with min also) with the client input date.
|
|
|
|
|
Here is the sample Code
function Compare Date()
{
var LastDate=Date.parse("01/08/2009");
var currentDate=new Date;
if(LastDate ==currentDate)
{
alert("Dates are Equal");
}
if(LastDate>Date.parse(currentDate))
{
alert("Last date greater than Today");
}
else
{
alert("Last Date less than Today");
}
}
Note : In JavaScript Date.parse() method is used to parses a string to a common date format.
Hope this will help you
|
|
|
|
|
I know this very well. But i want to check the current time with the input time in 12hrs(AM/PM).Im getting AM/PM format.
|
|
|
|
|
anu_anu wrote: I know this very well.
Then why you have asked the following question ?
anu_anu wrote: Can any one tell me how to compare today date(exactly with min also) with the client input date.
The answer I have provided to you that was absolutely correct based on your question.
anu_anu wrote: But i want to check the current time with the input time in 12hrs(AM/PM).Im getting AM/PM format.
This is another different question you are asking which has no relation with your previous question. And now I will redirect you to Google
Or you are not clear enough that what you are trying to do ?
|
|
|
|
|
Hello Jana,
Thanks for your reply. Dont get tensed for these things.
Please read it out.
Can any one tell me how to compare today date
(exactly with min also) with the client input date.
|
|
|
|
|
Check this link.[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Thanks Blue_boy i will check it out.
|
|
|
|
|
No problem.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
anu_anu wrote: Dont get tensed for these things.
No my friend
anu_anu wrote: Please read it out.
Can any one tell me how to compare today date
(exactly with min also)
with the client input date.
You know, some times lack of description can redirect you in different place than what you exactly want. You shuld ask the question properly in first time like as you asked me second time, because both the question having two different meaning.
While asking a question, Please read the question as a third person perpective, because they are going to answer you.
Good luck !!
|
|
|
|
|
Thank you for your valuable comments and also for considering me as your friend.
Thank u my friend.
|
|
|
|
|
Welcome.
|
|
|
|
|
I want to create a portal in asp.net as a part of my BE engineering project.
I am in the initial stages of documentation.
One of the modules creating personalized pages for each member with blog facility, personal details and photo gallery. A blog will be created for each user in the portal and they can post articles and stuff on their blog and other members can view their profile and the blog....
I wanna information on that on which asp.net technology can be used and whether it is possible or not.. I am sure it can be done but just need information on the same.
Please let me know....
Thanks
|
|
|
|
|
|
i have already checked that .
its a source code for creating a blog.
i wanna know if i can create a blog for each user in my site.
As in when a user registers in the portal. A blog should be created in his account automatically. ie a personalized blog for each member.
|
|
|
|
|
lionelcyril wrote: As in when a user registers in the portal. A blog should be created in his account automatically. ie a personalized blog for each member.
Oh.. I got your point.
You can have a look into following .NET Open Source Blogging Project
BlogEngine.NET
See the list of Features,
BlogEngine.NET Features
|
|
|
|
|
Still awaiting some favorable replies....
i wanna some rough technical ideas on how to achieve this. Each member can have his own blog in a portal.
|
|
|
|
|
dear all,
i tried to display a falsh object in my asp .net page. but it does not work. what is the correct way for this. can i use addRotator for this...
|
|
|
|
|
This has nothing to do with ASP.NET. Use object[^] HTML element to embed objects to a page.
|
|
|
|
|
|
I m creating a small report in asp.net 1.1
In my report i have two columns fix and resting will be created dynamically.
e.g
------------------------------------------------------------
DataColumn1 | DataColumn2 | ........ | ........ | ........ |
------------------------------------------------------------
01/01/2009 |Qty: | | | |
|Value: | | | |
02/01/2009 |Qty: | | | |
|Value: | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
------------------------------------------------------------
------------------------------------------------------------
I have selected datagrid for this.
but i dont know how i can achieve this
any suggestion??
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Use template column and put another data grid inside that. Handle the row binding event, find the inner data grid and bind it.
|
|
|
|
|
thanks bro
i used rowspan property
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Hi this is the scenario:
The users of my site can get a link with a refer code (query string) to promote their products on their blogs or sites.
I want to track those codes so if a order is created I can give points to refer users as a kind of omission.
The problem is before visitor creates an order he/she needs to log in or even register to the site.
So I'm looking for a way to trap that code once the visitor enter to my site and don't loose it when he\she log in with a new session .
I was thinking to store that code in the session or profile but it will change once the visitor logs in.
In brief I need to capture a refer query string value once the visitor came to mi site, store it and if he/she log in and create an order I can know whow refer him/her.
I'm using asp.net 3.5.
I'm going to try some things but I would like to know if you can suggest me something.
Thanks
La realidad no es más que impulsos eléctricos del cerebro - Morpheus
|
|
|
|
|
1 - You get a request with the code in URL as query string.
2 - Keep that in a session.
3 - When user logs in, check this session's value. If session has value, take the code and proceed.
machocr wrote: I was thinking to store that code in the session or profile but it will change once the visitor logs in.
I didn't understood this. How come a value stored in session changes when user logs in?
|
|
|
|