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

C#

 
AnswerRe: Split text file by Fixed Length Pin
Vasudevan Deepak Kumar29-Apr-09 22:33
Vasudevan Deepak Kumar29-Apr-09 22:33 
GeneralRe: Split text file by Fixed Length Pin
yueru29-Apr-09 23:24
yueru29-Apr-09 23:24 
AnswerRe: Split text file by Fixed Length Pin
Mbah Dhaim30-Apr-09 3:01
Mbah Dhaim30-Apr-09 3:01 
QuestionQuestion on Web serivce... Pin
Siva Koyi29-Apr-09 21:23
Siva Koyi29-Apr-09 21:23 
AnswerRe: Question on Web serivce... Pin
N a v a n e e t h29-Apr-09 21:56
N a v a n e e t h29-Apr-09 21:56 
GeneralRe: Question on Web serivce... Pin
Siva Koyi29-Apr-09 22:11
Siva Koyi29-Apr-09 22:11 
GeneralRe: Question on Web serivce... Pin
N a v a n e e t h29-Apr-09 23:07
N a v a n e e t h29-Apr-09 23:07 
GeneralRe: Question on Web serivce... Pin
Jabbar_espania30-Apr-09 1:33
Jabbar_espania30-Apr-09 1:33 
You can precompile trough desktop project too
I give you example how you can compile trough webservice and desktop application

Webserive ::

on the service.cs


[WebMethod]

public int sum (int a , int b)
{
return a + b;


}


and now run the webservice on local host there you will see input textbox1 and input textbox 2 then invoke button you will see the result on xml page


Compile trough desktop applicacion :
public partial class Form1 : Form
{
applicationname.Service ws = new localhost.applicacionname.Service(); // this conect you to webservice but dont forget to add web reference (which display you when you will run the webservice)

public Form1()
{
InitializeComponent();
}


private void button2_Click(object sender, EventArgs e) // make button on your form and put three txtbox //
{


int a = int.Parse(textBox2.Text);
int b = int.Parse(textBox3.Text);
int result= ws.sum(a, b);
textBox4.Text = result.ToString();



}


Hope it will help you , good luck
AnswerRe: Question on Web serivce... Pin
saanj29-Apr-09 23:47
saanj29-Apr-09 23:47 
Questionthread cpu usage Pin
shefa' isied29-Apr-09 21:07
shefa' isied29-Apr-09 21:07 
AnswerRe: thread cpu usage Pin
Jack Li29-Apr-09 21:21
Jack Li29-Apr-09 21:21 
AnswerRe: thread cpu usage Pin
N a v a n e e t h29-Apr-09 21:52
N a v a n e e t h29-Apr-09 21:52 
QuestionICollectionView Pin
Paw Jershauge29-Apr-09 20:29
Paw Jershauge29-Apr-09 20:29 
AnswerRe: ICollectionView Pin
Jack Li29-Apr-09 21:17
Jack Li29-Apr-09 21:17 
GeneralRe: ICollectionView Pin
Paw Jershauge29-Apr-09 21:41
Paw Jershauge29-Apr-09 21:41 
AnswerRe: ICollectionView Pin
Spunky Coder29-Apr-09 21:58
Spunky Coder29-Apr-09 21:58 
GeneralRe: ICollectionView Pin
Paw Jershauge29-Apr-09 23:28
Paw Jershauge29-Apr-09 23:28 
Questionhow to unbind source control Pin
Maddie from Dartford29-Apr-09 17:12
Maddie from Dartford29-Apr-09 17:12 
AnswerRe: how to unbind source control Pin
Mycroft Holmes29-Apr-09 17:59
professionalMycroft Holmes29-Apr-09 17:59 
AnswerRe: how to unbind source control Pin
dotnetmember29-Apr-09 18:21
dotnetmember29-Apr-09 18:21 
GeneralRe: how to unbind source control Pin
Maddie from Dartford29-Apr-09 19:19
Maddie from Dartford29-Apr-09 19:19 
GeneralRe: how to unbind source control Pin
Jack Li29-Apr-09 21:11
Jack Li29-Apr-09 21:11 
Question[Message Deleted] Pin
nishukri529-Apr-09 17:09
nishukri529-Apr-09 17:09 
AnswerRe: hi!!! Pin
Christian Graus29-Apr-09 17:41
protectorChristian Graus29-Apr-09 17:41 
GeneralRe: hi!!! Pin
HuntingWabbits29-Apr-09 23:23
HuntingWabbits29-Apr-09 23:23 

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.