PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Best Practice from Oracle DB to DataGridView

Reply

Best Practice from Oracle DB to DataGridView

 
Thread Tools Rate Thread
Old 13-09-2006, 11:24 PM   #1
newtonwong@gmail.com
Guest
 
Posts: n/a
Default Best Practice from Oracle DB to DataGridView


Hi,

I'm wondering whats the best practice to accomplish the following
display in a DataGridView.

1. Perform a Query to an Oracle DB with a multiple join select that
returns multiple rows. (Should I use a DB object i.e. Stored Procedure,
Function, View, or nothing)

2. Bind the rows/data to a DataGridView via DataAdapter or
DataTable/Set.

What is most people/the best practice for doing the listed? I heard
using ref Cursors but they cause headaches. Is there a practice that
allows me to do everything via the VS2005 IDE?

Thanks in advance.

Newton

  Reply With Quote
Old 14-09-2006, 06:00 AM   #2
Cor Ligthert [MVP]
Guest
 
Posts: n/a
Default Re: Best Practice from Oracle DB to DataGridView

Newtonwong,

You asked for the best practise.

Very very often is written in this newsgroup from more than one regular.

"Do not use Joins with dataadapters"

Cor

<newtonwong@gmail.com> schreef in bericht
news:1158186290.713440.194840@i42g2000cwa.googlegroups.com...
> Hi,
>
> I'm wondering whats the best practice to accomplish the following
> display in a DataGridView.
>
> 1. Perform a Query to an Oracle DB with a multiple join select that
> returns multiple rows. (Should I use a DB object i.e. Stored Procedure,
> Function, View, or nothing)
>
> 2. Bind the rows/data to a DataGridView via DataAdapter or
> DataTable/Set.
>
> What is most people/the best practice for doing the listed? I heard
> using ref Cursors but they cause headaches. Is there a practice that
> allows me to do everything via the VS2005 IDE?
>
> Thanks in advance.
>
> Newton
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off