Click here to Skip to main content
15,907,874 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to disable show again the same form ? Pin
Sascha Lefèvre14-Jan-16 12:14
professionalSascha Lefèvre14-Jan-16 12:14 
AnswerRe: How to disable show again the same form ? Pin
BillWoodruff14-Jan-16 21:30
professionalBillWoodruff14-Jan-16 21:30 
GeneralRe: How to disable show again the same form ? Pin
Member 1224802815-Jan-16 11:03
Member 1224802815-Jan-16 11:03 
Questionsending/receiving sms with c# code using smartphone Pin
Roberto64_Ge12-Jan-16 4:24
Roberto64_Ge12-Jan-16 4:24 
AnswerRe: sending/receiving sms with c# code using smartphone Pin
Dave Kreskowiak12-Jan-16 4:38
mveDave Kreskowiak12-Jan-16 4:38 
QuestionReport builder in c# Pin
Zeyad Jalil12-Jan-16 2:47
professionalZeyad Jalil12-Jan-16 2:47 
AnswerRe: Report builder in c# Pin
Pete O'Hanlon12-Jan-16 3:14
mvePete O'Hanlon12-Jan-16 3:14 
GeneralRe: Report builder in c# Pin
Zeyad Jalil12-Jan-16 6:58
professionalZeyad Jalil12-Jan-16 6:58 
GeneralRe: Report builder in c# Pin
F-ES Sitecore12-Jan-16 23:27
professionalF-ES Sitecore12-Jan-16 23:27 
AnswerRe: Report builder in c# Pin
ZurdoDev12-Jan-16 3:55
professionalZurdoDev12-Jan-16 3:55 
GeneralRe: Report builder in c# Pin
Zeyad Jalil12-Jan-16 6:58
professionalZeyad Jalil12-Jan-16 6:58 
AnswerRe: Report builder in c# Pin
rodrigogroff12-Jan-16 4:01
rodrigogroff12-Jan-16 4:01 
GeneralRe: Report builder in c# Pin
Zeyad Jalil12-Jan-16 6:59
professionalZeyad Jalil12-Jan-16 6:59 
GeneralRe: Report builder in c# Pin
rodrigogroff12-Jan-16 7:42
rodrigogroff12-Jan-16 7:42 
AnswerRe: Report builder in c# Pin
Brisingr Aerowing12-Jan-16 4:08
professionalBrisingr Aerowing12-Jan-16 4:08 
GeneralRe: Report builder in c# Pin
Zeyad Jalil12-Jan-16 6:59
professionalZeyad Jalil12-Jan-16 6:59 
GeneralRe: Report builder in c# Pin
Brisingr Aerowing12-Jan-16 13:31
professionalBrisingr Aerowing12-Jan-16 13:31 
AnswerRe: Report builder in c# Pin
Mycroft Holmes12-Jan-16 12:07
professionalMycroft Holmes12-Jan-16 12:07 
AnswerRe: Report builder in c# Pin
Gerry Schmitz12-Jan-16 16:39
mveGerry Schmitz12-Jan-16 16:39 
QuestionGood Example C# Datagrid and CRUD-Functionality Pin
gpc4411-Jan-16 23:36
gpc4411-Jan-16 23:36 
AnswerRe: Good Example C# Datagrid and CRUD-Functionality Pin
Garth J Lancaster11-Jan-16 23:55
professionalGarth J Lancaster11-Jan-16 23:55 
GeneralRe: Good Example C# Datagrid and CRUD-Functionality Pin
gpc4413-Jan-16 2:41
gpc4413-Jan-16 2:41 
QuestionThe best way to set all the datagrid cells of a row with the same value Pin
Member 1144944711-Jan-16 8:03
Member 1144944711-Jan-16 8:03 
AnswerRe: The best way to set all the datagrid cells of a row with the same value Pin
John Torjo11-Jan-16 13:59
professionalJohn Torjo11-Jan-16 13:59 
Your code needs quite a bit of improments:

1. why start at 7:7 (i and j)? Why go until grid_lic.ColumnCount -1 instead of grid_lic.ColumnCount?
2. Your i and j iterate through columsn onlyl not through rows at all.
3. Why do you set that CurrentRow.Cells[3] to false or true?
4. Why the double statements (Convert.ToBoolean...)?
5. The Convert.ToBoolean seems un-needed

6. You need to first check ALL cells to see if they are all true or not, so that you'll know how to set them
7. Then, once you've done 6., you have to do a simple for..., and set each checkbox to either false or true (what you computed at step 6.)

Best,
John
-- Log Wizard - a Log Viewer that is easy and fun to use!

GeneralRe: The best way to set all the datagrid cells of a row with the same value Pin
Member 1144944711-Jan-16 22:49
Member 1144944711-Jan-16 22:49 

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.