Click here to Skip to main content
15,917,635 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Replication Question Please be kind - Newbie here! Pin
Wendelius26-Jan-09 18:12
mentorWendelius26-Jan-09 18:12 
GeneralRe: SQL Replication Question Please be kind - Newbie here! Pin
joey9363527-Jan-09 8:55
joey9363527-Jan-09 8:55 
GeneralRe: SQL Replication Question Please be kind - Newbie here! Pin
Wendelius27-Jan-09 9:52
mentorWendelius27-Jan-09 9:52 
Questiona count query Pin
sana1723-Jan-09 10:37
sana1723-Jan-09 10:37 
AnswerRe: a count query Pin
Wendelius23-Jan-09 10:44
mentorWendelius23-Jan-09 10:44 
GeneralRe: a count query Pin
sana1723-Jan-09 11:13
sana1723-Jan-09 11:13 
GeneralRe: a count query Pin
Wendelius23-Jan-09 11:15
mentorWendelius23-Jan-09 11:15 
QuestionHow to modify a DataSet VB.NET Pin
enipla23-Jan-09 8:58
enipla23-Jan-09 8:58 
I have populated a dataset with a dataadapter and now I want to change the values. Nothing happens.

All rows are selected

 Dim tblADR_BASE As DataTable
 tblADR_BASE = dsADR_BASE.Tables("ADR_BASE")
 Dim rows() As DataRow = tblADR_BASE.Select()

 Dim intCRNO As Integer



 Dim i As Integer
 For i = 0 To rows.GetUpperBound(0)
     intCRNO = checkForCRNO(rows(i))
     rows(i)("dsp_CRNO") = intCRNO
     rows(i)("CITY_ID") = "test"

Console.WriteLine(rows(i)("dsp_CRNO"))

dsADR_BASE.AcceptChanges()

 Next i



Whats weird is I can wright the supposed changes to the console, but if I actually open the table in the dataset, nothing has been changed.

Am I missing some sort of save?

Thanks
AnswerRe: How to modify a DataSet VB.NET Pin
Wendelius23-Jan-09 9:14
mentorWendelius23-Jan-09 9:14 
GeneralRe: How to modify a DataSet VB.NET Pin
enipla23-Jan-09 9:24
enipla23-Jan-09 9:24 
GeneralRe: How to modify a DataSet VB.NET Pin
Wendelius23-Jan-09 9:29
mentorWendelius23-Jan-09 9:29 
GeneralRe: How to modify a DataSet VB.NET Pin
enipla23-Jan-09 9:33
enipla23-Jan-09 9:33 
GeneralRe: How to modify a DataSet VB.NET Pin
Wendelius23-Jan-09 9:37
mentorWendelius23-Jan-09 9:37 
GeneralRe: How to modify a DataSet VB.NET Pin
enipla23-Jan-09 10:22
enipla23-Jan-09 10:22 
GeneralRe: How to modify a DataSet VB.NET [modified] Pin
Wendelius23-Jan-09 10:26
mentorWendelius23-Jan-09 10:26 
GeneralRe: How to modify a DataSet VB.NET Pin
enipla23-Jan-09 10:39
enipla23-Jan-09 10:39 
GeneralRe: How to modify a DataSet VB.NET Pin
Wendelius23-Jan-09 10:41
mentorWendelius23-Jan-09 10:41 
GeneralRe: How to modify a DataSet VB.NET Pin
enipla23-Jan-09 10:47
enipla23-Jan-09 10:47 
GeneralRe: How to modify a DataSet VB.NET Pin
Wendelius23-Jan-09 10:54
mentorWendelius23-Jan-09 10:54 
GeneralRe: How to modify a DataSet VB.NET Pin
enipla23-Jan-09 11:06
enipla23-Jan-09 11:06 
GeneralRe: How to modify a DataSet VB.NET Pin
Wendelius23-Jan-09 11:12
mentorWendelius23-Jan-09 11:12 
QuestionUndo and Redo in Databases Pin
rezac423-Jan-09 6:02
rezac423-Jan-09 6:02 
AnswerRe: Undo and Redo in Databases Pin
Wendelius23-Jan-09 6:56
mentorWendelius23-Jan-09 6:56 
AnswerPerformance Question about SQL 2005 Pin
felopater23-Jan-09 1:28
felopater23-Jan-09 1:28 
GeneralRe: Performance Question about SQL 2005 Pin
Aman Bhullar23-Jan-09 2:37
Aman Bhullar23-Jan-09 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.