Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
AnswerRe: why should we assigne an object to null? [modified] Pin
N a v a n e e t h16-Jun-08 20:46
N a v a n e e t h16-Jun-08 20:46 
QuestionPrint doc files without MS Word Pin
arslanjatt16-Jun-08 18:55
arslanjatt16-Jun-08 18:55 
AnswerRe: Print doc files without MS Word Pin
Simon P Stevens16-Jun-08 22:45
Simon P Stevens16-Jun-08 22:45 
QuestionHow to Add References Dynamically ? Pin
hdv21216-Jun-08 17:29
hdv21216-Jun-08 17:29 
AnswerRe: How to Add References Dynamically ? Pin
dan!sh 16-Jun-08 19:49
professional dan!sh 16-Jun-08 19:49 
AnswerRe: How to Add References Dynamically ? Pin
N a v a n e e t h16-Jun-08 20:40
N a v a n e e t h16-Jun-08 20:40 
GeneralRe: How to Add References Dynamically ? Pin
hdv21217-Jun-08 14:05
hdv21217-Jun-08 14:05 
Questionplease solve this webservice problem Pin
Shaik Haneef16-Jun-08 17:09
Shaik Haneef16-Jun-08 17:09 
hi to all

i write some simple webservice in below and put into http://bundi.com/webser.asmx

i take a web refence and created object and it is working fine, plase follow the code and finally please answer my questions



webser.asmx file conetent in which i have in http://bundi.com/webser.asmx
***************



]]>
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Namespace mysimpleWebService


<webservice(namespace:> _
<webservicebinding(conformsto:> _
<global.microsoft.visualbasic.compilerservices.designergenerated()> _
Public Class webser
Inherits System.Web.Services.WebService

<webmethod()> _
Public Function sum(ByVal a As Double, ByVal b As Double) As Double
Return a + b
End Function

End Class


End Namespace




default.aspx page content
*************


Partial Class _Default
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

Dim objweb As New summethod.webser
objweb.sum(19.1, 30.9)
Response.Write("sum result is " & objweb.sum(19.1, 30.9))

End Sub
End Class



here my problem are
**********************

1) this webservice accessign directly how i protect this with password the perticular webservice
2) is anything more need to learn about webservice,what other uses , can u explain any thing more to learn web service

This is haneef.............................................................

QuestionSerialPort class with inverted logic Pin
User 1278216-Jun-08 16:07
User 1278216-Jun-08 16:07 
QuestionStructs Pin
Illegal Operation16-Jun-08 15:47
Illegal Operation16-Jun-08 15:47 
AnswerRe: Structs Pin
N a v a n e e t h16-Jun-08 20:38
N a v a n e e t h16-Jun-08 20:38 
GeneralRe: Structs Pin
Alan Balkany17-Jun-08 4:35
Alan Balkany17-Jun-08 4:35 
QuestionWhat's an easy way to add Keys programatically? Pin
That Asian Guy16-Jun-08 12:08
That Asian Guy16-Jun-08 12:08 
AnswerRe: What's an easy way to add Keys programatically? Pin
Christian Graus16-Jun-08 14:14
protectorChristian Graus16-Jun-08 14:14 
AnswerRe: What's an easy way to add Keys programatically? Pin
Anthony Mushrow16-Jun-08 14:16
professionalAnthony Mushrow16-Jun-08 14:16 
AnswerRe: What's an easy way to add Keys programatically? Pin
OR0N16-Jun-08 14:31
OR0N16-Jun-08 14:31 
AnswerRe: What's an easy way to add Keys programatically? Pin
Ed.Poore16-Jun-08 14:57
Ed.Poore16-Jun-08 14:57 
GeneralRe: What's an easy way to add Keys programatically? Pin
That Asian Guy16-Jun-08 15:59
That Asian Guy16-Jun-08 15:59 
GeneralRe: What's an easy way to add Keys programatically? Pin
Ed.Poore16-Jun-08 22:23
Ed.Poore16-Jun-08 22:23 
AnswerRe: What's an easy way to add Keys programatically? Pin
That Asian Guy16-Jun-08 16:05
That Asian Guy16-Jun-08 16:05 
NewsAnyone else seen the new C# .NET CommandBars beta from Codejock? I think I like it :) Pin
gerbiling16-Jun-08 8:09
gerbiling16-Jun-08 8:09 
GeneralRe: Anyone else seen the new C# .NET CommandBars beta from Codejock? I think I like it :) Pin
led mike16-Jun-08 8:11
led mike16-Jun-08 8:11 
GeneralRe: Anyone else seen the new C# .NET CommandBars beta from Codejock? I think I like it :) Pin
Pete O'Hanlon16-Jun-08 8:21
mvePete O'Hanlon16-Jun-08 8:21 
GeneralRe: Anyone else seen the new C# .NET CommandBars beta from Codejock? I think I like it :) Pin
led mike16-Jun-08 9:50
led mike16-Jun-08 9:50 
GeneralRe: Anyone else seen the new C# .NET CommandBars beta from Codejock? I think I like it :) Pin
Pete O'Hanlon16-Jun-08 10:08
mvePete O'Hanlon16-Jun-08 10:08 

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.