Click here to Skip to main content
15,911,890 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adding a new Row to the DataGridView programmatically (DataGridView.AllowUserToAddRow = false) and then Cancel adding by press ESC Pin
alladeen6-Sep-09 17:56
alladeen6-Sep-09 17:56 
GeneralRe: Adding a new Row to the DataGridView programmatically (DataGridView.AllowUserToAddRow = false) and then Cancel adding by press ESC Pin
Mycroft Holmes6-Sep-09 18:09
professionalMycroft Holmes6-Sep-09 18:09 
QuestionOne solution, few projects and one exe without dlls Pin
dexter.wrocek6-Sep-09 9:37
dexter.wrocek6-Sep-09 9:37 
AnswerRe: One solution, few projects and one exe without dlls Pin
Christian Graus6-Sep-09 11:02
protectorChristian Graus6-Sep-09 11:02 
AnswerRe: One solution, few projects and one exe without dlls Pin
Abhishek Sur6-Sep-09 11:08
professionalAbhishek Sur6-Sep-09 11:08 
GeneralRe: One solution, few projects and one exe without dlls Pin
Mycroft Holmes6-Sep-09 16:57
professionalMycroft Holmes6-Sep-09 16:57 
GeneralRe: One solution, few projects and one exe without dlls Pin
Christian Graus6-Sep-09 17:05
protectorChristian Graus6-Sep-09 17:05 
Questioncontrolling the mouse programatically. Pin
asizo6-Sep-09 6:55
asizo6-Sep-09 6:55 
AnswerRe: controlling the mouse programatically. Pin
Wamuti6-Sep-09 7:53
Wamuti6-Sep-09 7:53 
Questioncreate & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
ambiguity_solver6-Sep-09 6:40
ambiguity_solver6-Sep-09 6:40 
AnswerRe: create & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
Christian Graus6-Sep-09 12:44
protectorChristian Graus6-Sep-09 12:44 
GeneralRe: create & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
ambiguity_solver7-Sep-09 19:15
ambiguity_solver7-Sep-09 19:15 
QuestionBits and Bitmask - how to write? Pin
Daniel Leykauf6-Sep-09 6:30
Daniel Leykauf6-Sep-09 6:30 
AnswerRe: Bits and Bitmask - how to write? Pin
harold aptroot6-Sep-09 7:14
harold aptroot6-Sep-09 7:14 
GeneralRe: Bits and Bitmask - how to write? Pin
Daniel Leykauf6-Sep-09 9:29
Daniel Leykauf6-Sep-09 9:29 
thank u harold!

but sorry, i can not understand your solution because you use always 'x' as variable and overwrites therefore all previous values.
can you give me more details?

so far, i can read the values i.e.:

int[] fieldvalue = new int[6];
    fieldvalue(0) = (67637321 & 0x7) >> 0;
    fieldvalue(1) = (67637321 & 0x38) >> 3;
    fieldvalue(2) = (67637321 & 0x1c0) >> 6;
    fieldvalue(3) = (67637321 & 0xfe00) >> 9;
    fieldvalue(4) = (67637321 & 0x7f0000) >> 16;
    fieldvalue(5) = (67637321 & 0x3f800000) >> 23;


so the first three values are set to 1 and the last three to 8.

how can i now set the second value i.e. to 2? or in other words: how do i get the int value 67637321 if i have as first three value 1 and as last three 8?

many thanks!
GeneralRe: Bits and Bitmask - how to write? Pin
harold aptroot6-Sep-09 9:53
harold aptroot6-Sep-09 9:53 
GeneralRe: Bits and Bitmask - how to write? [modified] Pin
Daniel Leykauf6-Sep-09 10:19
Daniel Leykauf6-Sep-09 10:19 
AnswerRe: Bits and Bitmask - how to write? Pin
Luc Pattyn6-Sep-09 7:16
sitebuilderLuc Pattyn6-Sep-09 7:16 
QuestionRDLC C# Report shows only record...but datasource containts more then 100 records [modified] Pin
xodeblack6-Sep-09 5:40
xodeblack6-Sep-09 5:40 
AnswerRe: RDLC C# Report shows only record...but datasource containts more then 100 records Pin
Abhishek Sur6-Sep-09 10:59
professionalAbhishek Sur6-Sep-09 10:59 
GeneralRe: RDLC C# Report shows only record...but datasource containts more then 100 records Pin
xodeblack7-Sep-09 0:04
xodeblack7-Sep-09 0:04 
QuestionStarting a new process after process.close() Pin
Member 37222616-Sep-09 5:14
Member 37222616-Sep-09 5:14 
AnswerRe: Starting a new process after process.close() Pin
OriginalGriff6-Sep-09 6:03
mveOriginalGriff6-Sep-09 6:03 
GeneralRe: Starting a new process after process.close() Pin
Member 37222616-Sep-09 19:15
Member 37222616-Sep-09 19:15 
GeneralRe: Starting a new process after process.close() Pin
OriginalGriff6-Sep-09 21:36
mveOriginalGriff6-Sep-09 21:36 

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.