Click here to Skip to main content
15,894,313 members
Home / Discussions / C#
   

C#

 
GeneralRe: error ---Cannot find table 0. Pin
KIDYA26-Jun-09 21:07
KIDYA26-Jun-09 21:07 
AnswerRe: error ---Cannot find table 0. Pin
Christian Graus26-Jun-09 21:04
protectorChristian Graus26-Jun-09 21:04 
GeneralRe: error ---Cannot find table 0. Pin
KIDYA26-Jun-09 21:11
KIDYA26-Jun-09 21:11 
GeneralRe: error ---Cannot find table 0. Pin
Christian Graus26-Jun-09 21:23
protectorChristian Graus26-Jun-09 21:23 
AnswerRe: error ---Cannot find table 0. Pin
Rajesh Anuhya26-Jun-09 21:14
professionalRajesh Anuhya26-Jun-09 21:14 
GeneralRe: error ---Cannot find table 0. Pin
Christian Graus26-Jun-09 21:23
protectorChristian Graus26-Jun-09 21:23 
AnswerRe: error ---Cannot find table 0. Pin
fly90426-Jun-09 21:55
fly90426-Jun-09 21:55 
GeneralRe: error ---Cannot find table 0. Pin
KIDYA27-Jun-09 1:29
KIDYA27-Jun-09 1:29 
Questionprint a webform (asp.net 2.0 with c#) Pin
Sudhirg kumar26-Jun-09 20:30
Sudhirg kumar26-Jun-09 20:30 
AnswerRe: print a webform (asp.net 2.0 with c#) [modified] Pin
dan!sh 26-Jun-09 20:57
professional dan!sh 26-Jun-09 20:57 
QuestionIE Toolbar not "selectable" Pin
Jerome Caldwell26-Jun-09 18:35
Jerome Caldwell26-Jun-09 18:35 
Questionsql c# connection for sign_in Pin
A_A26-Jun-09 18:18
A_A26-Jun-09 18:18 
AnswerRe: sql c# connection for sign_in Pin
Christian Graus26-Jun-09 18:26
protectorChristian Graus26-Jun-09 18:26 
AnswerRe: sql c# connection for sign_in Pin
padmanabhan N26-Jun-09 18:55
padmanabhan N26-Jun-09 18:55 
GeneralRe: sql c# connection for sign_in Pin
Christian Graus26-Jun-09 20:21
protectorChristian Graus26-Jun-09 20:21 
GeneralRe: sql c# connection for sign_in Pin
padmanabhan N26-Jun-09 20:41
padmanabhan N26-Jun-09 20:41 
GeneralRe: sql c# connection for sign_in Pin
A_A26-Jun-09 23:29
A_A26-Jun-09 23:29 
GeneralRe: sql c# connection for sign_in Pin
padmanabhan N26-Jun-09 23:40
padmanabhan N26-Jun-09 23:40 
GeneralRe: sql c# connection for sign_in Pin
A_A27-Jun-09 3:17
A_A27-Jun-09 3:17 
QuestionHow to get DiskDrive model if I know the Drive letter Pin
lexx_zone26-Jun-09 10:40
lexx_zone26-Jun-09 10:40 
AnswerRe: How to get DiskDrive model if I know the Drive letter Pin
I Believe In GOD26-Jun-09 13:44
I Believe In GOD26-Jun-09 13:44 
GeneralRe: How to get DiskDrive model if I know the Drive letter Pin
lexx_zone27-Jun-09 1:05
lexx_zone27-Jun-09 1:05 
GeneralRe: How to get DiskDrive model if I know the Drive letter Pin
padmanabhan N27-Jun-09 1:14
padmanabhan N27-Jun-09 1:14 
QuestionArbitrary length bitfields? Pin
Trollslayer26-Jun-09 10:32
mentorTrollslayer26-Jun-09 10:32 
AnswerRe: Arbitrary length bitfields? Pin
Luc Pattyn26-Jun-09 11:01
sitebuilderLuc Pattyn26-Jun-09 11:01 
Hi Elaine,

1.
you can manually create C-style unions in C# using explicit offsets, here is an example:
[StructLayout(LayoutKind.Explicit)]
struct unie {
    [FieldOffset(0)]
    public float f;
    [FieldOffset(0)]
    public byte b;
}

You would be taking full responsibility for the correctness of the offsets! (Mind x86/x64 if you are going to store pointers/references)

2.
I am unaware of a proper way to handle bit fields, other than doing it all with ANDs and SHIFTs. Struct/class properties can hide that stuff for the outside world.

3.
Maybe this Masks and flags using bit fields in .NET[^] can inspire you.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

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.