datasource

Dashcode - how do you combine two values from one datasource

邮差的信 提交于 2020-01-17 03:05:21
问题 In Dashcode, if I have a dataSource that has, for example, 2 fields called 'FirstName' and 'Last Name', how do I concatenate the 2 fields into one text field in a list view? I'm fairly sure it must be to use a value transformer, so say that I assign the 'FirstName' field to the textfield, and add a value transformer... how do I then add the 'LastName' value to the 'value' variable in the transformer. I'm sure it's to do with dashcode.getDataSource and valueForKeyPath and I think I'm close to

How do I update the password for a Cognos Data Source?

那年仲夏 提交于 2020-01-16 05:24:47
问题 The db password expired and it needs to be updated, how do I update the password for a Cognos Data Source? 回答1: In Cognos Administration, under Configuration tab, the Data Source Connections section (on the left): Clicking on the Data Source name will bring give you the Connection for that Data Source (the Connection might have the same name as the Data Source). Clicking on that will bring you to the Signon (Which may also have the same name, it is an icon of a db with a user icon next to it)

Failed to validate a newly established connection with grails 3.3.5

半城伤御伤魂 提交于 2020-01-15 12:44:36
问题 I am using grails 3.3.5 and I have configured my application.yml with some properties in my production data source bellow properties: jmxEnabled: true initialSize: 5 maxActive: 50 minIdle: 5 maxIdle: 25 maxWait: 10000 maxAge: 600000 timeBetweenEvictionRunsMillis: 5000 minEvictableIdleTimeMillis: 60000 validationQuery: SELECT 1 validationQueryTimeout: 10 validationInterval: 15000 testOnBorrow: false testWhileIdle: true testOnReturn: false jdbcInterceptors: ConnectionState

Failed to validate a newly established connection with grails 3.3.5

雨燕双飞 提交于 2020-01-15 12:44:04
问题 I am using grails 3.3.5 and I have configured my application.yml with some properties in my production data source bellow properties: jmxEnabled: true initialSize: 5 maxActive: 50 minIdle: 5 maxIdle: 25 maxWait: 10000 maxAge: 600000 timeBetweenEvictionRunsMillis: 5000 minEvictableIdleTimeMillis: 60000 validationQuery: SELECT 1 validationQueryTimeout: 10 validationInterval: 15000 testOnBorrow: false testWhileIdle: true testOnReturn: false jdbcInterceptors: ConnectionState

How can one disable the first autoselect in a VS datagridview?

柔情痞子 提交于 2020-01-12 07:43:23
问题 I have created an application in Visual Studio (C#) that makes use of a datagridview. Now, when I assign the DataSource of that datagridview, it automatically selects the first row, and executes my code for selection. Since I frequently reassign that datasource, this is not desireable. Is there any way to change it so it doesn't automatically make that first select, and only relies on the user's selections? Thanks! In response to the comment of Darshan Joshi: Apart from the auto-generated

SSRS Dynamic Shared Data Source

a 夏天 提交于 2020-01-11 09:01:12
问题 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 far that works is to use an "embedded" data source. I'm not real crazy about that, but if that's my only option it will have to do. Anybody know how to specify

Why DataBinding doesn't work on second time around?

。_饼干妹妹 提交于 2020-01-11 08:59:52
问题 The error I got when I change the datasource of BindingSource "databinding cannot find a row that is suitable for all bindings row that is suitable for all bindings" this.RemoveAllBindings(); // My work-around for the meantime bdsOrder.DataSource = _ds.Tables["orders"]; // errors here on second time around(first time is blank datatable, second time is when i open existing record, then it errors), dataset comes from Remoting bdsOrderDetail.DataSource = _ds.Tables["order_detail"]; bdsPhoto

Unable To set row visible false of a datagridview

对着背影说爱祢 提交于 2020-01-08 17:16:52
问题 I have a DataGridView where I set DataSource : taskerEntities te = new taskerEntities(); var OMsMasterDescriptiveIndicators = te.MyTable.Select(x => new lccls {Id = x.Id, name = x.name }).ToList(); MyGrid.DataSource = OMsMasterDescriptiveIndicators; with my class lccls as public class lccls { public string Id { get; set; } public Nullable<decimal> name { get; set; } } At a certain event I want to make the current row invisible: MyGrid.Rows[5].Visible = false; But I am unable to do this.

Unable To set row visible false of a datagridview

五迷三道 提交于 2020-01-08 17:16:08
问题 I have a DataGridView where I set DataSource : taskerEntities te = new taskerEntities(); var OMsMasterDescriptiveIndicators = te.MyTable.Select(x => new lccls {Id = x.Id, name = x.name }).ToList(); MyGrid.DataSource = OMsMasterDescriptiveIndicators; with my class lccls as public class lccls { public string Id { get; set; } public Nullable<decimal> name { get; set; } } At a certain event I want to make the current row invisible: MyGrid.Rows[5].Visible = false; But I am unable to do this.

Can't add Sql Compact 4.0 as Datasource on RDLC

徘徊边缘 提交于 2020-01-06 08:09:05
问题 i want to add on a report (*.rldc) a DataSource that is an Sql Compact 4.0 , but it doesn't give me the option to add it, but i can add on Server Explorer an Sql Compact 4.0 connection. What do i need to accomplish this? 回答1: You can use DataTable / DataSet to Bind Records from you SQL CE to your Local report. Just Click Add New item then choose DataSet and select you sqlce database on your server explorer. This may help you to start of: Building Reports from Object Collection using