Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
QuestionCalling COM fails in C# destructor Pin
cmartono1-Jun-10 16:41
cmartono1-Jun-10 16:41 
AnswerRe: Calling COM fails in C# destructor Pin
Abhinav S1-Jun-10 17:43
Abhinav S1-Jun-10 17:43 
QuestionClick on WindowPattern Pin
mayraglez1-Jun-10 7:41
mayraglez1-Jun-10 7:41 
QuestionDataTable row column lookup possiblity? Pin
Blubbo1-Jun-10 7:11
Blubbo1-Jun-10 7:11 
AnswerRe: DataTable row column lookup possiblity? Pin
T M Gray1-Jun-10 10:16
T M Gray1-Jun-10 10:16 
GeneralRe: DataTable row column lookup possiblity? Pin
Blubbo2-Jun-10 2:07
Blubbo2-Jun-10 2:07 
AnswerRe: DataTable row column lookup possiblity? Pin
PIEBALDconsult1-Jun-10 13:31
mvePIEBALDconsult1-Jun-10 13:31 
AnswerRe: DataTable row column lookup possiblity? Pin
AspDotNetDev1-Jun-10 17:58
protectorAspDotNetDev1-Jun-10 17:58 
You could have your fifth column be a combination of the numbers. So, the first row would have a "ComboColumn" value of "60,43,33,40". If you have a SQL query fill your DataTable, you could just have it return that "ComboColumn" in addition to the other columns. You could then use datTab.Rows["ComboColumn"].Indexof("60,43,33,40") to find the correct row. However, if that is still too slow, you may want to condider creating a dictionary object to hold the rows with the ComboColumn string as the key. Alternatively, if you are just looking for a single row and you are using SQL, it might be a good idea to just query for that specific row rather than gather data then find it. If you have an appropriate index setup on the table, that should be very fast (also depends on network speed and such).

GeneralRe: DataTable row column lookup possiblity? Pin
Blubbo2-Jun-10 2:08
Blubbo2-Jun-10 2:08 
QuestionSend mail through SMTP server Pin
loyal ginger1-Jun-10 7:02
loyal ginger1-Jun-10 7:02 
AnswerRe: Send mail through SMTP server Pin
Abhinav S1-Jun-10 7:52
Abhinav S1-Jun-10 7:52 
GeneralRe: Send mail through SMTP server Pin
loyal ginger1-Jun-10 8:51
loyal ginger1-Jun-10 8:51 
AnswerRe: Send mail through SMTP server Pin
OriginalGriff1-Jun-10 8:22
mveOriginalGriff1-Jun-10 8:22 
GeneralRe: Send mail through SMTP server Pin
loyal ginger1-Jun-10 8:33
loyal ginger1-Jun-10 8:33 
GeneralRe: Send mail through SMTP server Pin
OriginalGriff1-Jun-10 8:41
mveOriginalGriff1-Jun-10 8:41 
GeneralRe: Send mail through SMTP server Pin
Luc Pattyn1-Jun-10 9:11
sitebuilderLuc Pattyn1-Jun-10 9:11 
GeneralRe: Send mail through SMTP server Pin
loyal ginger1-Jun-10 8:48
loyal ginger1-Jun-10 8:48 
GeneralRe: Send mail through SMTP server Pin
OriginalGriff1-Jun-10 8:54
mveOriginalGriff1-Jun-10 8:54 
GeneralRe: Send mail through SMTP server Pin
loyal ginger1-Jun-10 9:14
loyal ginger1-Jun-10 9:14 
GeneralRe: Send mail through SMTP server Pin
Luc Pattyn1-Jun-10 9:59
sitebuilderLuc Pattyn1-Jun-10 9:59 
QuestionFile.Open strange behaviour Pin
ds411-Jun-10 6:46
ds411-Jun-10 6:46 
AnswerRe: File.Open strange behaviour Pin
#realJSOP1-Jun-10 7:38
mve#realJSOP1-Jun-10 7:38 
Questioncount words of office file Pin
jojoba20111-Jun-10 5:54
jojoba20111-Jun-10 5:54 
AnswerRe: count words of office file PinPopular
OriginalGriff1-Jun-10 5:56
mveOriginalGriff1-Jun-10 5:56 
GeneralRe: count words of office file Pin
Luc Pattyn1-Jun-10 6:52
sitebuilderLuc Pattyn1-Jun-10 6: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.