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

C#

 
GeneralRe: How to refresh system tray by C# Pin
Luc Pattyn22-May-09 3:28
sitebuilderLuc Pattyn22-May-09 3:28 
JokeRe: How to refresh system tray by C# Pin
Mycroft Holmes22-May-09 3:50
professionalMycroft Holmes22-May-09 3:50 
QuestionDrag n Drop nodes inbetween 2 TreeViews Pin
KotaSri22-May-09 1:53
KotaSri22-May-09 1:53 
AnswerRe: Drag n Drop nodes inbetween 2 TreeViews Pin
tom57200722-May-09 2:15
tom57200722-May-09 2:15 
AnswerRe: Drag n Drop nodes inbetween 2 TreeViews Pin
EliottA22-May-09 3:35
EliottA22-May-09 3:35 
QuestionHow to set the attribute value of an IHTMLELement in c#? Pin
svt gdwl22-May-09 1:44
svt gdwl22-May-09 1:44 
Questiona windows application is to call a webservice which will call a stored procedure Pin
Krishna Aditya22-May-09 0:51
Krishna Aditya22-May-09 0:51 
AnswerRe: a windows application is to call a webservice which will call a stored procedure Pin
Mbah Dhaim22-May-09 1:09
Mbah Dhaim22-May-09 1:09 
yes it is.

1. create a web service application
2. in a method from your web service call your stored procedure using System.Data.DbCommand inheritance (i.e SqlCommand for SqlServer) by set it's CommandText property with name of your stored procedure, CommandType = CommandType.StoredProcedure and create it's related parameters (see SqlParameter class as sample)
3. Create a windows application (windows form or console)
4. Add Web reference from your web service address to your windows application, usually it will create a class refer to your web service object
5. call the method in step 2 from created web service class in your windows application

hope it helps

dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support



GeneralRe: a windows application is to call a webservice which will call a stored procedure Pin
Krishna Aditya22-May-09 2:11
Krishna Aditya22-May-09 2:11 
GeneralRe: a windows application is to call a webservice which will call a stored procedure Pin
Mycroft Holmes22-May-09 2:51
professionalMycroft Holmes22-May-09 2:51 
GeneralRe: a windows application is to call a webservice which will call a stored procedure Pin
EliottA22-May-09 3:39
EliottA22-May-09 3:39 
Questionfile transfer help Pin
saqib8222-May-09 0:46
saqib8222-May-09 0:46 
QuestionHelp with client-server application that send images to a client [modified] Pin
Raquel Barata22-May-09 0:28
Raquel Barata22-May-09 0:28 
AnswerRe: Help with client-server application that send images to a client Pin
Mbah Dhaim22-May-09 1:13
Mbah Dhaim22-May-09 1:13 
QuestionCoordinates problem Pin
Silvyster22-May-09 0:08
Silvyster22-May-09 0:08 
AnswerRe: Coordinates problem Pin
molesworth22-May-09 0:12
molesworth22-May-09 0:12 
GeneralRe: Coordinates problem Pin
Silvyster22-May-09 0:32
Silvyster22-May-09 0:32 
GeneralRe: Coordinates problem Pin
molesworth22-May-09 0:51
molesworth22-May-09 0:51 
GeneralRe: Coordinates problem Pin
Silvyster22-May-09 1:13
Silvyster22-May-09 1:13 
GeneralRe: Coordinates problem Pin
OriginalGriff22-May-09 1:27
mveOriginalGriff22-May-09 1:27 
GeneralRe: Coordinates problem Pin
molesworth22-May-09 1:38
molesworth22-May-09 1:38 
Questioncreate Timers dynamically Pin
Member 305788721-May-09 23:50
Member 305788721-May-09 23:50 
AnswerRe: create Timers dynamically Pin
musefan22-May-09 0:03
musefan22-May-09 0:03 
GeneralRe: create Timers dynamically Pin
Member 305788722-May-09 0:25
Member 305788722-May-09 0:25 
GeneralRe: create Timers dynamically Pin
musefan22-May-09 0:31
musefan22-May-09 0:31 

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.