blah blah blah is here! blah blah » Close

0
votes
1 answers

Problem with UPDATE statement

Hello guys! I've got a problem with updating some data in text boxes to my database in Ms Access, which contains a table with 1 row. I filled text boxes with data from database table and want to allow user to update it when it's needed. ...

0
votes
2 answers

Datset skip first row on loop

Hi I'm new to datasets, so please help me with my issue. This is a win form application and I use VS2008. When I try to update a column in my database (SQL Server), using a for loop, it updates fine except that it for some reason skippi ...

0
votes
0 answers

Updating dataset

Hi! I'm using a dataset to store a datatable filled from a database. the content of this datatable is pulled out from more than one table (e.g. the datatable has the columns "user_id", "user_name", "user_address& ...

1
votes
2 answers

InnerText of an XML node into a Dataset

I've written a segment of code that is intended to parse the contents of an XML document, and for each node matching the title of an index from a combo box, place the node with all of its corresponding child nodes into a Dataset which in tu ...

0
votes
0 answers

How do I put specific XML elements into A Dataset?

As noted in my earlier question I'm working on a simple password manager for one of my first legit C# applications. I've gotten the code to the point where it'll take user input and create and append to an XML document with the various user ...

0
votes
1 answers

find in a dataset if the next value is the same

Hi, I'm trying to find in a dataset if the next value is the same and if it is take its value in another var. ex. abc 100 200 abc 150 100 abc 100 250 abx 100 230 abv 100 200 abv 150 100 the data set is ordered... and i want t ...

0
votes
3 answers

Workaround values in dataset C#

Hi, i am trying to find a way for finding a value in a dataset, 3 values per row ex. 1234 Test 1432 the data that i have in this dataset is from a php that sends some xml after reading a database in this way: ...

0
votes
1 answers

Error: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records

I'm trying to update certain records in a database after it's been filtered but get the following error: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records. Now the code below is causing the error and there's n ...

1
votes
1 answers

Update rows in dataset on fill

I'm trying to udate values in a dataset called "SaleDataSet" after it's been filled with data from the database, is it possible? i've been trying something like the below but with no success. I've used the below code on a datag ...

0
votes
1 answers

DataSet and DropDownList C#/ASP

I load my dataset of last names properly into a dropdownlist using an object data source. I want to accomplish the following: 1) My current dataset returns AuthorID, LastName, FirstName from MySQL 2) I need to eliminate LastName and Fir ...

1
votes
1 answers

passing a strongly typed dataset from .exe to .dll

Hello, I have a solution set up with an exe section that calls a .dll (which contains all the main processing that is needed). Originally, I had all datasets set up in dll but this became a problem because we can't dynamically change the ...

Feedback