•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 427,219 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,241 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 436 | Replies: 1
![]() |
•
•
Join Date: Jan 2008
Posts: 13
Reputation:
Rep Power: 1
Solved Threads: 0
How to pass variable from calender server control A to another calenderservercontrol
#1
Feb 21st, 2008
I need get at variable from calender control A after get the variable i process it and do calculate then how to past that variable to calender control B because i need get another date from calender control B to do calculation.Got any suggestion ?How to using calender pop out for key in my date.This is urgent please help me thanks
here my coding
how to get the value variable TolProd pass to another web server control. I have try b4 but
the TolProd variable initial to 0 again
here my coding
Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar1.SelectionChanged
Tolpartcompleadtime = maxnum * 7
fml = txtleadtime.Text
TolProd = Tolpartcompleadtime + fml
RequestDate = Calendar1.SelectedDate.ToShortDateString()
startMafDate = DateAdd(DateInterval.DayOfYear, -TolProd, RequestDate)
lblTotal.Text = TolProd
lbldate.Text = startMafDate
End Sub
Protected Sub Calendar2_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar2.SelectionChanged
SOplaceorderdate = Calendar2.SelectedDate.ToShortDateString()
If (DateTime.Compare(SOplaceorderdate, startMafDate) < 0) Then
Label7.Text = TolProd
Else
t = 3 + Tolpartcompleadtime
suggDate = DateAdd(DateInterval.DayOfYear, +t, SOplaceorderdate)
Label7.Text = "Suggestion Date is:" & suggDate
Label6.Text = abc
End If
End Subthe TolProd variable initial to 0 again
Newbie for programming
•
•
Join Date: Jan 2008
Posts: 13
Reputation:
Rep Power: 1
Solved Threads: 0
Re: How to pass variable from calender server control A to another calenderservercontrol
#2
Feb 21st, 2008
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ad advertising architecture backup beta business centro crash daniweb database decimal seperator thousand seperator when using sql server dell development doubleclick enterprise google how to run your visual studio web applications with iis 7 instead of default virtual web server hyper-v internet linux longhorn mail microsoft mmorpg news novell open qmail red hat rhel server server 2008 smtp software source suse vmware windows windows server you tried to assign the null value to a variable that is not a variant data type
- Previous Thread: How to calculate date with integer
- Next Thread: Website design & development firm with custom application outsourcing services.


Linear Mode