Using DataTables against arrays
-
Hi, I have again here in this section just to have experts comments over my thought: My project is in VB.Net. I was using arrays in vb6 when I was coding, but since when I used VB.Net, I merely use array and almost replaced Datatables wit that. I store several things and results in datatable. My question is should I continue using datatable instead of arrays as it gives me great extension and flexibility. Is it a gud idea. Thanks in advance. Jay Khatri
-
Hi, I have again here in this section just to have experts comments over my thought: My project is in VB.Net. I was using arrays in vb6 when I was coding, but since when I used VB.Net, I merely use array and almost replaced Datatables wit that. I store several things and results in datatable. My question is should I continue using datatable instead of arrays as it gives me great extension and flexibility. Is it a gud idea. Thanks in advance. Jay Khatri
JayKhatri wrote:
My question is should I continue using datatable instead of arrays as it gives me great extension and flexibility. Is it a gud idea.
Yes/no. As stated, it does offer you some advantages over arrays. If it speeds up the development-proces without impacting the performance too much, go for it. It does cost a bit more resources, but most PC's have (often more than) a GB of memory. I'd recommend using a Generic.List though, as they combine the best of both worlds :)
I are Troll :suss:
-
JayKhatri wrote:
My question is should I continue using datatable instead of arrays as it gives me great extension and flexibility. Is it a gud idea.
Yes/no. As stated, it does offer you some advantages over arrays. If it speeds up the development-proces without impacting the performance too much, go for it. It does cost a bit more resources, but most PC's have (often more than) a GB of memory. I'd recommend using a Generic.List though, as they combine the best of both worlds :)
I are Troll :suss: