Click here to Skip to main content
15,909,440 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use simple c++ console app in C# Pin
Dan Neely4-Apr-06 2:10
Dan Neely4-Apr-06 2:10 
AnswerRe: How to use simple c++ console app in C# Pin
Vasudevan Deepak Kumar4-Apr-06 5:10
Vasudevan Deepak Kumar4-Apr-06 5:10 
GeneralRe: How to use simple c++ console app in C# Pin
Expert Coming4-Apr-06 20:42
Expert Coming4-Apr-06 20:42 
Questionhow to download directx 9.0 SDK for framework 1.0 ? Pin
hdv2123-Apr-06 20:59
hdv2123-Apr-06 20:59 
AnswerRe: how to download directx 9.0 SDK for framework 1.0 ? Pin
leppie4-Apr-06 0:37
leppie4-Apr-06 0:37 
AnswerRe: how to download directx 9.0 SDK for framework 1.0 ? Pin
Vasudevan Deepak Kumar4-Apr-06 5:11
Vasudevan Deepak Kumar4-Apr-06 5:11 
QuestionBase Class or common static method? Pin
moazzamahmed3-Apr-06 20:05
moazzamahmed3-Apr-06 20:05 
AnswerRe: Base Class or common static method? Pin
Maqsood Ahmed3-Apr-06 20:38
Maqsood Ahmed3-Apr-06 20:38 
Hello,
Why not use static overloaded methods from a class say "DatabaseHelperClass"?

GetRows(string key,string value, string tableName)<br />
GetRows(Hashtable filter,string tableName)<br />
GetRows(string tableName)


and same for other tasks??? As far as additions/updates are concerned, you can put the values in a hashtable such that the Key represents the column name and value represents the value of the column you want to add or update in the table. with respect to the key..

For Additions
AddRow(string tableName,Hashtable values)

For Updates
UpdateRows(string key, string value, string tableName, Hashtable values)<br />
GetRows(Hashtable filter,string tableName, Hashtable values)<br />
UpdateRows(string tableName, Hashtable values)


you can do similar for deletions as well. Don't you think it will be a clean approach?

Maqsood Ahmed - MCAD.net
Kolachi Advanced Technologies
http://www.kolachi.net
GeneralRe: Base Class or common static method? Pin
moazzamahmed4-Apr-06 6:11
moazzamahmed4-Apr-06 6:11 
AnswerRe: Base Class or common static method? Pin
Nicholas Butler3-Apr-06 22:07
sitebuilderNicholas Butler3-Apr-06 22:07 
GeneralRe: Base Class or common static method? Pin
Maqsood Ahmed4-Apr-06 2:04
Maqsood Ahmed4-Apr-06 2:04 
Question----how can I recieve a custom message sent from COM server to C# client? Pin
dragooooon lee3-Apr-06 19:40
dragooooon lee3-Apr-06 19:40 
QuestionCommandBuilder.DeriveParameters Pin
ShivT3-Apr-06 19:11
ShivT3-Apr-06 19:11 
Questionblinking form Pin
Yulianto.3-Apr-06 14:23
Yulianto.3-Apr-06 14:23 
AnswerRe: blinking form Pin
Igor Sukhov3-Apr-06 14:39
Igor Sukhov3-Apr-06 14:39 
AnswerRe: blinking form Pin
Sean893-Apr-06 15:57
Sean893-Apr-06 15:57 
QuestionErrors compiling... Pin
KORCARI3-Apr-06 11:50
KORCARI3-Apr-06 11:50 
GeneralRe: Errors compiling... Pin
Guffa3-Apr-06 12:00
Guffa3-Apr-06 12:00 
GeneralRe: Errors compiling... Pin
Colin Angus Mackay3-Apr-06 12:27
Colin Angus Mackay3-Apr-06 12:27 
JokeRe: Errors compiling... Pin
Guffa3-Apr-06 12:53
Guffa3-Apr-06 12:53 
GeneralRe: Errors compiling... Pin
Colin Angus Mackay3-Apr-06 12:56
Colin Angus Mackay3-Apr-06 12:56 
AnswerRe: Errors compiling... Pin
Christian Graus3-Apr-06 15:10
protectorChristian Graus3-Apr-06 15:10 
AnswerRe: Errors compiling... Pin
HimaBindu Vejella3-Apr-06 20:25
HimaBindu Vejella3-Apr-06 20:25 
QuestionCOM and XslCompiledTransform.Load() Pin
ardikus3-Apr-06 11:16
ardikus3-Apr-06 11:16 
QuestionPrivateFontCollection not working on server Pin
elraton3-Apr-06 11:15
elraton3-Apr-06 11:15 

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.