Click here to Skip to main content
15,889,595 members
Home / Discussions / C#
   

C#

 
Generalwindows form Pin
jphuphilly20-Jun-03 10:17
jphuphilly20-Jun-03 10:17 
GeneralRe: windows form Pin
J. Dunlap20-Jun-03 10:20
J. Dunlap20-Jun-03 10:20 
GeneralRe: windows form Pin
jphuphilly20-Jun-03 10:25
jphuphilly20-Jun-03 10:25 
GeneralRe: windows form Pin
J. Dunlap20-Jun-03 10:28
J. Dunlap20-Jun-03 10:28 
GeneralRe: windows form Pin
Dimitris Iliopoulos20-Jun-03 11:37
Dimitris Iliopoulos20-Jun-03 11:37 
GeneralRe: windows form Pin
jphuphilly21-Jun-03 7:08
jphuphilly21-Jun-03 7:08 
GeneralSQL in C# question Pin
puppiesLover20-Jun-03 8:08
puppiesLover20-Jun-03 8:08 
GeneralRe: SQL in C# question Pin
Anonymous20-Jun-03 9:36
Anonymous20-Jun-03 9:36 
You should only need one IDbConnection instance to one database, and you can just reuse it every time (just open and close it).

I am not sure what you mean by indirect query; however I think its good practice to use the interfaces rather than the specific providers as much as possible, as your provider might change. (i.e. IDbCommand cmd = new OldDbCommand("S...).

As for the queries, I keep mine as strings, not as string literals, and have them in a config file. That way I don't need to recompile every time i change a query. It also makes it easy to add on constraints on the query ( cmd.CommandText = selectString + "WHERE Cust = " + custId.ToString()).
GeneralRe: SQL in C# question Pin
Danny Rodriguez20-Jun-03 10:12
Danny Rodriguez20-Jun-03 10:12 
GeneralControl Sizing Pin
Anonymous20-Jun-03 7:15
Anonymous20-Jun-03 7:15 
GeneralRe: Control Sizing Pin
Anonymous20-Jun-03 9:25
Anonymous20-Jun-03 9:25 
GeneralSpreadsheet "Like" Data Entry Pin
Andrew Bromfield20-Jun-03 7:06
Andrew Bromfield20-Jun-03 7:06 
GeneralRe: Spreadsheet "Like" Data Entry Pin
Dimitris Iliopoulos20-Jun-03 11:45
Dimitris Iliopoulos20-Jun-03 11:45 
QuestionCould Some one Please help to convert two lines from C# to VB.NET? Pin
Eikeland20-Jun-03 5:13
Eikeland20-Jun-03 5:13 
AnswerRe: Could Some one Please help to convert two lines from C# to VB.NET? Pin
CherezZaboro20-Jun-03 5:39
CherezZaboro20-Jun-03 5:39 
GeneralDesign question about windows services... Pin
CherezZaboro20-Jun-03 5:13
CherezZaboro20-Jun-03 5:13 
GeneralRe: Design question about windows services... Pin
CherezZaboro20-Jun-03 6:27
CherezZaboro20-Jun-03 6:27 
GeneralRe: Design question about windows services... Pin
CherezZaboro20-Jun-03 7:17
CherezZaboro20-Jun-03 7:17 
GeneralRe: Design question about windows services... Pin
CherezZaboro20-Jun-03 9:28
CherezZaboro20-Jun-03 9:28 
GeneralRe: Design question about windows services... Pin
CherezZaboro23-Jun-03 3:31
CherezZaboro23-Jun-03 3:31 
GeneralRe: Design question about windows services... Pin
Burt Harris21-Jun-03 12:59
Burt Harris21-Jun-03 12:59 
GeneralRe: Design question about windows services... Pin
CherezZaboro23-Jun-03 3:08
CherezZaboro23-Jun-03 3:08 
GeneralComm Port and WinSock Pin
RB@Emphasys20-Jun-03 5:10
RB@Emphasys20-Jun-03 5:10 
GeneralRe: Comm Port and WinSock Pin
Nick Parker20-Jun-03 10:22
protectorNick Parker20-Jun-03 10:22 
GeneralRe: Comm Port and WinSock Pin
Dimitris Iliopoulos20-Jun-03 11:52
Dimitris Iliopoulos20-Jun-03 11:52 

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.