When in insert mode detailsview, there are some parameters that I would like to disable or hide. The columns are autogenerated.
Doesn't work:
DetailsView3.Rows(5).Visible = False
or
DetailsView3.Rows(5).Enabled = False
I'm lost.
...
I'm trying to run JUnit tests on database "worker" classes that do a jndi lookup on an InitialContext to get a DataSource. The worker classes are usually running on a Glassfish v3 App Server which has the appropriate jdbc resources defined.
The code runs just fine when deployed on the App Server but doesn't run from the JUnit testing en...
We have an application that needs to access a database that is owned by a different team.
That database has security inside the database (triggers, table permissions, etc) and so we need to establish a connection to the database using the same username/password that connected to our EJB.
We're running on JBoss 5.1. Standard JEE solution...
Hi Everybody,
Again a c# question I cant't seem to figure out:
I have a datagridview on my form. In Visual Studio design mode, I enter 4 columns: refernce, country, name & city.
After a searchform is filled in, I try to refresh the datasource: A custom class fetches all the data from the selected table and fills the datagridview. The p...
Hello.
I am using VB.net.
I have a gridview with a datatable datasource.
What is the best option to update the datatable when i delete a row in the gridview and then show the gridview without that row?
Thanks.
...
I'm not sure how to name data store classes when designing a program's data access layer (DAL).
(By data store class, I mean a class that is responsible to read a persisted object into memory, or to persist an in-memory object.)
It seems reasonable to name a data store class according to two things:
what kinds of objects it handles;
...
Hello
I'm using Oracle 10.2.0.4 server and we are testing Java Application Servers in order to chose the most appropriate for our needs. So far we managed to get OpenEJB and GlassFish working, but not JBoss.
We have a simple fat Java client connecting to a simple EJB 3.0 (stateless session bean), which in turn, tries to perform a simpl...
I have a ListView which is filled by generic list of type MyClass. I can easily bind data from this list into ListView. But I have problems with reading data in opposite direction.
This is my class:
public class MyClass
{
public int id { get; set; }
public string name { get; set; }
}
I have also generic list of type MyClass:
...
We are using Visual Studio 2008 for our development of our core product. We have a C# solution with roughly 5 projects and 250 data sources.
It takes anywhere from 15-25 seconds any time I do either Data > Show Data Sources, or if I click a (DataBindings) control property drop-down to bind a value of a control to a Data Source.
Aside ...
I am using CakePHP 1.3. I have successfully created an Indeed DataSource and am looking to create more complicated ones. I am looking into creating a Yahoo Answers DataSource and was wondering about a few best practices. The API exposes a few functions:
1) Ability to search for questions
2) Ability to get questions in a category
3) Ab...
I do have a cluster with four managed servers with datasources created in the nodes. How would a datasource in some of the managed servers in a weblogic cluster get deleted automatically?
...
I have a UIViewController that has a UITableView sitting on a UIView that is hidden. I have created a data view object and implmented the data methods and hooked it up in the Interfaced builder as a datasource. I can get the table to show but not populate. I have tried creating a UITableViewControler and adding that the the UIViewContro...
I'm trying to create a user control which has a DataSource, which can accept any form of collection, such as List<string> or string[]
If I check for is IEnumerable then it requires a type, checking is IEnumerable<Type> returns false, as does is IEnumerable<object>
What's the correct way to go about this? I presume I set the DataSource ...
I cannot create any datasource including the "Classic Models Inc. Sample Database". I do not get any error on the UI but the data source does not get created / does not show up in the Data Explorer.
Has anyone else encountered this issue? How can I fix this?
TIA
...
Hi all.
I am not expert in ASP so i would be appreciated for the help. Issue connected to Entity FW, ListView Control, its Datasource and type convertion.
I have the following LINQ query :
RoutesEntities routesModel = new RoutesEntities();
LocalesEntities localesModel = new LocalesEntities();
ObjectQuery routesQuery = (ObjectQuery) f...
I would need to connection to Oracle database via connection pool. Please correct me IF I am wrong that I only need to modify/add the datasources in data-sources.xml.
Thanks.
...
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (resultCode == RESULT_OK) {
deserializeQuotes();
quotesAdapter.notifyDataSetChanged();
}
}
My array clearly has been updated, and I can see the change when my app starts, but why doesn't it update in this metho...
I'm using the Apache BasicDataSource for both commons DBCP and connection pool:
org.apache.commons.dbcp.BasicDataSource
and managing it through Spring:
org.springframework.jdbc.datasource.DataSourceTransactionManager
While using this combination with the Teradata JDBC driver if my database goes down or there is a network glitch I r...
Hello,
I have my app server resin and oracle database connected. If the db is bounced for any reason, I have to bounce my app server as well to clear the bad connections. Is there any way to get around this? Any property set to the datasource?
Other than FCF...
...
I have application with following data flow:
SqlDatabase -> SqlDataAdapter + SqlCommandBuilder -> DataSet -> DataGridView
All conversions and bindings are automatic.
This is all simple and functional and I can load all kinds of databases with simple code. Problem is with BLOBs, they are treated as Image in DataGridView. My question is...