Click here to Skip to main content
15,885,278 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Storing visible signature (jpg) files in AD or Database. Pin
Eddy Vluggen22-Nov-10 20:31
professionalEddy Vluggen22-Nov-10 20:31 
QuestionPractical steps for using Xml in an application? Pin
charlieg22-Nov-10 4:37
charlieg22-Nov-10 4:37 
AnswerRe: Practical steps for using Xml in an application? Pin
abmv22-Nov-10 9:29
professionalabmv22-Nov-10 9:29 
GeneralRe: Practical steps for using Xml in an application? Pin
charlieg22-Nov-10 11:22
charlieg22-Nov-10 11:22 
QuestionUsing DataTables against arrays Pin
JayKhatri13-Nov-10 21:06
JayKhatri13-Nov-10 21:06 
AnswerRe: Using DataTables against arrays Pin
Eddy Vluggen16-Nov-10 0:07
professionalEddy Vluggen16-Nov-10 0:07 
GeneralRe: Using DataTables against arrays Pin
JayKhatri16-Nov-10 0:13
JayKhatri16-Nov-10 0:13 
QuestionDetecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 7:53
JayKhatri6-Nov-10 7:53 
Hi,

I am using Dim str as string frequently in my windows application mostly to fill any dataset to query anything and more.

basically how I use this is as follows:

Dim dSetTemp As New DataSet
Dim str As String
str = "select trans_vchr.trans_vchr_id, trans_vchr.session_cfee_id, blah blah...."

dSetTemp = clscmn.Fill_DS(str) --> fill_ds is a function created to increase the productivity.

Here if I like I can easily do the same like this
dSetTemp = clscmn.Fill_DS("select trans_vchr.trans_vchr_id, trans_vchr.session_cfee_id, blah blah....")

Here my question is whether I use str variable or not, actually I use the variable as it make my debugging so easy I just copy the string and paste in sql to test the query. Here that gives me productivity while debugging but if it is at the cost of performance. I would compromise with debugging facility or If it is negligible, it can be left.

Can you suggest what will be best for me. I like to save bytes to be loaded in memory and like to have best performance.

Thanks in Advance.

Jay Khatri
AnswerRe: Detecting a right way to use variables in .Net Pin
Luc Pattyn6-Nov-10 8:51
sitebuilderLuc Pattyn6-Nov-10 8:51 
GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 9:31
JayKhatri6-Nov-10 9:31 
AnswerRe: Detecting a right way to use variables in .Net Pin
Ray Cassick6-Nov-10 21:54
Ray Cassick6-Nov-10 21:54 
GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 22:02
JayKhatri6-Nov-10 22:02 
GeneralRe: Detecting a right way to use variables in .Net Pin
Dave Kreskowiak7-Nov-10 2:27
mveDave Kreskowiak7-Nov-10 2:27 
GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri7-Nov-10 4:00
JayKhatri7-Nov-10 4:00 
GeneralRe: Detecting a right way to use variables in .Net Pin
Ray Cassick7-Nov-10 21:10
Ray Cassick7-Nov-10 21:10 
GeneralRe: Detecting a right way to use variables in .Net Pin
Dave Kreskowiak8-Nov-10 1:35
mveDave Kreskowiak8-Nov-10 1:35 
AnswerRe: Detecting a right way to use variables in .Net Pin
GParkings2-Sep-11 3:08
GParkings2-Sep-11 3:08 
QuestionDesign & Architecture Help Pin
dsrao4-Nov-10 12:30
dsrao4-Nov-10 12:30 
AnswerCROSSPOST Pin
Dave Kreskowiak4-Nov-10 14:55
mveDave Kreskowiak4-Nov-10 14:55 
Questiontool for real time graph plotting.. Pin
jainiraj27-Oct-10 1:22
jainiraj27-Oct-10 1:22 
AnswerRe: tool for real time graph plotting.. Pin
Eddy Vluggen28-Oct-10 9:40
professionalEddy Vluggen28-Oct-10 9:40 
QuestionModularizing Help Pin
Aaronov21-Oct-10 18:38
Aaronov21-Oct-10 18:38 
AnswerRe: Modularizing Help Pin
Eddy Vluggen23-Oct-10 4:49
professionalEddy Vluggen23-Oct-10 4:49 
GeneralRe: Modularizing Help Pin
Aaronov24-Oct-10 12:11
Aaronov24-Oct-10 12:11 
GeneralRe: Modularizing Help Pin
Richard Andrew x6424-Oct-10 15:01
professionalRichard Andrew x6424-Oct-10 15:01 

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.