|
how can i accomplish this task in asp.net
|
|
|
|
|
Hi
I am doing a project where i have problem with the requirement.
First,the requirement is to enter date format in mm/dd/yyyy format.
second requriment changed to allow date format in dd/mm/yyyy.
so,whatever may be the format.I want user to enter in any format but the code should be written in such a way that it accepts any format and changes to DateTime format of the database.
using asp.net with c# (it is recomended to use a web.config to achive this)
Please help me. its a issue.
i need more help
mallika
-- modified at 7:08 Friday 5th October, 2007
|
|
|
|
|
The database should not have a date time format, it should store date objects, not strings. Ideally, you would have a user setting that specifies the date format, and then enforces it, DateTime.TryParse has an overload that allows you to specify a format provider, and therefore, a format.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have a web application and I want to avoid multiple users to login on the same application from one system at one time.
For example if a user logins in to an application, and if another user login to the site using single type of browser then the previous user should logout. I am not sure how to implement this but was thinking of using cookies..
could some one tell me the approach
Pavas
|
|
|
|
|
Yes, cookies would help, or you could check the IP of each person as they log in.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks! But how good idea is to have the IP address. If IP addresses are static then what will happen?
Pavas
|
|
|
|
|
Doesn't matter if they are static or not. In fact, static is usually better. But this doesn't matter. I am connected to the web right now. My IP is not static, I don't know my IP address. I do know it won't change until I log off and reconnect to the web. You're talking about someone using the same machine to log in twice. If they do that, the IP will be the same.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes, makes sense..thanks!
Pavas
|
|
|
|
|
hi friends
i have one fileUpload control.
I want to upload file on browse button event when user select file from Open Dialog box.
Thanks In advance
pATHAN
please don't forget to vote on the post that helped you.
|
|
|
|
|
can we select the area on windows application form through mouse at run time.
please help
Piyush Vardhan Singh
|
|
|
|
|
Why on earth would you ask that in the ASP.NET forum ?
Or do you mean in a web app ? Selected for what purpose ? You can't just drag out the mouse and have a bunch of controls go active, no. You have to write code for that sort of thing.
Your sig has changed, I just noticed, your company name and role is gone ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
sorry for the wrong forum selection and i think u r happy to see my signature. if any buddy get happiness with my activity then its pleasure for me. but i want highlight that area which selected by the mouse on widows application form.
Piyush Vardhan Singh
|
|
|
|
|
Draw a rectangle with dot line on mouse click (x1,y1) to mouse leave (x2,y2).
and make visible true/false according to your requirement.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi,
I am using .Net 1.1 for my web application.
And my database server is SQL Server 2005.
My application is running fine, as i can login to it and also able to view pages. But when i open Order management(having 3K records) its give me error,
General Network Error. Check your network documentation
I have also searched many articles and tried following solutions but nothing working
- connectiontimeout = 0, max pool size = 7500/100, pooling = false
- SSL disabling enforce security false as mentioned in microsoft kb article.
And there's nothing any issue with hardware/firewall as my application's login and other forms are working fine(which use same database with same connection string)
Can any one please help me to solve this error?
With Regards,
Mayank Prajapati
MCP, MCTS .Net 2.0
|
|
|
|
|
May be you are fetching 3k records at one shot, try doing paging ?
|
|
|
|
|
hi all,
i am able to set maxlenth while typing the charecters in text box but unble to restrict the lenth while copy paste the text pls help me.
ThanksAndRegards,
Guru
-- modified at 2:15 Thursday 4th October, 2007
|
|
|
|
|
Hi friends.
I want to implement yahoo messanger in my appliaction.
like as www.mig33.com and www.ebuddy.com.
What I have to do to for this?
Thanks in Advance
pATHAN
please don't forget to vote on the post that helped you.
|
|
|
|
|
First you need to Client library and server access configurations.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks parvej
If you have any link for this plz send me
pATHAN
please don't forget to vote on the post that helped you.
|
|
|
|
|
I think google help you for finding the client library.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Ok
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi,
My requirement is: If a mail has been pending in particular login for more than 3 days, a mail should go from admin to that particular login automatically. I am trying to do this in ASP.NET 1.1. Can someone help me out?
Thanks in advance
|
|
|
|
|
pending where ? You mean if it's sitting in someone's outbox and has not been sent ? Where is the mail, and how do you intend to do this with a web app ? Is the web app running on the same server as the mail server ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
It is pending in Someone's Inbox and he didn't open it. Yes, it is a web application and i really dont know how to go at it. Yes, both application and mail server are on the same server.
Thank u
|
|
|
|
|
Then you need to work out how to connect to the mail server ( exchange ? ). What does the app do ? I mean, if you send an admin email automatically, what's the UI do ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|