Click here to Skip to main content
15,893,190 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Web Service not running Pin
mav.northwind18-Apr-07 10:30
mav.northwind18-Apr-07 10:30 
QuestionRe: C# Web Service not running Pin
dancelicious18-Apr-07 10:33
dancelicious18-Apr-07 10:33 
QuestionSelect TreeView Pin
mihksoft18-Apr-07 8:42
mihksoft18-Apr-07 8:42 
AnswerRe: Select TreeView Pin
dancelicious18-Apr-07 9:03
dancelicious18-Apr-07 9:03 
AnswerRe: Select TreeView Pin
Tarakeshwar Reddy18-Apr-07 10:15
professionalTarakeshwar Reddy18-Apr-07 10:15 
QuestionSend VB6 COM object To MSMQ from C# Pin
ABSD21341231212312318-Apr-07 8:24
ABSD21341231212312318-Apr-07 8:24 
Questionudf executing an sql statement Pin
Lordveralix18-Apr-07 8:13
Lordveralix18-Apr-07 8:13 
AnswerRe: udf executing an sql statement Pin
Not Active18-Apr-07 8:18
mentorNot Active18-Apr-07 8:18 
GeneralRe: udf executing an sql statement Pin
Lordveralix18-Apr-07 8:45
Lordveralix18-Apr-07 8:45 
Questionhow to manage "Security" tab in windows server 2003! Pin
Adeel Chaudhry18-Apr-07 8:13
Adeel Chaudhry18-Apr-07 8:13 
AnswerRe: how to manage "Security" tab in windows server 2003! Pin
kubben18-Apr-07 8:22
kubben18-Apr-07 8:22 
GeneralRe: how to manage "Security" tab in windows server 2003! Pin
Adeel Chaudhry18-Apr-07 8:28
Adeel Chaudhry18-Apr-07 8:28 
QuestionC# with crystal report XI : deploy problems Pin
Newbie_Toy18-Apr-07 8:12
Newbie_Toy18-Apr-07 8:12 
AnswerRe: C# with crystal report XI : deploy problems Pin
kubben18-Apr-07 8:27
kubben18-Apr-07 8:27 
AnswerRe: C# with crystal report XI : deploy problems Pin
Tarakeshwar Reddy18-Apr-07 10:17
professionalTarakeshwar Reddy18-Apr-07 10:17 
Questionsetup Pin
marwan_siala18-Apr-07 7:25
marwan_siala18-Apr-07 7:25 
AnswerRe: setup Pin
Obaid ur Rehman18-Apr-07 8:16
Obaid ur Rehman18-Apr-07 8:16 
GeneralRe: setup Pin
marwan_siala18-Apr-07 8:20
marwan_siala18-Apr-07 8:20 
AnswerRe: setup Pin
kubben18-Apr-07 8:28
kubben18-Apr-07 8:28 
GeneralRe: setup Pin
marwan_siala18-Apr-07 8:31
marwan_siala18-Apr-07 8:31 
QuestionWin Form & Web Form Control Update from a thread in Assembly Pin
zinc_z18-Apr-07 7:16
zinc_z18-Apr-07 7:16 
QuestionCreate/Open File options Pin
peterchen18-Apr-07 7:15
peterchen18-Apr-07 7:15 
AnswerRe: Create/Open File options Pin
Ed.Poore18-Apr-07 7:20
Ed.Poore18-Apr-07 7:20 
GeneralRe: Create/Open File options Pin
peterchen18-Apr-07 23:00
peterchen18-Apr-07 23:00 
QuestionProgramatic Edit of a DataGridView Pin
Pualee18-Apr-07 7:15
Pualee18-Apr-07 7:15 
Hi,

If a user edits a value on a DataGridView, the DataTable under its DataSource recognizes the change when calling DataTable.GetChanges()

However, if I edit a value programatically on the DataGridView, the DataTable.GetChanges() returns a NullReferenceException as if no change took place.

I know it saved to the DataTable, because I can look at it and see the updated value. Is there something else I need to call on the DataGridView after programatically updating it to make the changes noticable on the DataTable? Some type of commit method that is automatically called when a user edits?

Right now I am bypassing the error by updating directly on the DataTable, but I know the DataGridView.Rows is a much smaller collection to loop for changing than the DataTable.Rows (due to filtering already in place). Should I worry about this efficiency issue at all?

Thanks,
Pualee

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.