DataBase Connection in WPF.

Hi EverOne

Am Working in WPF.......Can Any one Tell Me How to Handle Database Credential in WPF. Is it same as OledbConnection and SQLConnection in System.Data.dll or Some thing Different......Just Wants to know.

[229 byte] By [Saravanan_3i] at [2008-1-8]
# 1
Hi,

This is totally independent of the fact whether you are using WPF, Windows Forms or a command line app.

Best regards,

Benny

BennyTops at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2

Hi Benny,

Then U Mean to Say .......WPF doesnt contains the Control for DB Handling in 3.0. if Developer wants to handle data in Grid then they have to go with 2.0 controls .

Am i right?

Saravanan_3i at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 3
Hi,

I'm not sure I understand you well, but if you mean you are looking for a DataGrid in WPF, then you will be disappointed. You will have to use the WinForms DataGrid control or build your own, of course.

Best regards,

Benny

BennyTops at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 4
There is a sql data source, but it uses whatever database connection string you provide, just like previously. Authentication is always dependent on the connection string for any connection to a sql database, using any technology (remember, it's all using ado.net behind the scene).

In other words you still use DataTable, DataAdapter, the only thing that changes is the DataProvider you use graphically that will in turn go to System.Data.

-SerialSeb- at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 5
Not sure that's waht he meant, as he specifies he wants to k now how to choose credentials...

In any case, XCeed has a veyr powerfull datagrid: http://xceed.com/

-SerialSeb- at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 6
Hi SerialSeb,

I agree with you. It's sometimes really difficult to understand the questions asked on this forum.

Best regards,

Benny

BennyTops at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified