A property of the Flex DataGrid and AdvancedDataGrid used to specify a data source.
Questions tagged [dataprovider]
497 questions
55
votes
13 answers
ASP.NET MVC 3 - Unable to find the requested .Net Framework Data Provider
Background-info:
I'm using Microsoft Visual Web Developer 2010 Express.
Info about my (lack of) experience: the problem occured within the first tutorial that I'm trying to work through.
Some additional-info:
I'm comfortable with C#, Postgres,…

Jennifer Owens
- 4,044
- 5
- 19
- 22
45
votes
8 answers
Unable to find the requested .Net Framework Data Provider. It may not be installed. - when following mvc3 asp.net tutorial
I am following the ASP.NET MVC 3 Music store application tutorial but I keep getting stuck in part 4: http://www.asp.net/mvc/tutorials/mvc-music-store-part-4. It keeps telling me that I do not have the SQL data provider installed:
Exact…

michelle
- 2,759
- 4
- 31
- 46
35
votes
2 answers
Deploying and Configuring ODP.NET to work without installation with Entity Framework
How do you deploy and configure ODP.NET to work without installation with Entity Framework?
A. How to deploy and configure Oracle.DataAccess.Client?
B. How to deploy and configure Oracle.ManagedDataAccess.Client?
C. What do you need to do in order…

Danny Varod
- 17,324
- 5
- 69
- 111
28
votes
5 answers
TestNG: More than one @DataProvider for one @Test
I'm using TestNG for Eclipse.
Is it possible to give two data providers step by step to the same test-function?
I could put both providers in one, but that is not what I want.
I need (not like in this example) to generate independently…

Malte Onken
- 769
- 1
- 9
- 20
25
votes
6 answers
Problem with PHPUnit and Data Providers
I have the following test case:
include_once('../Logger.php');
class LoggerTest extends PHPUnit_Framework_TestCase {
public function providerLogger() {
return new Logger;
}
/**
* @dataProvider providerLogger
*/
…

netcoder
- 66,435
- 19
- 125
- 142
22
votes
2 answers
missing SQLite data provider in VS 2013
I'm using VS 2013 to develop Win 8.1 app. I chose to deal with SQLite but I coudn't find the data provider when I was trying to add a new connection to manage my database.
Any help is appreciated

Zuzu JH
- 607
- 2
- 10
- 22
21
votes
5 answers
Error 175: The specified data store provider cannot be found
I'm using VS2010 with the MySQL .NET Connector. My project that used to work started reporting:
Error 175: The specified data store provider cannot be found, or is not valid.
I don't know why, though things got weird after a MS recommended hotfix…

Walt Stoneburner
- 2,562
- 4
- 24
- 37
16
votes
7 answers
TestNG parallel Execution with DataProvider
I have a single test which receives data from data provider. I would like this test to run in parallel with different values from data provider .
I tried an approach like :
public class IndependentTest
{
@Test(dataProvider = "dp1"…

sujith
- 665
- 2
- 9
- 22
14
votes
2 answers
Python unittest data provider
I am trying to create a unit test in python that has a data provider. As the unittest library does not support this nativity, I'm using the unittest_data_provider package. I'm getting an error, and am not sure where it is coming from (I'm new to…

Jeroen De Dauw
- 10,321
- 15
- 56
- 79
13
votes
1 answer
Yii2 : how to cache active data provider?
In my PostSearch model I have this code :
public function search($params)
{
$query = Post::find()->where(['status' => 1]);
$dataProvider = new ActiveDataProvider([
'query' => $query,
'sort'=> ['defaultOrder' => ['id' =>…

offline
- 1,589
- 1
- 21
- 42
12
votes
6 answers
Set a where condition for dataprovider in specific controller method
I am looking to set a condition only for a single action in the controller, so I don't want to change my search model.
My code looks like this:
public function actionRoles()
{
$searchModel = new EmployeeSearch();
…

Spurious
- 1,903
- 5
- 27
- 53
12
votes
2 answers
How to convert model data objects array to dataProvider
Suppose I have model User which have many to many relation to itself named as friends.
so $user->friends (or $model->friends in view) gives me an array of User objects. I wanted to display the friends as gridview. But CGridView data as dataProvider…

Prashanth Shyamprasad
- 827
- 2
- 17
- 39
10
votes
3 answers
SQL Server CE 4 DataProvider not available in server explorer
I have installed the sp1 for visual studio 2010 and installed sql server ce 4 runtime. But still not able to create connection to the sql ce database using standart data provider.
This is how my Select DataProvider Dialog looks like now.
P.S.
Does…

v00d00
- 3,215
- 3
- 32
- 43
10
votes
2 answers
Separate data provider from test case class
I want to use PHPUnit to test my PHP class.
Is it possible to put data providers for my test methods in a separate file created only for storing dataproviders? If so how to do that?
Another question is whether it's a good practice or perhaps it's…

David762
- 455
- 4
- 20
9
votes
3 answers
Why does JUnit run test cases for Theory only until the first failure?
Recently a new concept of Theories was added to JUnit (since v4.4).
In a nutshell, you can mark your test method with @Theory annotation (instead of @Test), make your test method parametrized and declare an array of parameters, marked with…

Roman
- 64,384
- 92
- 238
- 332