Click here to Skip to main content
15,892,927 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncode project is mostly in C# Pin
sahelk28-Mar-07 1:18
sahelk28-Mar-07 1:18 
AnswerRe: code project is mostly in C# Pin
DanB198328-Mar-07 1:21
DanB198328-Mar-07 1:21 
GeneralRe: code project is mostly in C# Pin
sahelk28-Mar-07 1:29
sahelk28-Mar-07 1:29 
GeneralRe: code project is mostly in C# Pin
siddisagar28-Mar-07 1:50
siddisagar28-Mar-07 1:50 
GeneralRe: code project is mostly in C# Pin
sahelk28-Mar-07 4:34
sahelk28-Mar-07 4:34 
GeneralRe: code project is mostly in C# Pin
enjoycrack28-Mar-07 1:50
enjoycrack28-Mar-07 1:50 
AnswerRe: code project is mostly in C# Pin
Colin Angus Mackay28-Mar-07 1:59
Colin Angus Mackay28-Mar-07 1:59 
AnswerRe: code project is mostly in C# Pin
DanB198328-Mar-07 2:32
DanB198328-Mar-07 2:32 
Hi
What I mean is that both C# and VB.NET are using the Microsoft .NET framework. This means they are capable of calling the same functions and only the syntax needs changing to work (in most cases)

so for example

for(index = 0; index < columns.Count; index++)
{
if(m_reader.Name = columns[index]
{
elementString[index] = m_reader.ReadElementString().Replace(",", ":");
}
}

becomes in VB.NET

For index = 0 To columns.Count - 1
If m_reader.Name = columns(index) Then
elementString(index) = m_reader.ReadElementString().Replace(",", ":")
End If
Next

as you can see it is using the same functions and constructs (loops) but the syntax is different

Dan
GeneralRe: code project is mostly in C# Pin
sahelk28-Mar-07 4:31
sahelk28-Mar-07 4:31 
GeneralRe: code project is mostly in C# Pin
DanB198328-Mar-07 4:54
DanB198328-Mar-07 4:54 
Questionhow can i show a message box?? Pin
regin28-Mar-07 1:10
regin28-Mar-07 1:10 
AnswerRe: how can i show a message box?? Pin
kubben28-Mar-07 1:18
kubben28-Mar-07 1:18 
GeneralRe: how can i show a message box?? Pin
regin28-Mar-07 1:38
regin28-Mar-07 1:38 
GeneralRe: how can i show a message box?? Pin
kubben28-Mar-07 1:45
kubben28-Mar-07 1:45 
GeneralRe: how can i show a message box?? Pin
regin28-Mar-07 1:54
regin28-Mar-07 1:54 
GeneralRe: how can i show a message box?? Pin
kubben28-Mar-07 2:14
kubben28-Mar-07 2:14 
AnswerRe: how can i show a message box?? Pin
ajay5888628-Mar-07 1:20
ajay5888628-Mar-07 1:20 
AnswerRe: how can i show a message box?? Pin
enjoycrack28-Mar-07 1:55
enjoycrack28-Mar-07 1:55 
GeneralRe: how can i show a message box?? Pin
regin28-Mar-07 19:22
regin28-Mar-07 19:22 
QuestionURL Rewriting Pin
wEb GuRu...28-Mar-07 0:58
wEb GuRu...28-Mar-07 0:58 
AnswerRe: URL Rewriting Pin
l0kke28-Mar-07 1:24
l0kke28-Mar-07 1:24 
AnswerRe: URL Rewriting Pin
DanB198328-Mar-07 1:28
DanB198328-Mar-07 1:28 
Questionconnect textbox with database Pin
mmm!@#27-Mar-07 23:45
mmm!@#27-Mar-07 23:45 
AnswerRe: connect textbox with database Pin
enjoycrack28-Mar-07 0:26
enjoycrack28-Mar-07 0:26 
AnswerRe: connect textbox with database Pin
Victor Ebe3-Dec-10 1:36
Victor Ebe3-Dec-10 1:36 

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.