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. General Programming
  3. Visual Basic
  4. Is Data control or plain coding good for data accessessing in VB.Net ?

Is Data control or plain coding good for data accessessing in VB.Net ?

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
4 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.
  • T Offline
    T Offline
    tiagu
    wrote on last edited by
    #1

    I have a couple of doubts and need clarification 1) Is Data control or plain coding good for data accessessing in VB.Net ?   Books said it was not good to program using data control (back in vb6 and so I was good at plain coding). 2) If Data control is okay can I use both Data control and plain coding (seperately, ofcourse) in the same project ? It is my doubt for a long time and someone please clarify.   Thank you. :suss:

    D H 2 Replies Last reply
    0
    • T tiagu

      I have a couple of doubts and need clarification 1) Is Data control or plain coding good for data accessessing in VB.Net ?   Books said it was not good to program using data control (back in vb6 and so I was good at plain coding). 2) If Data control is okay can I use both Data control and plain coding (seperately, ofcourse) in the same project ? It is my doubt for a long time and someone please clarify.   Thank you. :suss:

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      tiagu wrote:

      ) Is Data control or plain coding good for data accessessing in VB.Net ? Books said it was not good to program using data control (back in vb6 and so I was good at plain coding).

      Are you trying to learn VB.NET using an old VB6 book?? Don't. Pickup a book on VB.NET. It's VASTLY different and far better than VB6. I have no idea what you're talking about when you say "Data control" and "plain coding". You're going to have to explain these for us to give you any kind of meaningful answer.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      1 Reply Last reply
      0
      • T tiagu

        I have a couple of doubts and need clarification 1) Is Data control or plain coding good for data accessessing in VB.Net ?   Books said it was not good to program using data control (back in vb6 and so I was good at plain coding). 2) If Data control is okay can I use both Data control and plain coding (seperately, ofcourse) in the same project ? It is my doubt for a long time and someone please clarify.   Thank you. :suss:

        H Offline
        H Offline
        Henry Minute
        wrote on last edited by
        #3

        tiagu wrote:

        Is Data control or plain coding good for data accessessing in VB.Net ?

        For a lot of data access scenarios, it is far better to use the inbuilt VB.Net Controls, as the coding effort required to implement their traffic reducing features and security alone , would be enormous. The .Net versions are far and away better than previous versions.

        tiagu wrote:

        can I use both Data control and plain coding (seperately, ofcourse) in the same project

        Yes. But you will need to learn about the Currency Management features of .NET, at the very least, to ensure no interaction problems.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

        T 1 Reply Last reply
        0
        • H Henry Minute

          tiagu wrote:

          Is Data control or plain coding good for data accessessing in VB.Net ?

          For a lot of data access scenarios, it is far better to use the inbuilt VB.Net Controls, as the coding effort required to implement their traffic reducing features and security alone , would be enormous. The .Net versions are far and away better than previous versions.

          tiagu wrote:

          can I use both Data control and plain coding (seperately, ofcourse) in the same project

          Yes. But you will need to learn about the Currency Management features of .NET, at the very least, to ensure no interaction problems.

          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

          T Offline
          T Offline
          tiagu
          wrote on last edited by
          #4

          Dave and Henru, in VB6 we can add a data control to the form and then write little coding to make it work effeciently.   By plain codeing i meant interacting with database without using this data control.   I was reading VB.Net books and still assumed data control has to be dragged to the form like in VB6. I am new to VB.Net.   And I naturally assumed I had to add a data control to the form for data interaction.   In the past 4 or 5 days   I have learnt through VB.Net documentation (this time carefully) that with inbuilt data control (as Henry said) we can code using data adapter, dataset and so on. Now I think i am beginig to understand the answer to my own question (ofcourse with your help). Thank you both for taking time to answer my pretty vague question. Thank you once again with hearty gratitude. Thank you Henry for your encouraging and sympathetic answer.   Thank you.

          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