A property of the Flex DataGrid and AdvancedDataGrid used to specify a data source.
Questions tagged [dataprovider]
497 questions
2
votes
1 answer
How to generate typed datasets for multiple database platforms?
I want to generate a typed DataSet for both Oracle and DB2 databases from a single XSD file.
Background:
When I drag a table onto the Visual Studio Dataset Designer, it generates a XSD file (e.g. DataSet1.xsd) with all appropriate information. Then…

Oliver Abraham
- 73
- 5
2
votes
2 answers
How to get the item parent in a flex tree when using nested objects as data provider?
I have a Flex tree with an ArrayCollection as data provider. The collection holds an array of CategoryVO objects. Each object can have another array of CategoryVO objects inside it's "child" attribute. This way the tree displays the data…

Thomas Müller
- 1,433
- 11
- 24
2
votes
0 answers
SQLite returns DATETIME column value as string
I used Visual Studio 2010 with the System.Data.SQLite data provider to create a schema where one of the tables 'mytable' has a column 'mydatetime' of type DATETIME. My application (using that provider) stored a C# nullable DateTime value (DateTime?)…

Zenilogix
- 1,318
- 1
- 15
- 31
2
votes
2 answers
showing columns from joined tables in CGridView
I joined some tables in model by CDbCriteria my code is something like this :
$crt = new CDbCriteria();
$crt->alias = 'so';
$crt->select = 'u.id, u.first_name, u.last_name';
$crt->join = " inner join " .…

hamedkh
- 909
- 3
- 18
- 35
2
votes
1 answer
Why CListView dataProvider fails to manage the data received from Sphinx?
I use Sphinx to generate a list of needed ID's. On this list of ID's I apply filters using the Sphinx language and then I create and return a new CActiveDataProvider using the Search Model method;
image example
$dataProvider = new…

Ionut Flavius Pogacian
- 4,750
- 14
- 58
- 100
2
votes
3 answers
How Can I Prevent Recurring Automatic Connections to Oracle Database?
Background
We have a C#/VB.net client application consuming a WCF service which connects to an Oracle database. The web service connects to the database using the .NET framework's data provider for Oracle (not to be confused with ODP). Our testers…

T. Yates
- 51
- 1
- 9
2
votes
1 answer
DataContext with MSAccess as Data Provider
I try use ms access as data provider but it give me exception.
static void Main(string[] args)
{
DataContext dx = new DataContext(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Data\mail.accdb;Persist Security…

Hensembryan
- 1,067
- 3
- 14
- 31
1
vote
3 answers
Accessing a dataProvider with indexOf
I have a list object and I'm adding items to it with addItem through the dataProvider.
Before adding an item to the list I want to make sure it's not a duplicate. I've tried using indexOf on the dataProvider and it returns null. I've tried casting…

metric152
- 422
- 4
- 16
1
vote
1 answer
Flex DataGrid Issue with Rendering and Scrolling
This feels like it should be a fairly simple issue but we've been at it all day and cant' figure it out.
We're using the default Flex Datagrid with no ItemRenderer. Our grid is linked to an model which is an ArrayCollection. There are a number of…

fufonzo
- 171
- 1
- 6
1
vote
1 answer
Testng marked a test as success when it should fail
I have test code as below. test1 passes the test but test2 failed when I expect both to fail. Can anyone please explain why this happens?
@Test(dataProvider="prov")
public void test1(int x, int y){
System.out.println("x=" + x + ", y=" + y);
…

tanyehzheng
- 2,201
- 1
- 20
- 33
1
vote
1 answer
Managing DBContext state behind a data provider interface
I have an interface IDataProvider which exposes (for sake of discussion) just 3 operations:
public interface IDataProvider
{
// get a list of projects (just metadata)
List ListProjects();
// load the Project by its GUID which…

Jake
- 11,273
- 21
- 90
- 147
1
vote
1 answer
Can EntityFramework connect to any data provider?
We have a data source accessible from an XML RPC web service where we can send CRUD commands.
Is it possible to use this with EF ?

Stécy
- 11,951
- 16
- 64
- 89
1
vote
2 answers
How to properly deploy IBM DB2 data provider
Im using DB2 on server and my application connects directly to that server. As data provider i use v9.7 FP5 ibm data server driver and visual studio addins. Now..To install my program on client computers im using ClickOnce and providing WHOLE IBM…

0x49D1
- 8,505
- 11
- 76
- 127
1
vote
2 answers
Firebird & Visual Studio 2010 Failed to find Data Provider
I have Windows 7 64bit. I am trying to use Firebird with VS 2010.
I get the following error:
Failed to find or load the registered .Net Framework Data Provider.
I have done the following
Installed "NETProvider-2.6.5.msi"
Extracted…

Craig
- 381
- 5
- 22
1
vote
1 answer
Flex: How can I pass a GridItemRenderer the DropDownList's dataProvider?
I need to display DropDownLists in a column of a DataGrid in my Flex application. Here is what I am doing:
First, I have a item renderer function that creates a custom item renderer, and passes it a property that is an IList that will be used as the…

Aaron
- 71
- 1
- 1
- 7