Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I programatically select a Tab Page? Pin
Member 204889411-Sep-08 14:50
Member 204889411-Sep-08 14:50 
Questiontypedef?? Pin
Dirso11-Sep-08 10:08
Dirso11-Sep-08 10:08 
AnswerI am unaware of that functionality in C# Pin
Ennis Ray Lynch, Jr.11-Sep-08 10:18
Ennis Ray Lynch, Jr.11-Sep-08 10:18 
AnswerRe: typedef?? Pin
PIEBALDconsult11-Sep-08 10:57
mvePIEBALDconsult11-Sep-08 10:57 
AnswerRe: typedef?? Pin
Dave Doknjas11-Sep-08 13:21
Dave Doknjas11-Sep-08 13:21 
GeneralRe: typedef?? Pin
Dirso11-Sep-08 14:06
Dirso11-Sep-08 14:06 
GeneralRe: typedef?? Pin
PIEBALDconsult11-Sep-08 16:25
mvePIEBALDconsult11-Sep-08 16:25 
QuestionWeb reference and hard-coded URLs Pin
Le centriste11-Sep-08 7:34
Le centriste11-Sep-08 7:34 
I have a reference to a web service, which has its URL "hard-coded" (not really, because it is part of the settings).

Here, we must fetch application settings elsewhere (it is the SSO configuration store).

I could do the following:

MyWebService s = new MyWebService();
s.Url = "some url"; // URL fetched from SSO.

s.MyMethod();


But I would prefer the following:

MyWebService s = new MyWebService("some url"); // URL fetched from SSO.

s.MyMethod();


I noticed that the C# code generated declares the MyWebService class as partial. Is there a way I could provide a partial implementation of that class, where there would be a constructor taking a URL as its parameter?

I tried, but it did not work. I remember that you could do it with editor-generated typed datasets.
AnswerRe: Web reference and hard-coded URLs Pin
Judah Gabriel Himango11-Sep-08 13:01
sponsorJudah Gabriel Himango11-Sep-08 13:01 
QuestionEnable/Disable rows in CheckedListBox Pin
spelltwister11-Sep-08 6:48
spelltwister11-Sep-08 6:48 
AnswerRe: Enable/Disable rows in CheckedListBox Pin
Dave Sexton11-Sep-08 7:25
Dave Sexton11-Sep-08 7:25 
GeneralRe: Enable/Disable rows in CheckedListBox Pin
spelltwister12-Sep-08 16:23
spelltwister12-Sep-08 16:23 
GeneralRe: Enable/Disable rows in CheckedListBox Pin
Dave Sexton13-Sep-08 3:45
Dave Sexton13-Sep-08 3:45 
QuestionAuto-update Manager Pin
spelltwister11-Sep-08 6:46
spelltwister11-Sep-08 6:46 
AnswerRe: Auto-update Manager Pin
Dave Sexton11-Sep-08 7:27
Dave Sexton11-Sep-08 7:27 
GeneralRe: Auto-update Manager Pin
spelltwister12-Sep-08 16:24
spelltwister12-Sep-08 16:24 
QuestionError Connecting To Oracle Database Pin
Kevin Marois11-Sep-08 6:42
professionalKevin Marois11-Sep-08 6:42 
AnswerRe: Error Connecting To Oracle Database Pin
Mbah Dhaim11-Sep-08 6:59
Mbah Dhaim11-Sep-08 6:59 
AnswerRe: Error Connecting To Oracle Database Pin
Wendelius11-Sep-08 8:38
mentorWendelius11-Sep-08 8:38 
QuestionHow to search data on DataGridView? Pin
nhatvhm11-Sep-08 5:54
nhatvhm11-Sep-08 5:54 
QuestionRe: How to search data on DataGridView? Pin
Dave Sexton11-Sep-08 7:32
Dave Sexton11-Sep-08 7:32 
QuestionTTS [modified] Pin
kemalsirin11-Sep-08 4:38
kemalsirin11-Sep-08 4:38 
QuestionRe: TTS Pin
led mike11-Sep-08 4:42
led mike11-Sep-08 4:42 
QuestionHow can we get ImageFormat of an image ? Pin
Mohammad Dayyan11-Sep-08 4:30
Mohammad Dayyan11-Sep-08 4:30 
AnswerRe: How can we get ImageFormat of an image ? Pin
Ennis Ray Lynch, Jr.11-Sep-08 4:38
Ennis Ray Lynch, Jr.11-Sep-08 4:38 

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.