Click here to Skip to main content
15,928,535 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncan i use a Forum which is developed in 1.1 Framework Pin
Kumar Arun4-Sep-07 21:44
Kumar Arun4-Sep-07 21:44 
AnswerRe: can i use a Forum which is developed in 1.1 Framework Pin
Vasudevan Deepak Kumar4-Sep-07 22:37
Vasudevan Deepak Kumar4-Sep-07 22:37 
AnswerRe: can i use a Forum which is developed in 1.1 Framework Pin
Lucky Sheikh4-Sep-07 23:43
Lucky Sheikh4-Sep-07 23:43 
QuestionDifference between methods and functions. Pin
NeerajSharp4-Sep-07 21:38
NeerajSharp4-Sep-07 21:38 
AnswerRe: Difference between methods and functions. Pin
Imran Khan Pathan4-Sep-07 21:49
Imran Khan Pathan4-Sep-07 21:49 
GeneralRe: Difference between methods and functions. Pin
NeerajSharp4-Sep-07 22:45
NeerajSharp4-Sep-07 22:45 
GeneralRe: Difference between methods and functions. Pin
Brady Kelly4-Sep-07 23:55
Brady Kelly4-Sep-07 23:55 
AnswerRe: Difference between methods and functions. Pin
Lucky Sheikh5-Sep-07 0:18
Lucky Sheikh5-Sep-07 0:18 
In VB .net, there are two types of methods: functions and subroutines.

Subroutine Declarations:


Code: ( vb )
Sub method-name(parameter-list)
declarations and statements
End Sub

Function Declarations:


Code: ( vb )
Function method-name(parameter-list) As return-type
declarations and statements
....
return expression
End Function

So again, function is a method type that you can use to return values, where sub routines does not return a value. In fact, as you can see, a function or subroutine in Vb.net are both methods.

Example of a shared function in the FCL framework:


Code: ( vb )
dim quad as integer = math.pow(2,4)

That will make, of course, quad = 16.
Hope that helped!

lucky

AnswerRe: Difference between methods and functions. Pin
Lucky Sheikh5-Sep-07 0:18
Lucky Sheikh5-Sep-07 0:18 
AnswerRe: Difference between methods and functions. Pin
Sathesh Sakthivel5-Sep-07 0:32
Sathesh Sakthivel5-Sep-07 0:32 
GeneralRe: Difference between methods and functions. Pin
N a v a n e e t h5-Sep-07 4:29
N a v a n e e t h5-Sep-07 4:29 
AnswerAddition for c# Pin
Urs Enzler5-Sep-07 1:23
Urs Enzler5-Sep-07 1:23 
QuestionStoring data from textboxes generated on runtime on button click that is also generated on runtime. Pin
NeerajSharp4-Sep-07 21:37
NeerajSharp4-Sep-07 21:37 
AnswerRe: Storing data from textboxes generated on runtime on button click that is also generated on runtime. Pin
Imran Khan Pathan4-Sep-07 21:47
Imran Khan Pathan4-Sep-07 21:47 
GeneralRe: Storing data from textboxes generated on runtime on button click that is also generated on runtime. Pin
NeerajSharp4-Sep-07 22:47
NeerajSharp4-Sep-07 22:47 
AnswerRe: Storing data from textboxes generated on runtime on button click that is also generated on runtime. Pin
N a v a n e e t h4-Sep-07 22:44
N a v a n e e t h4-Sep-07 22:44 
AnswerRe: Storing data from textboxes generated on runtime on button click that is also generated on runtime. Pin
Lucky Sheikh5-Sep-07 0:22
Lucky Sheikh5-Sep-07 0:22 
QuestionUrgent listbox values in Server side. Pin
jayarajmrj4-Sep-07 21:26
jayarajmrj4-Sep-07 21:26 
AnswerRe: Urgent listbox values in Server side. Pin
Imran Khan Pathan4-Sep-07 21:38
Imran Khan Pathan4-Sep-07 21:38 
QuestionProblem with Details View Pin
haasini4-Sep-07 21:05
haasini4-Sep-07 21:05 
AnswerRe: Problem with Details View Pin
Imran Khan Pathan4-Sep-07 22:01
Imran Khan Pathan4-Sep-07 22:01 
GeneralRe: Problem with Details View Pin
haasini5-Sep-07 1:19
haasini5-Sep-07 1:19 
Questionhow to get images in the child forms using Master page Pin
Dhyanga4-Sep-07 20:17
Dhyanga4-Sep-07 20:17 
AnswerRe: how to get images in the child forms using Master page Pin
Michael Sync4-Sep-07 21:16
Michael Sync4-Sep-07 21:16 
AnswerRe: how to get images in the child forms using Master page Pin
Lucky Sheikh4-Sep-07 22:18
Lucky Sheikh4-Sep-07 22:18 

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.