datasource

How to bind Combobox Datasource with an other column name from bindingsource?

Hello, Is there a way to bind Combobox datasource with an column from bindingsource? The following example works fine: //fill combobox with some data cBox.DataSource = dataSetOne.Table[0]; cBox.DisplayMember = "columnA"; cBox.ValueMember = "columnB"; //bind columnB from dataSetTwo with combobox cBox.DataBindings.Add("Text", dataSetTw...

List All Data Sources and Modify in Visual Studio 2008

I've taken over an ASP.NET project and the previous dev used "dynamic" DSNs sprinkled throughout the application. These data sources are databound to several controls throughout the site. I'd prefer to use a system DSN that I would define on my dev machine and the production web server. This way if I need to change the location of the...

Using a session variable in the where clause of a LINQ statement

Good afternoon all. I have a page that displays data in a gridview based upon what the user selects for a material in a radiobutton list and how many they wish to see, a text box. Upon logging into this page, a session variable for MemberID is created, MemberKey. What I would like to do is pass this session variable into the LINQ stat...

Crystal XI - Can you split or filter a single datasource to create multiple charts?

I have a dataset which has a daily count spanning over several months and I want to create a graph showing the daily counts however I want to have a separate chart for each month. Is this possible to do by isolating each month? For example if I have 2009/1/1 45 2009/1/2 21 2009/1/3 11 2009/1/4 11 2009/2/1 34 2009/2/2 45 2009/2/3 11 200...

Is there a jQuery equivalent to the YUI, ASP.NET, or Google DataSource?

One of the things I like about the YUI framework is the DataSource control. A common widget that intelligently gets data from a variety of sources and plugs into other UI widgets in a standard way. So... you fetch tabular data into a DataSource and then have the option of plugging that data into a table, a chart, an autocomplete widget, ...

Smartclient GWT making a ListGridRecord field editable using a custom DataSource

We're using SmartClient GWT library (see the Smartclient GWT showcase here). I'm trying to make a ListGrid UI that when you click a record the fields become editable. Just like the example: Grid Editing Mass Update The difference is I'm using my own custom GWT RPC services and manually adding ListGridRecord's to my own DataSource, a...

Insufficient memory in "Data Source Configuration Wizard"

I try to add new data source for object with "Data Source Configuration Wizard" and get error message: "An unexpected error has occured. Error Message: Insufficient memory to continue the execution of the program". What is problem? ...

DataGridViewColumn.DataPropertyName Property

Hi I have a DataGridView control and I want to populate it with data. I use DataSource property // dgvDealAsset is DataGridView private void DealAssetListControl_Load(object sender, EventArgs e) { dgvDealAssets.AutoGenerateColumns = false; dgvDealAssets.DataSource = DealAssetList.Instance.Values...

What's the difference between data source and delegate ?

I have a fundamental question related to Cocoa frameworks design patterns. What's the difference between delegate and data source? Both of them could use @protocols declaration, but some classes or frameworks are using delegate, and some others are using data source. All I can understand from UI/NSTableView is the delegate respond to ...

Data Source configuration on WebSphere 7.

I am working on WebSphere application server recently. And now i have to use DataSourceConnectionProvider for it. So i know how to configure it for JBOSS but I need the configuration info about WAS 7. Thanks. ...

Video playback on Blackberry via custom DataSource

Hi Guys, We are working on multimedia application which play both audio and video files with possibility of their cashing to SDCard. For such purpose we are using custom DataSource looks a little bit similar as BufferePlayback sample in Blackberry SDK. And we found problem in video playing - when player is starting it's playing 2 sec a...

Inheriting from DataSourceControl does not produce an IDataSource

I am trying to create a custom datasource control. I have been following this article to the letter (I think...). I have a skeleton / basic implementation of my datasource, however when I declare it in the markup and try to statically bind it to a gridview, I receive the following error: The DataSourceID of 'grdVw' must be the ID o...

Is there any way to access a datasource from one project, in another project?

I have access to a database table that has been added as a datasource in project (A). Is there any way to refer to this database table from project (B) WITHOUT adding it to project (B)'s datasource? i.e. ProjB.databasetable.GetDataSetSchema Any ideas would be really appreciated. Thanks guys! ...

SSRS shared data source to SSAS and MDX query

I am trying to deploy reports that connect to an SSAS cube as a shared data source. The problem I'm having centers around that fact that even if I change the Initial Catalog in the SSAS connection string, all the MDX queries in the rdl files still reference the old SSAS cube by name. This is a particular problem because these cube names...

How can a SharePoint SQL connection be set to query by the current login name?

I have a SQL table that needs to be queried by the login name. So, using SharePoint designer I successfully created a database connection, but I can't use the properties exposed by Profile nor Session as input parameters because they are not supported (A dialog pops up with a message indicating this) How else can I query a SQL datasourc...

Confused About Data Sources

When we work on an SSRS report on our local laptops, we have a data source we use. However, when we put the report on our SSRS server, we'd like to be able to specify a different data source. So, when we upload our report to the SSRS server, we specify a different data source. But, when we run the report, it gives us an error saying it...

IllegalArgumentException for dataSource in Spring application

Hello all, I am trying to deploy a simple spring app. It takes a username(from a jsp), insets the value into a db and displays a greeting on a new jsp page saying hello!, [username]. My environment is: OS: windows xp professional Db: MS access (this is just for trying things out at first, intend to shift to mySQL) IDE: eclipse Server...

ASP.NET OnDataBinding event for EditItemTemplate DropDownList

I have a dropdownlist control in an edititemtemplate for a details view defined like this: <asp:TemplateField HeaderText="Primary Use"> <EditItemTemplate> <asp:DropDownList ID="ddlPrimaryUseEdit" runat="server" OnDataBinding="DropDownList_DataBinding" SelectedValue='<%# Bind("PrimaryUse") %>' ToolTip="Primary Use"> <asp:List...

How do I connect my data access methods to my asp.net UI?

Hi there, I am seriously at a loss here. The three things that will not change in this project are the fact that we are using the Entity Framework to do our data access, the fact that we want thorough unit testing and that our UI is asp.net. My question is how the hell do you make this work in Asp.net? E.g. You can use an ObjectDataSou...

How to delete a row from DevExpress Grid

I bind my DevExpress XtraGrid to a SQL Server database. I use the default navigator to delete rows. I would like the database to reflect these deletions as well. How do I do this? Erik ...