Click here to Skip to main content
15,881,898 members
Home / Discussions / C#
   

C#

 
AnswerRe: datagrid combobox column Pin
Greg Chelstowski29-Sep-09 21:28
Greg Chelstowski29-Sep-09 21:28 
Questiondatetime picker in datagridview c# 2008 Pin
abcurl29-Sep-09 18:04
abcurl29-Sep-09 18:04 
AnswerRe: datetime picker in datagridview c# 2008 Pin
Not Active29-Sep-09 18:27
mentorNot Active29-Sep-09 18:27 
GeneralRe: datetime picker in datagridview c# 2008 Pin
abcurl29-Sep-09 18:30
abcurl29-Sep-09 18:30 
GeneralRe: datetime picker in datagridview c# 2008 Pin
Not Active29-Sep-09 18:37
mentorNot Active29-Sep-09 18:37 
QuestionRe: datetime picker in datagridview c# 2008 Pin
abcurl29-Sep-09 18:40
abcurl29-Sep-09 18:40 
AnswerRe: datetime picker in datagridview c# 2008 Pin
Not Active29-Sep-09 18:46
mentorNot Active29-Sep-09 18:46 
QuestionWCF,3Tier Pin
Member 232129329-Sep-09 17:47
Member 232129329-Sep-09 17:47 
hi,
i successful to create my 3 tier with the WCF method.(3 tier in coding and physical structure)
my project i divided into several layers.
myWCF(host), myClient(GUI/exe), myClientBz(Business Logic), myDAL(Data Access Layer), myClientInterfaces(interface)

Error, if call more than 1 host.
My Business Logic will more than 1 class.
And i intending to make interface to myDAL(data access layer)
setup config file in myWCF and myClient
Due to text limitation i only copy out the important part.

myHost config file: due to "<,>" allow not allow there, i change to "()"
(services)
(service behaviorConfiguration="metadataBehavior" name="myClientBz.myMessager")
(endpoint address="myMessagerService" binding="basicHttpBinding" bindingConfiguration="" name="basicHttp" contract="myClientInterfaces.imyMessager" /)
(endpoint binding="mexHttpBinding" bindingConfiguration="" name="metadataExchange" contract="IMetadataExchange" /)
(host)
(baseAddresses)
(add baseAddress="http://cspc/myMessager" /)
(/baseAddresses)
(/host)
(/service)
(/services)


myClient config file (i created by running the host exe, same time add service references at myClient's reference)
(client)
(endpoint address="http://cspc/myMessager/myMessagerService"
binding="basicHttpBinding" bindingConfiguration="basicHttp"
contract="myMessagerService.imyMessager" name="basicHttp" />
(/client)

Begin host:
using (ServiceHost host = new ServiceHost(typeof(myMessager)))
{
host.Open();
Console.ReadLine();
host.Close();
}

to test my exe are ok, i write form1 in myClient and test in other pc

myMessagerService.imyMessager proxy = new myClient.myMessagerService.imyMessagerClient();
string result = proxy.SendMessage();
MessageBox.Show(result, "xx");
it work fine. it return me a message that i write in myClient

If myClientBz required extra class, what needed in next?
Required to add myCaculation, myInformation into myClientBz.
Same i need to add interface for myCaculation, myInformation into myClientInterfaces right?
My project going to Touch on SQL DataBase.
which mean i required to add interface and config file(myDAL) again? or is depend how i write
the coding that the way i communicate with my SQL DB?

Please give advise or sample.

by memeber 2321293
CSTan
QuestionModify a Dataset then apply dataset to sql server... What am I doing wrong Please? Pin
JollyMansArt29-Sep-09 12:25
JollyMansArt29-Sep-09 12:25 
AnswerRe: Modify a Dataset then apply dataset to sql server... What am I doing wrong Please? Pin
JollyMansArt29-Sep-09 12:35
JollyMansArt29-Sep-09 12:35 
QuestionHow to run a wcf service in System Context? Pin
AndyASPVB29-Sep-09 11:44
AndyASPVB29-Sep-09 11:44 
AnswerRe: How to run a wcf service in System Context? Pin
Calla29-Sep-09 19:35
Calla29-Sep-09 19:35 
GeneralRe: How to run a wcf service in System Context? Pin
AndyASPVB30-Sep-09 8:43
AndyASPVB30-Sep-09 8:43 
QuestionFind First Row using WildCard and nonPrimary Column Pin
KCI-VA29-Sep-09 10:36
KCI-VA29-Sep-09 10:36 
AnswerRe: Find First Row using WildCard and nonPrimary Column [modified] Pin
Eddy Vluggen29-Sep-09 10:53
professionalEddy Vluggen29-Sep-09 10:53 
AnswerRe: Find First Row using WildCard and nonPrimary Column Pin
Henry Minute29-Sep-09 11:06
Henry Minute29-Sep-09 11:06 
QuestionRe: Find First Row using WildCard and nonPrimary Column [modified] Pin
KCI-VA30-Sep-09 2:18
KCI-VA30-Sep-09 2:18 
QuestionInsert/Update into Table with many fields. Pin
castrand129-Sep-09 9:59
castrand129-Sep-09 9:59 
AnswerRe: Insert/Update into Table with many fields. Pin
Not Active29-Sep-09 10:21
mentorNot Active29-Sep-09 10:21 
AnswerRe: Insert/Update into Table with many fields. Pin
Christian Graus29-Sep-09 10:31
protectorChristian Graus29-Sep-09 10:31 
AnswerRe: Insert/Update into Table with many fields. Pin
Dave Kreskowiak29-Sep-09 10:49
mveDave Kreskowiak29-Sep-09 10:49 
GeneralRe: Insert/Update into Table with many fields. Pin
castrand130-Sep-09 8:32
castrand130-Sep-09 8:32 
GeneralRe: Insert/Update into Table with many fields. Pin
Dave Kreskowiak30-Sep-09 14:38
mveDave Kreskowiak30-Sep-09 14:38 
GeneralRe: Insert/Update into Table with many fields. Pin
castrand12-Oct-09 7:43
castrand12-Oct-09 7:43 
QuestionLinkbutton, Target="_blank" Pin
JohnQuar129-Sep-09 7:28
JohnQuar129-Sep-09 7:28 

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.