Click here to Skip to main content
15,912,897 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Custome Control Problem Pin
Muhammad Gouda25-Aug-08 21:28
Muhammad Gouda25-Aug-08 21:28 
AnswerRe: Custome Control Soulution Pin
Muhammad Gouda24-Aug-08 21:46
Muhammad Gouda24-Aug-08 21:46 
Question0 size of child controls of UpdatePanel [modified] at runtime Pin
Neeraj Arora24-Aug-08 0:06
Neeraj Arora24-Aug-08 0:06 
AnswerRe: 0 size of child controls of UpdatePanel [modified] at runtime Pin
Brij24-Aug-08 2:57
mentorBrij24-Aug-08 2:57 
QuestionReDim Preserve data(totalBytesRead + dataBlock) to C# Pin
aref8724-Aug-08 0:00
aref8724-Aug-08 0:00 
AnswerRe: ReDim Preserve data(totalBytesRead + dataBlock) to C# Pin
Guffa24-Aug-08 12:18
Guffa24-Aug-08 12:18 
GeneralRe: ReDim Preserve data(totalBytesRead + dataBlock) to C# Pin
aref8724-Aug-08 23:04
aref8724-Aug-08 23:04 
GeneralRe: ReDim Preserve data(totalBytesRead + dataBlock) to C# Pin
Guffa25-Aug-08 20:18
Guffa25-Aug-08 20:18 
First of all, you don't even have an array at all. You have to create an array before you can resize it.

Why are you reversing the data in the array? If there is a reason to revere any data in the array, you can't reverse data that isn't even in the array yet, and there is no reason to reverse a bunch of zeroes. Also, you can't use -1 as starting index when reversing a part of an array.

You have to resize the array to the size of the actual data read before you return the array. Now you are returning an array that is larger than the actual data read, and you don't return how much of the array that contains valid data.

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

Questioncheck email address is correct or not without sending email Pin
help as an alias23-Aug-08 10:57
help as an alias23-Aug-08 10:57 
AnswerRe: check email address is correct or not without sending email Pin
N a v a n e e t h23-Aug-08 18:20
N a v a n e e t h23-Aug-08 18:20 
AnswerRe: check email address is correct or not without sending email Pin
Paul Conrad23-Aug-08 18:52
professionalPaul Conrad23-Aug-08 18:52 
GeneralRe: check email address is correct or not without sending email Pin
help as an alias24-Aug-08 6:33
help as an alias24-Aug-08 6:33 
GeneralRe: check email address is correct or not without sending email Pin
N a v a n e e t h24-Aug-08 6:36
N a v a n e e t h24-Aug-08 6:36 
GeneralRe: check email address is correct or not without sending email Pin
Paul Conrad24-Aug-08 6:38
professionalPaul Conrad24-Aug-08 6:38 
QuestionASP.NET changes from 2.0 to 3.0/3.5 Pin
Member 391904923-Aug-08 7:19
Member 391904923-Aug-08 7:19 
AnswerRe: ASP.NET changes from 2.0 to 3.0/3.5 [modified] Pin
Manas Bhardwaj23-Aug-08 10:18
professionalManas Bhardwaj23-Aug-08 10:18 
Questionstoring several id in a session Pin
strawberrysh23-Aug-08 4:58
strawberrysh23-Aug-08 4:58 
AnswerRe: storing several id in a session Pin
Paul Conrad23-Aug-08 18:53
professionalPaul Conrad23-Aug-08 18:53 
QuestionLogin database transfer Pin
jmiller70423-Aug-08 4:38
jmiller70423-Aug-08 4:38 
AnswerRe: Login database transfer Pin
Brij23-Aug-08 4:41
mentorBrij23-Aug-08 4:41 
AnswerRe: Login database transfer Pin
Abhijit Jana23-Aug-08 4:42
professionalAbhijit Jana23-Aug-08 4:42 
GeneralRe: Login database transfer Pin
jmiller70423-Aug-08 5:06
jmiller70423-Aug-08 5:06 
GeneralRe: Login database transfer Pin
Paul Conrad23-Aug-08 6:16
professionalPaul Conrad23-Aug-08 6:16 
QuestionDisplaying varying data Pin
Roopangee Tandon23-Aug-08 2:55
Roopangee Tandon23-Aug-08 2:55 
AnswerRe: Displaying varying data Pin
Abhijit Jana23-Aug-08 3:42
professionalAbhijit Jana23-Aug-08 3:42 

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.