Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
AnswerRe: while loop updates form on Vista, not on XP Pin
#realJSOP24-Dec-08 4:05
professional#realJSOP24-Dec-08 4:05 
GeneralRe: while loop updates form on Vista, not on XP Pin
ClarkBohs24-Dec-08 4:35
ClarkBohs24-Dec-08 4:35 
AnswerRe: while loop updates form on Vista, not on XP Pin
User 665824-Dec-08 4:19
User 665824-Dec-08 4:19 
GeneralRe: while loop updates form on Vista, not on XP Pin
ClarkBohs24-Dec-08 4:36
ClarkBohs24-Dec-08 4:36 
GeneralRe: while loop updates form on Vista, not on XP Pin
ClarkBohs24-Dec-08 4:53
ClarkBohs24-Dec-08 4:53 
QuestionHow to make a http GET request with a http proxy with sockets Pin
Zeokat24-Dec-08 3:02
Zeokat24-Dec-08 3:02 
QuestionCustom Combo Box Control Pin
raghunandan sharma24-Dec-08 1:31
raghunandan sharma24-Dec-08 1:31 
QuestionOLE DB templates in C# Pin
malli198424-Dec-08 0:58
malli198424-Dec-08 0:58 
Hi,

I've worked on OLE DB templates like DEFINE_COMMAND_EX, BEGIN_PARAM_MAP etc. in VC++. Now I need to convert that functionality into C#. I'm new to C#. So please tell me whether C# is having the similar sort of templates.

Following is an example in VC++ using OLE DB templates

class CGetDetails
{
public:
LONG m_CompanyId;
BEGIN_COLUMN_MAP(CGetDetails)
COLUMN_ENTRY(1, m_CompanyId)
COLUMN_ENTRY(2, m_CompanyName)
END_COLUMN_MAP()

DEFINE_COMMAND_EX(CGetDetails, _T(" SELECT * from companylist"))

BEGIN_PARAM_MAP(CGetDetails)
END_PARAM_MAP()

void ClearRecord()
{
memset(this, 0, sizeof(*this));
}
};

Now I need similar sort of class in C#. Could you please tell me the related possibilities?

Thanks in advance,
Malleswari.
AnswerRe: OLE DB templates in C# Pin
Not Active24-Dec-08 3:30
mentorNot Active24-Dec-08 3:30 
QuestionHow To Get Hard Disk Drivers Pin
Mohammed Elkholy24-Dec-08 0:36
Mohammed Elkholy24-Dec-08 0:36 
AnswerRe: How To Get Hard Disk Drivers Pin
DanB198324-Dec-08 0:56
DanB198324-Dec-08 0:56 
AnswerRe: How To Get Hard Disk Drivers Pin
DaveyM6924-Dec-08 1:12
professionalDaveyM6924-Dec-08 1:12 
AnswerRe: How To Get Hard Disk Drivers Pin
Paddy Boyd24-Dec-08 2:03
Paddy Boyd24-Dec-08 2:03 
QuestionDeveloping Themes Pin
kinnuP24-Dec-08 0:23
kinnuP24-Dec-08 0:23 
AnswerCross post - this has also been asked in the WPF forum. Pin
Pete O'Hanlon24-Dec-08 1:22
mvePete O'Hanlon24-Dec-08 1:22 
Questionrevers axise in the zedgraph Pin
hamidhakimi24-Dec-08 0:06
hamidhakimi24-Dec-08 0:06 
AnswerRe: revers axise in the zedgraph Pin
User 665824-Dec-08 0:57
User 665824-Dec-08 0:57 
QuestionHow to enable ContextmenuStrip for the button? Pin
matixsc23-Dec-08 23:51
professionalmatixsc23-Dec-08 23:51 
AnswerRe: How to enable ContextmenuStrip for the button? Pin
TommyTomToms24-Dec-08 1:18
TommyTomToms24-Dec-08 1:18 
Questionmaking of .csv file at run time Pin
MS Lee23-Dec-08 20:35
MS Lee23-Dec-08 20:35 
AnswerRe: making of .csv file at run time Pin
That's Aragon23-Dec-08 21:41
That's Aragon23-Dec-08 21:41 
AnswerRe: making of .csv file at run time Pin
beatles169223-Dec-08 22:48
beatles169223-Dec-08 22:48 
QuestionGet SQL provider list Pin
That's Aragon23-Dec-08 19:34
That's Aragon23-Dec-08 19:34 
AnswerRe: Get SQL provider list Pin
That's Aragon23-Dec-08 19:54
That's Aragon23-Dec-08 19:54 
GeneralRe: Get SQL provider list Pin
MS Lee23-Dec-08 22:14
MS Lee23-Dec-08 22:14 

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.