Search update

60548 results
1

votes
1

answer

ObservableCollection not update TreeView

I don't understand why my TreeView not update using a ObservableCollection. Main Window public ObservableCollection listStudents { get; set; } internal MainWindow(List list, Controller controller) { this.listStudents = new ObservableCollection(list); this.controller = controller; Initialize...
Qwertyuiop
1

votes
1

answer

Quickblox update record

I'm new to quickblox. Can anyone tell me how to update a record in custom object? For example I want to change the low value in water field to high I just tried the code in quickblox website but it gives me error I tried String id = getIntent().getStringExtra(Consts.CUSTOMOBJ_ID); QBCustomObject rec...
user9794995
1

votes
2

answer

update contacts display_name

How do I update the display name for a contact? The operation in the code below completes without throwing anything and appears to work - that is, when I requeried the ContactsContract.Contact table, a row came back with the name changed. However, when I tried running the stock 'people' app on my...
Peri Hartman
1

votes
0

answer

bulk_save_objects() update issue

I'm going to insert/update objects using bulk_save_objects(). The insert is OK, but when an update is going to be done, it tries to update the primary key which obviously has not been changed. Entity: class MyObject(object): def __init__(self, id: int, f1: int, f2: int): self.id = id self.f1 = f1 se...
Mehrdad
1

votes
0

answer

update ngModel from directive

In my angular 5 project I have a custom directive.Inside this directive I have to update some model value when user press tab so I ned to update some ngModel field: @Directive({ selector: '[appEnforcedInputs]' }) export class EnforcedInputsDirective { @Input() enforce: NgModel; @HostListener('keydow...
Alessandro
1

votes
3

answer

Update statement with joins

I must create migration to update question image attribute but i need to check some attributes from other tables, my schema looks like this: question { id, name, groupId, imageUrl -> i need to update this } group { id, name, quizId } quiz { id, name, type -> where type is 'History' } And i need t...
1

votes
2

answer

SELECT FOR UPDATE [duplicate]

Possible Duplicate: SELECT … FOR UPDATE and MAX() Which rows in this query lock ? select max(id) from table where id like '9%' for update what occur if another user run this query ? this is related question.
user677900
1

votes
1

answer

unable to update gridview

Please help ,i have added update/edit command button in gridview so to update data in my sql server database but am unable to do it. Data is not updated in database . ======code for onrowupdate======================================== protected void gRowUpdate(object sender, GridViewUpdateEventArgs e...
bhakti
1

votes
4

answer

Facebook update like feature

I want to implement a Facebook updates(user action and notifications) on my web application as well. I am using LAMP. Should I make a db table where I store duplicate data or should I make calls to different tables to show user his updates. Is there a better way to do this. For Example: When someone...
AJ.
1

votes
1

answer

Update glibc in Cygwin

I just wanted to make use of the Cygwin x server, but when trying to start a program I am told that glibc is too old. I have version 2.3.2 but would need version 2.3.6. Is there any easy way to update this? Cant find this package in the cygwin setup routine. Thanks
1

votes
2

answer

Android - update widget text

i have 2 questions about widgets update I have 2 buttons and i need to change one button text when i press the other one, how can i do this? The first time i open the widget it calls the onUpdate method, but it never calls it again. I need to update the widget every 2 seconds and i have this line in...
david
1

votes
2

answer

Update single field

I have a Customer class which has a representative field....this field is initially blank but when the user opens up the details page of the chosen customer, they'll be given the open of representing this customer by clicking on a link. The template layout I was thinking of is this: Representative:...
Stephen
1

votes
1

answer

Inconsistency in LinqToSql Update

I am running the following code: if(ven.Source == null)ven.Source = new Source(); ven.name = (string) venue.Element('venueName'); Console.WriteLine('Venue Name: ' + ven.name); ven.Source.companyId = 1; ven.Source.sourceReference = (string)venue.Attribute('venueID'); I am running through the same x...
Richbits
1

votes
1

answer

Eclipse update problem?

Please take a look here: alt text http://img16.imageshack.us/img16/2810/errrp.jpg Why i got that error when i'm trying to update my Eclipse Galileo to the newest Eclipse M6 Helios? I'm using the update URL from here: http://eclipsesource.com/blogs/2010/03/14/eclipse-3-6-m6-helios-available-for-downl...
qwerty
1

votes
6

answer

ADO, Adonis, Update Criteria

On a form, I have a Quantum Grid and some db-aware editcomponents. When appending a new record in the grid, typing some editvalues both in the grid and the separate editcompoennts, I get an error: EOleException: Row cannot be located for updating. Some values may have been chenged since it was last...
Vegar
1

votes
2

answer

MySQL update statement

I am trying to update a specific column in a table with data from the column of another table. I tried running the below command, but I am getting a syntax error at line 3. UPDATE af_application af SET application_price=rss.application_price FROM rss_applications rss WHERE af.application_id=rss.a...
David
1

votes
2

answer

Git. Update untracked files

When I use command git add -u . git still doesn't update untracked files. Works only when I specify them by path, git add -- filepath What could it be?
sunprophit
1

votes
1

answer

Access: Invalid UPDATE statement

I'm trying to update a table in Access database. But when I debug I get the exception: 'Invalid UPDATE statement'. What's wrong with my statement: string query = @'UPDATE Phone SET Name = ?, Number = ? WHERE ID = ?';
1

votes
2

answer

Dependency Property Update Mechanism

I have a custom control which is having a dependency property defined in it and my control implements INotifyPropertyChanged interface. Dependency Property is Collection of Custom Objects. Scenario 1 DP is of type List, whatever change I make in the list, nothing updated in MainUI, because I believe...
manav inder
1

votes
3

answer

Postgres combine update query

I have a a simple update query: UPDATE FOO SET bar = true WHERE id in (1,2,3....) how can i combine this with the exact opposite UPDATE FOO SET bar = false WHERE id NOT in (1,2,3....)
DaynaJuliana
1

votes
1

answer

Telegram update consuming

I'm new to Telegram Bots API so I'm still at abstraction phase. Anyway I'm testing some Telegram methods using Postman. When I send a getUpdates request to server, it sends me all the updates, but the problem is if I send getUpdates again, I receive previous updates, too. So is there any way to cons...
1

votes
1

answer

Web2py update 1 record

I'm using SQLFORM.grid with the added selectable to select records. form = SQLFORM.grid(query=query, fields=fields, headers=headers, orderby=default_sort_order, create=False, deletable=False, editable=True, maxtextlength=64, user_signature=False, paginate=25, csv=False, selectable=lambda ids: [co...
user3211229
1

votes
1

answer

Update ViewModel and View

have a MainWindow where I navigate between UserControls by clicking on a menu and it works fine. I am using this following pattern with Prism: https://rachel53461.wordpress.com/2011/05/08/simplemvvmexample/ After saving information I need to update a ViewModel, I update it but the View doesn't upda...
Cantinou
1

votes
2

answer

Laravel Migrations change/update

How do I properly change / update my migration, I am using Laravel 5.1. The Docs said that I should use change to update the column e.g.: $table->string('color', 10)->change(); But where do I have to put it in the migration and what command do I have to use to update just a simply php artisan migrat...
1

votes
3

answer

software update process

I have made a small software in qt and its only one executable and a few dlls.I want somebody to help me understand how one goes about updating an exe and the dlls without having to replace the entire exe and the dlls but instead,write the changes you have made to an existing exe or dll.
Gandalf
1

votes
1

answer

Update user with DirectoryService

I'm writing a small application which updates my AD with info from a DB table, but are having trouble finding examples of best practices. As far as I understand, I'll need to: create a DirectorySearcher with a filter objectClass=user and search for the given cn if found, I need to use result.getDir...
elwis
1

votes
3

answer

Update MongoDB collection - JavaScript

I am trying to update a value in a collection. The user clicks a button, and a number corresponding to that button, gets sent to the server to be added to the collection. I cannot get the collection to update, but it works fine in the console if i use db.orders.update() orders model: // DB Initiatio...
ashley
1

votes
1

answer

Gradle update git submodules

I have a gradle project that's divided into submodules. It's not very convienient to execute git submodule update --init every time I need to build the project with latest sources, so I was wondering if there's a known way to create a gradle task that does that? Maybe there's an existing plugin? Uni...
Ben
1

votes
1

answer

SQL Update Query

I am not bad with SQL but I am having a hard time figuring this one out. I have a table called test, with a character column called key and two datetime columns called TestTime and LastTestTime. I am trying to write a query that will update all the rows and set the value of LastTestTime to the mos...
Dan B
1

votes
1

answer

UPDATE MySQL using VB.NET

I am using VB.NET with a MySQL database. I want to update this code to do it all in ONE SQL instead of THREE. Anyone know how? Here's the code I'm using, works fine but too slow with multiple lines... If count3 = '1' Then Dim myCommand As New MySqlCommand Dim myAdapter As New MySqlDataAdapter Dim...
BooMGiRL
1

votes
1

answer

Mongodb dot field update

I have the following Schema in Mongo: var OrderSchema = new Schema({ postcode: String, ... status: { last_check: { type: Date }, date: Date, code: String, postnum: String, text: String, class: String }, }); I have a function to save a data (old way is commented): function save_order(data) { // va...
Yan Kozlovskiy
1

votes
2

answer

Meteor Collection Update Async?

I'm having trouble understanding and implementing the following. I want a div with a fixed height to list all values from an array. The css overflow is set to scroll. When I push a new item to the array, I would like the div to scroll to the bottom. In this case it's a fixed string 'hello'. $('#...
captainKevin
1

votes
0

answer

Custom theme update - Unauthorized

I've been trying to make my custom theme auto update and I've tried to use this update checker: https://github.com/YahnisElsts/plugin-update-checker Everything works fine except There is a basic authorization on my server and username and password is needed to access the url where my latest theme zi...
Raf
1

votes
3

answer

Can't update CMake

I tried to get the latest version of CMake, as OpenSUSE is stuck to 3.5.2. version=3.10 build=2 mkdir ~/temp cd ~/temp wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz tar -xzvf cmake-$version.$build.tar.gz cd cmake-$version.$build/ ./bootstrap make -j3 sudo make install But somet...
Ernesto_Che
1

votes
0

answer

Update GeoJSONDataSource in bokeh

I have a problem with the update function for GeoJSONDataSource in bokeh. For the following code I take two scripts - which are working well - and add them to one. But when I do bokeh serve app I get the following Error message and I don't understand why: 304 GET /app Here is my code: from bokeh.io...
Chris Döring
1

votes
0

answer

Update/modify QListWidgetItem

I would like to use QWidgetList to create a list where I can add and delete items automatically, without the user having to interact with the graphical interface. I have this done, but I can't update/modify the text I put in the item when I created it. I have created four items like this: for (int i...
hecperleo
1

votes
2

answer

Update ArrayAdapter outside Class

I have a custom Dialog class outside the subclass that implements the ArrayAdapter is there a way i can call the notifyDataSetChanged() from another class or an inflated view ? //This is a Subclass public class myClass extend ArrayAdapter{ myDialog.showPopDialog(); } // another class public class m...
DevfaR
1

votes
1

answer

Update highstock chart dynamically

I am still learning to use Highchart to create a chart with data from MySQL. I have managed to make a chart using Highstock (highchart). Then, I want the chart to update the data without reloading the page. How can the chart update data (plotting points), without reloading the page ? . My question i...
bagzz
1

votes
1

answer

ListView won't update xamarin

So I have this code: This is the whole SlidingTabFragment.cs public class SlidingTabsFragment : Fragment { private SlidingTabScrollView mSlidingTabScrollView; private ViewPager mViewPager; public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { re...
Zoltan Kiraly
1

votes
2

answer

update text within html

So I have a python webapp on Google App Engine and am using the jinja2 template engine. I have a lot of text on the site that I want to update regularly, such as news sections and updates about the site. What is the most efficient way to go about doing this? Clearly the simplest short-term solutio...
clifgray