Click here to Skip to main content
15,909,737 members
Home / Discussions / C#
   

C#

 
AnswerRe: Network Programming Pin
N a v a n e e t h27-Jan-09 18:28
N a v a n e e t h27-Jan-09 18:28 
AnswerRe: Network Programming Pin
Rutvik Dave29-Jan-09 8:36
professionalRutvik Dave29-Jan-09 8:36 
QuestionNo problem with cs file, but problem when running it in Visual Studio Pin
u060509427-Jan-09 14:29
u060509427-Jan-09 14:29 
AnswerRe: No problem with cs file, but problem when running it in Visual Studio Pin
_Maxxx_27-Jan-09 16:14
professional_Maxxx_27-Jan-09 16:14 
Question[Message Deleted] Pin
Vady_127-Jan-09 13:22
Vady_127-Jan-09 13:22 
AnswerRe: Helpppppppp me OUT Pin
Vimalsoft(Pty) Ltd27-Jan-09 21:02
professionalVimalsoft(Pty) Ltd27-Jan-09 21:02 
AnswerRe: Helpppppppp me OUT Pin
Pete O'Hanlon27-Jan-09 23:47
mvePete O'Hanlon27-Jan-09 23:47 
QuestionDataSet Fill Method via WCF?? Pin
Illegal Operation27-Jan-09 12:35
Illegal Operation27-Jan-09 12:35 
Hi,

I am busy with an NTier Windows Application that has the following:

Presentation Tier (Windows Application)
In the presentation Tier I have a form with a Combobox.

DataAccess Tier (Class library)
This tier contains the DataSet TableAdapters.

DataEntityTier (Class library)
This tier contains the DataSet Validation and Structure.

DataService (WCF)
This tier connects to the DataAccess tier in order to retrieve the data.


I have successfully implemented the GetData() method via the WCF service. How can I implement the Fill() method? I currently have a combobox that I have set the datasource, datamember and valuemember but nothing gets populated. How can I get the data from the dataset to the combobox using WCF??

IService1 File:

[OperationContract]
WBGTS.DataEntities.dsEntities.IndustryDataTable GetIndustries()

Service1 File:

public WBGTS.DataEntities.dsEntities.IndustryDataTable GetIndustries()
{
WBGTS.DataAccess.dsIndustryTableAdapter taIndustry = new WBGTS.DataAccess.dsIndustryTableAdapter();
return taIndustry.GetIndustries();
}

Windows Form:

Form_Load(object sender, eventargs e)
{
ServiceReference1.ServiceClient proxy = new ServiceReference1.ServiceClient();
dsEntities.Industries.Merge(proxy.GetIndustries());
}


Illegal Operation

AnswerRe: DataSet Fill Method via WCF?? Pin
tasumisra28-Jan-09 1:27
tasumisra28-Jan-09 1:27 
Questioncan't open a vs 2003.net project.... Pin
AndieDu27-Jan-09 12:11
AndieDu27-Jan-09 12:11 
AnswerRe: can't open a vs 2003.net project.... Pin
Colin Angus Mackay27-Jan-09 13:37
Colin Angus Mackay27-Jan-09 13:37 
GeneralRe: can't open a vs 2003.net project.... Pin
AndieDu27-Jan-09 14:26
AndieDu27-Jan-09 14:26 
GeneralRe: can't open a vs 2003.net project.... Pin
_Maxxx_27-Jan-09 15:48
professional_Maxxx_27-Jan-09 15:48 
AnswerRe: can't open a vs 2003.net project.... Pin
AndieDu28-Jan-09 17:49
AndieDu28-Jan-09 17:49 
QuestionSearching files for String data - performance suggestions? Pin
Ryan Neil Shaw27-Jan-09 12:06
Ryan Neil Shaw27-Jan-09 12:06 
AnswerRe: Searching files for String data - performance suggestions? Pin
Ryan Neil Shaw2-Feb-09 10:03
Ryan Neil Shaw2-Feb-09 10:03 
AnswerRe: Searching files for String data - performance suggestions? Pin
Ryan Neil Shaw2-Feb-09 12:40
Ryan Neil Shaw2-Feb-09 12:40 
QuestionDisplay contents of a multiline textbox for printing Pin
krup7527-Jan-09 11:46
krup7527-Jan-09 11:46 
AnswerRe: Display contents of a multiline textbox for printing Pin
led mike27-Jan-09 11:54
led mike27-Jan-09 11:54 
Questionsuppress crystal report parameter dialog box Pin
Jassim Rahma27-Jan-09 11:39
Jassim Rahma27-Jan-09 11:39 
AnswerRe: suppress crystal report parameter dialog box Pin
Wendelius27-Jan-09 11:43
mentorWendelius27-Jan-09 11:43 
GeneralRe: suppress crystal report parameter dialog box Pin
Jassim Rahma27-Jan-09 11:45
Jassim Rahma27-Jan-09 11:45 
GeneralRe: suppress crystal report parameter dialog box Pin
Wendelius27-Jan-09 11:56
mentorWendelius27-Jan-09 11:56 
QuestionDisplaying & editing a two dimensional array in DataGridView Pin
Henrik Schmiediche27-Jan-09 10:44
Henrik Schmiediche27-Jan-09 10:44 
AnswerRe: Displaying & editing a two dimensional array in DataGridView Pin
MadArtSoft28-Jan-09 0:01
MadArtSoft28-Jan-09 0: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.