|
This[^] might help you.
Don't forget to mark 'Good Answer' if you find it really good one
|
|
|
|
|
Hello all , i've a calender that i want the user to navigate through a particular period of time ,for instance he has to apply for a vacation 3 days in advance ,and can only apply for a vacation in this year , so the calender range should be from NOW +3 days to NOW + an year this is the code and the calender doesnt comply to it why? how to fix it?
Protected Sub ddlVacationTypes_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlVacationTypes.SelectedIndexChanged
Dim startDate As DateTime = Convert.ToDateTime(Now.ToShortDateString)
Select Case ddlVacationTypes.SelectedIndex
Case 0, 2, 3
startDate = startDate.AddMonths(1)
Case 1
startDate = startDate.AddDays(3)
End Select
Dim endDate As DateTime = startDate.AddYears(1)
Dim dateSpan As TimeSpan = endDate.Date - startDate.Date
Calendar1.SelectedDates.Clear()
Dim i As Integer = 0
For i = 1 To dateSpan.Days
Calendar1.SelectedDates.Add(startDate.AddDays(i))
Next
End Sub
modified on Monday, November 9, 2009 2:23 AM
|
|
|
|
|
|
Obout tools are awesome ,it opened a whole new world for me i really don know how to thank you ,Thank you veeeeeeeeeeeery muuuuuuuuuuuuuuuch
|
|
|
|
|
Most welcome friend.
Cheers.
|
|
|
|
|
This is in a website ?
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.
|
|
|
|
|
Thank you for replying
yes It is a website ,
Abhishek Sur has replied with a very good solution ,check it out
thx again
|
|
|
|
|
Hi all,
I have a class Employee with Fields ID, Name Dept Salary.
I have a gridview to show them with datasource Emps (a List<employee> object).
my queries are:
1) How Can I insert a new employee in the gridview and insert it into database using Emp.Save() method.
2) In the same manner how can I update it.
|
|
|
|
|
|
Hi.
last night every thing was ok.
please see these:
http://ibrc.ir
http://acme-security.com
now flash files don't be shown. why? virus? or host problem?
there are more than 40 web sites with this problem.
|
|
|
|
|
ROTFL !!! The flash files are working fine. Try testing on a computer with Flash installed.
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.
|
|
|
|
|
My Dear Friend!
Are u kidding me?
I found it. I hope u read this message.
The goverment filtered swf file. I'm Iranian.
Iranian f***in President is a dictator.
Free Iran
|
|
|
|
|
What problem you are facing.. I can see the flash objects perfectly for those sites mentioned.
|
|
|
|
|
mohandesmehran wrote: now flash files don't be shown. why? virus? or host problem?
there are more than 40 web sites with this problem.
These Flash are working fine on your Web Sites. As CG suggessted, please check your browser having Flash plugin installed or not.
Thanks
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Does anyone know how I can get involved in the development of an open source project on here?
thanks
|
|
|
|
|
mnemonic69 wrote: Does anyone know how I can get involved in the development of an open source project on here?
You mean in Code Project ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Form a group and build your own project. Upload here with a sweet article .. and publish your code in Codeplex or whereever you want.
|
|
|
|
|
CodeProject doesn't host any open-source projects. You can try Sourceforge, google code or codeplex. Those are leading sites that host open-source projects.
Also, you are in wrong forum. Please read the guidelines when you post next time.
Best wishes,
Navaneeth
|
|
|
|
|
There are no open source projects on code project, as others have said. It IS a good idea to get involved in something like this as an aid to learning, so I'd say go to source forge, look for a project that interests you, and get involved.
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.
|
|
|
|
|
Hello experts!!
Now my mail is successfully send but it not recieved at to address.
I dont knw wats the exact problem?
i done all IIS settings as i googled for that.
Is there any security problem at yahoo,gmail...etc?
|
|
|
|
|
Check You Will Get Failure Delivery to To address Sometimes..!
Then There is security problem..!
There Must be From Address related problems also..!
BTW Which Credentials You are Using ..!
some domain names restrict some address..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Exactly sir...when i used gmail server then it works well...but for localhost it gives error!!!
Then how to tackle this problem?
|
|
|
|
|
KIDYA wrote: .but for localhost it gives error!!!
You mean you are using localhost as SMTP Server ? Did you read CG's Last Answer ? Does you SMTP Configured Properly ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
KIDYA wrote: Now my mail is successfully send but it not recieved at to address.
1. Make Sure SMTP Configured Properly
2. Make Sure SMTP Port is not blocked by Network FireWall
3. Check SMTP Queue is Empty or Mails are staying over there.
Thanks !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Sir can u please tell me how to check smtp queue?
i almost done all smtp settings that i googled.
|
|
|
|