Windows services
-
After i have created a services in c# using the processservices class, this services contain only a method GetDate(). but can any body tell me how can i interacte with this sevices. for example, i should have a method instead of GetDate (): Establishconnection(param..) that help me to connect to an Sql2005 server (this method is with the services). And after, i should connect to this services from a client application and call this method and then get the connection with the SqlSever without having an sqlclient in the client machine. regards, bye.
etretyertyery
-
After i have created a services in c# using the processservices class, this services contain only a method GetDate(). but can any body tell me how can i interacte with this sevices. for example, i should have a method instead of GetDate (): Establishconnection(param..) that help me to connect to an Sql2005 server (this method is with the services). And after, i should connect to this services from a client application and call this method and then get the connection with the SqlSever without having an sqlclient in the client machine. regards, bye.
etretyertyery
If I understand your question, you want this "service" application to provide the connection to you client applications without having a SQL Client installed on them. I do not think this could easily be done. However, you should look into creating a WebService to get your data if you do not want your clients to have the SQL Client.
Hope this helps! Joseph Guadagno http://www.josephguadagno.net
-
If I understand your question, you want this "service" application to provide the connection to you client applications without having a SQL Client installed on them. I do not think this could easily be done. However, you should look into creating a WebService to get your data if you do not want your clients to have the SQL Client.
Hope this helps! Joseph Guadagno http://www.josephguadagno.net