Click here to Skip to main content
15,902,908 members
Home / Discussions / C#
   

C#

 
Questionhow to sum the values of a single windows form datagrid column Pin
choopie25-Aug-06 1:53
choopie25-Aug-06 1:53 
AnswerRe: how to sum the values of a single windows form datagrid column Pin
Itanium25-Aug-06 2:32
Itanium25-Aug-06 2:32 
GeneralRe: how to sum the values of a single windows form datagrid column Pin
choopie25-Aug-06 2:57
choopie25-Aug-06 2:57 
GeneralRe: how to sum the values of a single windows form datagrid column Pin
Itanium25-Aug-06 3:01
Itanium25-Aug-06 3:01 
QuestionAccess Control -> WindowsIdentity Pin
Goerlandt25-Aug-06 1:05
Goerlandt25-Aug-06 1:05 
AnswerRe: Access Control -> WindowsIdentity Pin
stancrm25-Aug-06 2:25
stancrm25-Aug-06 2:25 
QuestionHow to set read-only properties of Outlook.PostItem object? Pin
ziggy_125-Aug-06 0:55
ziggy_125-Aug-06 0:55 
QuestionA question abt master detail forms Pin
Rocky#25-Aug-06 0:48
Rocky#25-Aug-06 0:48 
hello every one,
well I'm working on making a master detail form here. I've binded the data correctly and now I want to add the update, del, and insert new record functionality to the detail form. I'm using .net 2.0 C# and I'm working in windows Forms. I've used DataGridView class to display the detail data information.

For saving the record, I wanted to cast the datasource of DataGridView into a datatable first and then use it to iterate thru the data but it returns a null so I get the nullreferenceException. Plz tell me how to iterate thru the detail table here.
I actually deleted a few columns from the detail table ;like the PK columns and Foreign Key columns coz the user doesnt need to see those. But I do wanna have access to those esp when updatin the record. So what can I do.

if its possible plz give me a sample code or application if u can.
thanks in advance...


Rocky
AnswerRe: A question abt master detail forms Pin
Itanium25-Aug-06 2:28
Itanium25-Aug-06 2:28 
GeneralRe: A question abt master detail forms Pin
Rocky#25-Aug-06 20:54
Rocky#25-Aug-06 20:54 
QuestionC# Outlook add-in (MAPI) - queer PR_SENDER_NAME Pin
ziggy_125-Aug-06 0:42
ziggy_125-Aug-06 0:42 
QuestionHidden Fields Pin
Brendan Vogt25-Aug-06 0:27
Brendan Vogt25-Aug-06 0:27 
AnswerRe: Hidden Fields Pin
Shajeel25-Aug-06 0:41
Shajeel25-Aug-06 0:41 
GeneralRe: Hidden Fields Pin
Brendan Vogt25-Aug-06 0:55
Brendan Vogt25-Aug-06 0:55 
GeneralRe: Hidden Fields Pin
Shajeel25-Aug-06 1:16
Shajeel25-Aug-06 1:16 
AnswerRe: Hidden Fields Pin
Mircea Grelus25-Aug-06 1:07
Mircea Grelus25-Aug-06 1:07 
QuestionIs there any class or utility that reads the sln file Pin
Brosis25-Aug-06 0:04
Brosis25-Aug-06 0:04 
AnswerRe: Is there any class or utility that reads the sln file Pin
GDavy25-Aug-06 1:29
GDavy25-Aug-06 1:29 
QuestionRetrieving Subset of Pixels from an Image Pin
Vsree25-Aug-06 0:00
Vsree25-Aug-06 0:00 
AnswerRe: Retrieving Subset of Pixels from an Image Pin
Christian Graus25-Aug-06 0:08
protectorChristian Graus25-Aug-06 0:08 
Questionconst vs readonly Pin
psamy24-Aug-06 23:50
psamy24-Aug-06 23:50 
AnswerRe: const vs readonly Pin
MIHAI_MTZ25-Aug-06 0:01
MIHAI_MTZ25-Aug-06 0:01 
AnswerRe: const vs readonly Pin
coolestCoder25-Aug-06 0:03
coolestCoder25-Aug-06 0:03 
GeneralRe: const vs readonly Pin
Divyang Mithaiwala25-Aug-06 0:45
Divyang Mithaiwala25-Aug-06 0:45 
GeneralRe: const vs readonly Pin
coolestCoder25-Aug-06 0:53
coolestCoder25-Aug-06 0:53 

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.