Click here to Skip to main content
15,890,370 members
Home / Discussions / C#
   

C#

 
QuestionAdd web parts into facebook Pin
thuannguyen26-Nov-07 16:46
thuannguyen26-Nov-07 16:46 
GeneralRe: Add web parts into facebook Pin
Paul Conrad8-Dec-07 5:24
professionalPaul Conrad8-Dec-07 5:24 
QuestionC# beginner Pin
tperk_726-Nov-07 15:06
tperk_726-Nov-07 15:06 
AnswerRe: C# beginner Pin
Luc Pattyn26-Nov-07 15:32
sitebuilderLuc Pattyn26-Nov-07 15:32 
AnswerRe: C# beginner Pin
Paul Conrad26-Nov-07 15:58
professionalPaul Conrad26-Nov-07 15:58 
QuestionTransparencyKey and BackgroundImage Pin
Raziaar26-Nov-07 15:05
Raziaar26-Nov-07 15:05 
QuestionIf you're still in school, pay attention to this....you will have to deal with it someday Pin
Alaric_26-Nov-07 14:03
professionalAlaric_26-Nov-07 14:03 
AnswerRe: If you're still in school, pay attention to this....you will have to deal with it someday Pin
Alaric_26-Nov-07 14:14
professionalAlaric_26-Nov-07 14:14 
I created a structure that has 2 string properties, Code & Text.
I created the stored procedure that queried the database for the set of Role Code/Description combos(passed in a parameterized sys_refcursor) ...execute the reader, storing each of the column values in an appropriate variable of my Structs type, add it to the ArrayList and loop.

Ok.....so here's where I get to the point of "working with their existing system." ...I don't pass up through any business logic layer to get to the UI here, because this path doesn't need to be maintained back to the data. I bound the DropDownList on my form directly to the result set of my "GetRoles" method. ...During the code review with Support, they don't understand why I created the struct. ...They think that I should have (and are trying to force me into) simply bound the OracleDataReader directly to the UI!!! I tried explaining to them that you're not supposed to expose data access objects(as in DataSet, DataTable, DataAdapters) directly to the client like that and that what I had done was essentially the same thing, but I cannot think of any point of defense for my technique besides "I said so" and "because the way you want it to be done is Spaghetti Code" ....their solution is TECHNICALLY correct, but it is really coming down to their personal preference and getting into a "Well, I would have done it this way" .....I don't have the time(calendar) or time(budget hours) to make this change, but they have to sign off on this before it's out of my hands. ...Does anyone have any suggestions that I might be able to use for my defense? I was going to hang my hat on the fact that I am creating a structure, and therefore it doesn't need to invoke the GC, but I go ahead and put them in a darn ArrayList. ...I'm probably just going to create a static array of my structure so that I can lean on that point, but I want to do my best to make sure that they can't convince my manager to have me change this just "because they said so"

"I need build Skynet. Plz send code"

GeneralRe: If you're still in school, pay attention to this....you will have to deal with it someday Pin
Alaric_26-Nov-07 14:17
professionalAlaric_26-Nov-07 14:17 
GeneralRe: If you're still in school, pay attention to this....you will have to deal with it someday Pin
Alaric_26-Nov-07 14:30
professionalAlaric_26-Nov-07 14:30 
GeneralRe: If you're still in school, pay attention to this....you will have to deal with it someday Pin
macerenn26-Nov-07 14:33
macerenn26-Nov-07 14:33 
QuestionHow do i open a program from a button Pin
C# Beginner Nick26-Nov-07 13:47
C# Beginner Nick26-Nov-07 13:47 
AnswerRe: How do i open a program from a button Pin
Ravi Bhavnani26-Nov-07 14:24
professionalRavi Bhavnani26-Nov-07 14:24 
GeneralRe: How do i open a program from a button Pin
C# Beginner Nick26-Nov-07 14:33
C# Beginner Nick26-Nov-07 14:33 
AnswerRe: How do i open a program from a button Pin
Ravi Bhavnani26-Nov-07 14:37
professionalRavi Bhavnani26-Nov-07 14:37 
GeneralRe: How do i open a program from a button Pin
C# Beginner Nick26-Nov-07 14:48
C# Beginner Nick26-Nov-07 14:48 
GeneralRe: How do i open a program from a button Pin
macerenn26-Nov-07 14:37
macerenn26-Nov-07 14:37 
GeneralRe: How do i open a program from a button Pin
Ravi Bhavnani26-Nov-07 14:40
professionalRavi Bhavnani26-Nov-07 14:40 
GeneralRe: How do i open a program from a button Pin
Rich Insley27-Nov-07 5:36
Rich Insley27-Nov-07 5:36 
GeneralRe: How do i open a program from a button Pin
Ravi Bhavnani27-Nov-07 5:58
professionalRavi Bhavnani27-Nov-07 5:58 
QuestionHow can I get the URL address for a TCP Packet? Pin
Khoramdin26-Nov-07 13:46
Khoramdin26-Nov-07 13:46 
AnswerRe: How can I get the URL address for a TCP Packet? Pin
macerenn26-Nov-07 15:19
macerenn26-Nov-07 15:19 
GeneralRe: typedef enum c header to C# Pin
schoetbi26-Nov-07 11:04
schoetbi26-Nov-07 11:04 
GeneralRe: typedef enum c header to C# Pin
Luc Pattyn26-Nov-07 11:29
sitebuilderLuc Pattyn26-Nov-07 11:29 
QuestionPossible to get the location of the launching Shortcut? Pin
Sautin.net26-Nov-07 10:56
Sautin.net26-Nov-07 10:56 

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.