Click here to Skip to main content
15,913,486 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Architecture issue (IIS and SQL server on same machine?) Pin
tarunbounthiyal1-Nov-06 22:11
tarunbounthiyal1-Nov-06 22:11 
QuestionIs this doable? Pin
sharma sanjeev25-Oct-06 22:01
sharma sanjeev25-Oct-06 22:01 
AnswerRe: Is this doable? Pin
Bradml26-Oct-06 0:43
Bradml26-Oct-06 0:43 
QuestionPassing vb.net class object to c# class method [modified] Pin
pdeep25-Oct-06 18:04
pdeep25-Oct-06 18:04 
AnswerRe: Passing vb.net class object to c# class method Pin
Akhilesh Yadav25-Oct-06 19:04
Akhilesh Yadav25-Oct-06 19:04 
GeneralRe: Passing vb.net class object to c# class method Pin
pdeep25-Oct-06 19:18
pdeep25-Oct-06 19:18 
GeneralRe: Passing vb.net class object to c# class method Pin
Akhilesh Yadav25-Oct-06 19:42
Akhilesh Yadav25-Oct-06 19:42 
GeneralRe: Passing vb.net class object to c# class method Pin
pdeep25-Oct-06 19:50
pdeep25-Oct-06 19:50 
code behind of web app.

Imports Schemas
Imports Managers

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim objSch As New mySchemas
Dim objMan As New myManager

objSch.FirstName = "Scott"
objSch.LastName = "Perk"

objMan.AccessSchema(objSch) 'Error in this line :objSch
'Error during compliation


End Sub


-------myManager.cs----------------
using System;
using Schemas;

namespace Managers
{
///
/// Summary description for Class1.
///

public class myManager
{

public void AccessSchema(mySchemas objReg)
{string FN,LN;

FN = objReg.FirstName;
LN = objReg.LastName;
}
}
}

--- MySchemas-----
Public Class mySchemas
Private strFirstName As String
Private strLastName As String

Sub mySchemas()
strFirstName = ""
strLastName = ""
End Sub
Public Property FirstName() As String
Get
Return strFirstName
End Get
Set(ByVal Value As String)
strFirstName = Value
End Set
End Property
Public Property LastName() As String
Get
Return strLastName
End Get
Set(ByVal Value As String)
strLastName = Value
End Set
End Property
End Class


PradeepG

GeneralRe: Passing vb.net class object to c# class method Pin
Akhilesh Yadav26-Oct-06 0:22
Akhilesh Yadav26-Oct-06 0:22 
GeneralRe: Passing vb.net class object to c# class method Pin
pdeep26-Oct-06 19:05
pdeep26-Oct-06 19:05 
Questionwhere to specify "domain" besides "username" and "password" using WinInet API? Pin
chairman nirvana25-Oct-06 16:53
chairman nirvana25-Oct-06 16:53 
QuestionASP 3.0 help needed, Pin
Naveed Kamboh25-Oct-06 6:13
Naveed Kamboh25-Oct-06 6:13 
AnswerRe: ASP 3.0 help needed, Pin
Guffa25-Oct-06 11:37
Guffa25-Oct-06 11:37 
GeneralRe: ASP 3.0 help needed, solved but with another way Pin
Naveed Kamboh26-Oct-06 4:10
Naveed Kamboh26-Oct-06 4:10 
QuestionSorting in paging environment Pin
swapnil.jaiswal25-Oct-06 3:25
swapnil.jaiswal25-Oct-06 3:25 
AnswerRe: Sorting in paging environment Pin
Guffa25-Oct-06 4:06
Guffa25-Oct-06 4:06 
AnswerRe: Sorting in paging environment Pin
ednrgc25-Oct-06 6:48
ednrgc25-Oct-06 6:48 
QuestionRich Text Editor Pin
Bradml25-Oct-06 1:36
Bradml25-Oct-06 1:36 
AnswerRe: Rich Text Editor Pin
ednrgc25-Oct-06 6:51
ednrgc25-Oct-06 6:51 
AnswerRe: Rich Text Editor Pin
Fred_Smith25-Oct-06 11:15
Fred_Smith25-Oct-06 11:15 
AnswerRe: Rich Text Editor Pin
DavidNohejl30-Oct-06 10:01
DavidNohejl30-Oct-06 10:01 
QuestionJavascript not working in Firefox.... Pin
Fred_Smith24-Oct-06 12:23
Fred_Smith24-Oct-06 12:23 
AnswerRe: Javascript not working in Firefox.... Pin
Guffa24-Oct-06 12:44
Guffa24-Oct-06 12:44 
GeneralRe: Javascript not working in Firefox.... Pin
Fred_Smith24-Oct-06 13:31
Fred_Smith24-Oct-06 13:31 
GeneralRe: Javascript not working in Firefox.... Pin
Fred_Smith24-Oct-06 13:57
Fred_Smith24-Oct-06 13:57 

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.