Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to reference .net DLL present in other folder Pin
Karthik. A25-Dec-12 5:51
Karthik. A25-Dec-12 5:51 
GeneralRe: How to reference .net DLL present in other folder Pin
KASR125-Dec-12 7:10
KASR125-Dec-12 7:10 
AnswerRe: How to reference .net DLL present in other folder Pin
Alan N26-Dec-12 5:12
Alan N26-Dec-12 5:12 
GeneralRe: How to reference .net DLL present in other folder Pin
KASR126-Dec-12 7:41
KASR126-Dec-12 7:41 
GeneralRe: How to reference .net DLL present in other folder Pin
Alan N26-Dec-12 7:48
Alan N26-Dec-12 7:48 
GeneralRe: How to reference .net DLL present in other folder Pin
KASR12-Jan-13 7:08
KASR12-Jan-13 7:08 
GeneralRe: How to reference .net DLL present in other folder Pin
Alan N2-Jan-13 8:51
Alan N2-Jan-13 8:51 
GeneralRe: How to reference .net DLL present in other folder Pin
KASR18-Jan-13 8:00
KASR18-Jan-13 8:00 
QuestionRe: How to reference .net DLL present in other folder Pin
PIEBALDconsult26-Dec-12 9:13
mvePIEBALDconsult26-Dec-12 9:13 
AnswerRe: How to reference .net DLL present in other folder Pin
KASR126-Dec-12 16:25
KASR126-Dec-12 16:25 
QuestionUsage of Google API in windows application Pin
ukraju24-Dec-12 1:05
ukraju24-Dec-12 1:05 
AnswerRe: Usage of Google API in windows application Pin
David C# Hobbyist.24-Dec-12 2:25
professionalDavid C# Hobbyist.24-Dec-12 2:25 
AnswerRe: Usage of Google API in windows application Pin
Sajeesh Payolam24-Dec-12 20:28
Sajeesh Payolam24-Dec-12 20:28 
QuestionDetecting a 3G connection in Windows 7 and 8 in a desktop application Pin
REDSERPENT724-Dec-12 1:04
REDSERPENT724-Dec-12 1:04 
AnswerRe: Detecting a 3G connection in Windows 7 and 8 in a desktop application Pin
MaulikDusara24-Dec-12 20:44
MaulikDusara24-Dec-12 20:44 
GeneralRe: Detecting a 3G connection in Windows 7 and 8 in a desktop application Pin
REDSERPENT729-Dec-12 21:33
REDSERPENT729-Dec-12 21:33 
QuestionIpstatus.Success answer twice !! Pin
Alex1971_rm24-Dec-12 0:15
Alex1971_rm24-Dec-12 0:15 
QuestionHow do i create an object of partial class in user control Pin
swapnil709022-Dec-12 20:27
swapnil709022-Dec-12 20:27 
AnswerRe: How do i create an object of partial class in user control Pin
nainakarri22-Dec-12 22:03
nainakarri22-Dec-12 22:03 
Questionerror i declaring null arrays Pin
tashee22-Dec-12 5:22
tashee22-Dec-12 5:22 
AnswerRe: error i declaring null arrays Pin
Richard MacCutchan22-Dec-12 6:40
mveRichard MacCutchan22-Dec-12 6:40 
GeneralRe: error i declaring null arrays Pin
tashee22-Dec-12 7:39
tashee22-Dec-12 7:39 
GeneralRe: error i declaring null arrays Pin
PIEBALDconsult22-Dec-12 8:11
mvePIEBALDconsult22-Dec-12 8:11 
GeneralRe: error i declaring null arrays Pin
harold aptroot24-Dec-12 0:52
harold aptroot24-Dec-12 0:52 
Actually, you do know what's wrong: you're using an unassigned local variable. It will even tell you that strPLatitude is the culprit.
How to fix? Assign something to it, obviously. Most C# compile errors are easy like that.

You wanted a null array? Then make a null array: double[] strPLatitude = null;

That doesn't make the code work, I grant you, but it fixes this problem.

However, this:
tashee wrote:
declared a null array but when i try to use this array to store my values
Reveals a deeper problem. You can't use something that doesn't exist. Like Richard wrote, "You must allocate some space to it before you can store anything in it". Your reply to him seems to imply you didn't really get it.

This is like saying "I have a place where a bookshelf should go but there isn't one there yet, why do things go wrong when I try to store books in it?"

Don't use something that doesn't exist. You need an actual bookshelf, not just a place where a bookshelf could go.

PIEBALDconsult suggest you use a List, you should probably do that. Be sure to Add[^] the items to the list, don't try to stuff them into positions that do not exist.
QuestionWorking with data base Pin
columbos1492722-Dec-12 4:26
columbos1492722-Dec-12 4:26 

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.