Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Few Queries

Few Queries

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netdatabase
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vishalmishra
    wrote on last edited by
    #1

    hii i m using an ASP.NET Web Application and i ve few doubts.. hope they ll be cleared... i m using Oracle 8i as the database 1) when i want to enter the system date from the VB.NET interface through 'Today.Date.Date' its not being entered in the database.. as the date format by 'Today.Date.Date' command is MM/DD/YYYY and the date datatype in Oracle is DD/MM/YY.. 2) how can u use a timer ?? for eg. suppose i want one label to show up for sometime.. then after sometime(from the time this label is visible), another label becomes visible.. i ve tried 'Timer1.start' but dunno how to calculate the time n check whether timer finished or not ?? 3) how can i make a function(made by me) in one form to communicate in another ?? and also how can i use the values retrived on the interface on one another form ?

    A D 2 Replies Last reply
    0
    • V vishalmishra

      hii i m using an ASP.NET Web Application and i ve few doubts.. hope they ll be cleared... i m using Oracle 8i as the database 1) when i want to enter the system date from the VB.NET interface through 'Today.Date.Date' its not being entered in the database.. as the date format by 'Today.Date.Date' command is MM/DD/YYYY and the date datatype in Oracle is DD/MM/YY.. 2) how can u use a timer ?? for eg. suppose i want one label to show up for sometime.. then after sometime(from the time this label is visible), another label becomes visible.. i ve tried 'Timer1.start' but dunno how to calculate the time n check whether timer finished or not ?? 3) how can i make a function(made by me) in one form to communicate in another ?? and also how can i use the values retrived on the interface on one another form ?

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      Format Date as DateTime.Today.Date.ToString("dd/MM/yyyy");

      1 Reply Last reply
      0
      • V vishalmishra

        hii i m using an ASP.NET Web Application and i ve few doubts.. hope they ll be cleared... i m using Oracle 8i as the database 1) when i want to enter the system date from the VB.NET interface through 'Today.Date.Date' its not being entered in the database.. as the date format by 'Today.Date.Date' command is MM/DD/YYYY and the date datatype in Oracle is DD/MM/YY.. 2) how can u use a timer ?? for eg. suppose i want one label to show up for sometime.. then after sometime(from the time this label is visible), another label becomes visible.. i ve tried 'Timer1.start' but dunno how to calculate the time n check whether timer finished or not ?? 3) how can i make a function(made by me) in one form to communicate in another ?? and also how can i use the values retrived on the interface on one another form ?

        D Offline
        D Offline
        DELETEUSER
        wrote on last edited by
        #3
        1. when i want to enter the system date from the VB.NET interface through 'Today.Date.Date' ...... DateTime.Now.ToString("REPLACE THIS WITH THE BELOW ALPHABET"); /** Output. * * d :08/17/2000 * D :Thursday, August 17, 2000 * f :Thursday, August 17, 2000 16:32 * F :Thursday, August 17, 2000 16:32:32 * g :08/17/2000 16:32 * G :08/17/2000 16:32:32 * m :August 17 * r :Thu, 17 Aug 2000 23:32:32 GMT * s :2000-08-17T16:32:32 * t :16:32 * T :16:32:32 * u :2000-08-17 23:32:32Z * U :Thursday, August 17, 2000 23:32:32 * y :August, 2000 * dddd, MMMM dd yyyy :Thursday, August 17 2000 * ddd, MMM d "'"yy :Thu, Aug 17 '00 * dddd, MMMM dd :Thursday, August 17 * M/yy :8/00 * dd-MM-yy :17-08-00 */ } 2) how can u use a timer ?? for eg. suppose i want one label to show up for sometime.. then after sometime(from the time this label is visible)..... Use the TimeSpan method. As far as I can recall the Timer instance also accepts the TimeSpan and the callback delegate which I believe is going to be your label. 3)and also how can i use the values retrived on the interface on one another form ? ............ Have you tried session, application, cache variables.... ---------- user9 A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.
        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups