Click here to Skip to main content
15,916,949 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to call code behind function in javascript ? Pin
hemant.kaushal8-Sep-08 2:39
hemant.kaushal8-Sep-08 2:39 
Questioni need a tab Pin
Nika Asgari7-Sep-08 18:57
Nika Asgari7-Sep-08 18:57 
AnswerRe: i need a tab Pin
Abhijit Jana7-Sep-08 19:47
professionalAbhijit Jana7-Sep-08 19:47 
AnswerRe: i need a tab Pin
Ravi Sant3-May-11 0:29
Ravi Sant3-May-11 0:29 
QuestionConvert a VB statement to C# Pin
reogeo20087-Sep-08 17:58
reogeo20087-Sep-08 17:58 
AnswerRe: Convert a VB statement to C# Pin
sumit70347-Sep-08 18:03
sumit70347-Sep-08 18:03 
GeneralRe: Convert a VB statement to C# Pin
N a v a n e e t h7-Sep-08 18:45
N a v a n e e t h7-Sep-08 18:45 
AnswerRe: Convert a VB statement to C# Pin
Guffa7-Sep-08 21:37
Guffa7-Sep-08 21:37 
Because VB uses the highest index when declaring array, while C# uses the size.

The code is an exact translation of the VB code, but the VB code is probably not correct in the first place. It should most likely use streamObj.Length - 1 to create a buffer the same size as the stream, and the translation of that to C# would use streamObj.Length.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Convert a VB statement to C# Pin
N a v a n e e t h7-Sep-08 23:32
N a v a n e e t h7-Sep-08 23:32 
GeneralRe: Convert a VB statement to C# Pin
Guffa7-Sep-08 23:56
Guffa7-Sep-08 23:56 
GeneralRe: Convert a VB statement to C# Pin
Jay_se8-Sep-08 2:59
Jay_se8-Sep-08 2:59 
AnswerRe: Convert a VB statement to C# Pin
Blue_Boy7-Sep-08 20:48
Blue_Boy7-Sep-08 20:48 
GeneralRe: Convert a VB statement to C# Pin
N a v a n e e t h7-Sep-08 21:16
N a v a n e e t h7-Sep-08 21:16 
AnswerRe: Convert a VB statement to C# Pin
hemant.kaushal8-Sep-08 2:47
hemant.kaushal8-Sep-08 2:47 
AnswerRe: Convert a VB statement to C# Pin
Shaik Haneef8-Sep-08 3:44
Shaik Haneef8-Sep-08 3:44 
AnswerUse Always for convertion VB to C# Pin
Shaik Haneef8-Sep-08 3:46
Shaik Haneef8-Sep-08 3:46 
QuestionUsing conditional statements in datagrid? Pin
gerryR.com7-Sep-08 10:36
gerryR.com7-Sep-08 10:36 
AnswerRe: Using conditional statements in datagrid? Pin
NeverHeardOfMe7-Sep-08 11:18
NeverHeardOfMe7-Sep-08 11:18 
GeneralRe: Using conditional statements in datagrid? Pin
gerryR.com8-Sep-08 10:45
gerryR.com8-Sep-08 10:45 
QuestionSqlServer Connection error Pin
reogeo20087-Sep-08 8:35
reogeo20087-Sep-08 8:35 
AnswerRe: SqlServer Connection error Pin
Hamed Musavi7-Sep-08 8:49
Hamed Musavi7-Sep-08 8:49 
AnswerRe: SqlServer Connection error Pin
Wendelius7-Sep-08 10:07
mentorWendelius7-Sep-08 10:07 
GeneralRe: SqlServer Connection error Pin
reogeo20087-Sep-08 17:59
reogeo20087-Sep-08 17:59 
GeneralRe: SqlServer Connection error Pin
Wendelius8-Sep-08 7:33
mentorWendelius8-Sep-08 7:33 
QuestionWeb Hosting Pin
reogeo20087-Sep-08 8:05
reogeo20087-Sep-08 8:05 

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.