"pelegk1" <pe*****@discussions.microsoft.comwrote in message
news:C2**********************************@microsof t.com...
1)i have a page that has includes like :
<!--#INCLUDE FILE=FuncInc.asp-->
<!--#INCLUDE FILE=VBEncodeInc.asp-->
i know how to translate the code it self to vb.net, but how should i build
the included files? should i build aspx page with code behind and inherit
each other with it fnction? or any other way?
1) Make the include files UserControls
or
2) User MasterPages
2)how do i extract the date and time seperetly from the Date object?
Depends what you mean by "extract"...
If you just want to display the date part or the time part, then just use
string formatting:
Dim strDate As String = DateTime.Now.ToString("dd MMM yyyy")
Dim strTime As String = DateTime.Now.ToString("HH:mm")
--
Mark Rae
ASP.NET MVP
http://www.markrae.net