Questions tagged [updating]

Updating can refer to the modification of data or configuration by an application, process, or service, or can refer to the modification of software by a process.

1058 questions
0
votes
0 answers

Getting data using query in access database, dataset shows old data

I'm using this code below to return some data from an access database using a query with a parameter passed to it: Dim con As OleDbConnection = New OleDbConnection(GlobalVariables.connectionString) Dim cmd As New OleDbCommand …
ar.dll
  • 767
  • 4
  • 16
  • 35
0
votes
1 answer

Highstock - Can't update using value from file, data type?

I'm still pretty new to JS, JQuery and Highcharts. From the "dynamic-update" example in HighStock: chart: { events: { load: function() { var series = this.series[0]; var y = 1; setInterval(function()…
Doparoo
  • 57
  • 7
0
votes
1 answer

Android: Update Array of Strings from file online

I am developing an android app that uses nostra13 library. First, nostra13 uses a class file that contains array of strings which are the urls of the images to be downloaded. ex. public static final String[] IMAGES = new String[]{ …
0
votes
2 answers

Proper way to update class object in db using symfony2 + doctrine + form?

I have a simple class: class Type { /** * @ORM\Column(type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @ORM\Column(type="string", length=15) */ private $name; …
TroyashkA
  • 49
  • 3
  • 9
0
votes
1 answer

DataTable RejectChanges does not reset all changes

I'm adding several rows to a DataTable in my strongly-typed DataSet and use a TableAdapterManager to insert the changes into my database. Using the UpdateAll function of the TableAdapterManager results in case of a failure in a database rollback of…
purbsel
  • 307
  • 8
  • 21
0
votes
1 answer

Windows Form not changing underlying Entity Data

Can anyone see the simple mistake that I can't? I am opening a form to allow assigning Job Numbers to invoices that do not have any. This is the code in the applications main form that handles this: Dim unknownJobs = From pur In context.Purchases …
Dale M
  • 2,453
  • 1
  • 13
  • 21
0
votes
1 answer

Updating multiple entities with jpa 2

I need help to understand how ORM works. Here is the scenario that is very common. I have two main tables Organization and RelatedParty which have to be in many to many relation. But there is also relation_type attribute that defines what kind of…
Odgiiv
  • 683
  • 1
  • 11
  • 32
0
votes
2 answers

Android - Having button disabled after second usage

I'm having trouble finding an error, that I obviously should have somewhere. Probably a logic error that I'm not aware of. I'm having a button, which starts a locationManager locating my position, upon click. While scanning for my location, I want…
Sebastian
  • 1,593
  • 4
  • 26
  • 41
0
votes
1 answer

PHP & MySQL, a php form to Insert to 1 table while having from 2 coulmns from 2 different tables that are foreign keys

I am new to PHP, using DreamWeaver. However, I'm looking for someone to help me finish this. I have 3 tables in MYSQL that…
Ibrahim Elhag
  • 15
  • 1
  • 9
0
votes
1 answer

Method to merge objects which are similar (differing by quantity)

I need help with a cart object which has_many line_items. If a line_item in the cart is created and it has the same exact attributes as a line_item which is already in the cart I just want to update the pre existing line_items quantity rather than…
godzilla3000
  • 246
  • 3
  • 23
0
votes
1 answer

Two SqlCommand Objects and Updating One Source Table

I have two update sql statements for two SqlCommand object to update one DataTable with DataSet object to One Source Table. When I click on update button that's update only the first one and the second SqlCommand Object doesn't work. What's it?…
RedsDevils
  • 1,413
  • 9
  • 26
  • 47
0
votes
1 answer

is there a step by step guide to change/update from RESTkit 0.10.0 to RESTkit 0.20.0?

I got an app that was running RESTkit 0.10.0 on iOS 5 and an old version of xcode, when I started to work on it on my xcode that its the recent version it gave me a ton of Warning, so I tried to solve them. I got most of them but I think that…
Daniel Medina Sada
  • 478
  • 1
  • 5
  • 16
0
votes
2 answers

Navigation Property not updating after SaveChanges EF 4.1

Im trying to update a NavigationProperty of a single entity object but its not updating after SaveChanges. It only works when the object entity is not bound to any UI element through a property, i mean, if I bind a property to the UI, and change a…
0
votes
0 answers

Adding text to a table and preventing duplication of names

I have a table that stores names of companies. I run a query on my data to provide a list of names which meet certain criteria. I take the results of this query and remove residential names which leaves only business names. To add these business…
0
votes
1 answer

number format exception with phone number input string

getting an error with phone number field... though i gave long or int it gives same error... please help I am getting all the parameters from a form but unfortunately this phone number is not getting updated.. its out of range of int so i tried long…