Is Data control or plain coding good for data accessessing in VB.Net ?
-
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:
-
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:
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 -
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:
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.”
-
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.”
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.