datasource

Why won't these combo boxes update correctly when changing datasource in Windows Forms (VB) ?

In a windows forms project, I have several combo boxes. The first combo box contains a list of objects. Those objects then have several lists which are used as the datasource's for the successive combo boxes, depending on which item is chosen in the first. When the first item is selected, the other combo boxes update correctly. When thi...

Parameters and Datasources

I have a formview that I select data based on values I get from referencing a master page. I want to set my parameters to some value behind code instead of storing those values in a hidden field and setting my parameter source to a control(hidden field control) IS THIS POSSIBLE? If so - How? I'm using an SQL datasource ...

Is it possible in Weblogic to create readonly JDBC datasource?

I am using Weblogic web server. Please let me know, how can i create a readonly JDBC datasource ,or should i handle this in my Java code ? ...

UITableView Scrolling while dynamically adding data to the datasource object

I have a UITableView that is loaded from an NSMutableArray. The array is populated by data that I get from a RESTful web service request. In order to speed up the delivery of data to the user, I'm using a couple other NSArrays to hold a cache of the next sets of data. What I've done is when i'm nearing the end of my current set, in ...

Can't Allow User To Add Rows to DataGridView with List<> Datasource.

Hi everyone, I've DataGridView that bound to List<myClass> as DataSource. But when i set "AllowUserToAddRows" property to "True" there is nothing appear. I tried to change the DataSource to BindingList<myClass> and it's going well. I wonder if i should replace my List<> with BindingList<> or there is better solution ??. Thank you ve...

Java connection pool without JNDI?

Hi, I've a connection pool to access a MySQL DB from a servlet. I get the data source using a JNDI, which is defined on my META-INF/context.xml file. Everything is working fine, but I have to place the MySQL driver JAR within Tomcat's /common/lib folder, instead of webapp's WEB-INF/lib; otherwise the JNDI will not work (ClassNotFoundEx...

command line to create data source with sql authentication?

I'm looking to run a batch file on windows xp professional which creates a system odbc data source for a sql server connection. I can do that with: ODBCCONF.exe CONFIGSYSDSN "SQL Server" "DSN=Kappa| Description=Kappa Data Source | SERVER=10.100.1.10 | Trusted_Connection=Yes | Database=subscribers" However I need a way to set the sql ...

Why was TDataSource created originally?

What was (or would be) the reasoning behind creating TDataSource as an intermediary between data bound components and the actual underlying TDataSets, rather than having the components just connect directly to the TDataSets themselves? This may seem like kind of a stupid question, but I am working on a broad set of "data viewer" compon...

What are examples of non transactional datasources?

In JBoss documentation there is possibility to declare <no-tx-datasource> which states: no-tx-datasource : This element is used to specify the (org.jboss.resource.connectionmanager) NoTxConnectionManager service configuration. NoTxConnectionManager is a JCA connection manager with no transaction support. I'm curious what can be co...

Out of container JNDI data source

I would like to configure a DataSource using JNDI in a Java SE app. What is the best way to do this? So far, I've come across 2 projects: Apache Naming. The project page has a specific example for configuring a data source, but it looks like the project is super old and no longer active. JBossNS. It looks like it's easy to configure a...

crosstabs in jasper

Hi..... m using map datasource which i am passing from from my eclipse application. i want to generate areport with three crosstabs. i have used three subdatasets for it,n passed default datasourse for subdatasource. i am being able to see only one crosstab. can anybody tell me how to solve this problem? (please give details as i a...

Having different asp.net controls tied to each other by having the same datasource

In Winforms you can have two controls tied to the same datasource in a way that when you select a record in one of them, the same record is selected in the other control. Something that has always bugged me is being unable to non programatically reproduce this behavior in web development. Is there any way to do this, framework, control...

Is it possible to programatically set a UITableViewController's dataSource?

I've created an application using the Navigation-based template in Xcode. I've also created a class that implements the UITableViewDataSource protocol and would like to use it for that UITableView in the RootViewController. I've tried setting the dataSource property in viewDidLoad, and in all flavors of initializers, but I can't get it ...

How to deploy Crystal Report that uses push method (xsd file dataset datasource).

Can anyone suggest best method for what I want to accomplish? I have an VS 2008 asp.net(MVC) web app and I am using Crystal Reports as my report engine. My app accepts parms from a form and calls a SQL Server stored proc to create a Dataset which I set as the datasource for the report. The report was created using an XSD file as a schema...

how to add UITableView to a view based application: iPhone sdk question

I have a View based application that navigates between all views properly. And now I have to add a UITableView to this application, I am unable to do that. I could add a UITableView, thats fine, but no idea about adding data source to it. I searched a lot and found only examples begin with navigation based applications. I have created a...

How to put XML element's content into XUL template?

Hi, I've gotten trouble with passing XML data into XUL template. Look: For example, we have the datasource XML with the next structure: <people> <person name="Joe"/> <person name="Tom"/> <person name="Lisa"/> <person name="Bob"/> </people> In this case we may use the next template in XUL: <template> <query expr="person"/> <ac...

SSRS Dynamic Shared Data Source

I have an ASP.Net Web site that displays various SSRS reports using the Microsoft Report Viewer Control. I need to be able to specify a data source at runtime. It seems like I should be able to just specify the name of a "shared" data source when I render the report, but I sure can't find a way to do that. The only thing I've found so fa...

How to use PagedDataSource.CopyTo (or otherwise work with the same data I'm sending to my Repeater)

I'm populating a Repeater with a PagedDataSource and after I populate that Repeater, I want to perform some other operations on the subset of data that makes up the page I'm sending to the Repeater (my CurrentPageIndex, PageSize=10). So my question is how to get at those 10 records? From reviewing MSDN, it looks like I should be able t...

Datatable in ASPX Used As DataSource For Multiple User Controls

In an ASPX page, I have 7 user controls loaded. In each user control there are data bound controls (gridview for example). Currently each user control runs a query to return data. The data returned is the same for each user control, and I filter out what I need to show for each user control. So the same query is being run 7 times (Ye...

Accessing the full DataRow from the DataSource in a ListView ItemDataBound event handler

Is it at all possible within a ListView ItemDataBound event handler to gain access to the full DataRow for that event? I need to do a lot of processing for the entire row on binding, but using data item values in the datarow that I am not actually using in the display itself. Cheers Moo ...