Click here to Skip to main content
15,909,539 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: dropdownlist fill problem Pin
Brij17-May-10 3:00
mentorBrij17-May-10 3:00 
QuestionApplication Cache location Pin
P.T.R.K17-May-10 1:27
P.T.R.K17-May-10 1:27 
AnswerRe: Application Cache location Pin
Brij17-May-10 1:42
mentorBrij17-May-10 1:42 
GeneralRe: Application Cache location Pin
P.T.R.K17-May-10 2:56
P.T.R.K17-May-10 2:56 
GeneralRe: Application Cache location Pin
Brij17-May-10 4:02
mentorBrij17-May-10 4:02 
GeneralRe: Application Cache location Pin
Martin Jarvis17-May-10 6:37
Martin Jarvis17-May-10 6:37 
QuestionDataList Updating Problem Pin
jitendrafaye16-May-10 22:15
jitendrafaye16-May-10 22:15 
QuestionUncommon reason - Object reference not set to an instance of an object. Pin
DonnieHunniecutt16-May-10 5:19
DonnieHunniecutt16-May-10 5:19 
Here is the infamous error message

Object reference not set to an instance of an object. Yes, I know what the error message means...

Line 18: FuelDSTableAdapters.FuelTableAdapter dsFuelTableAdapter = new FuelDSTableAdapters.FuelTableAdapter();
Line 19: decimal totalFuel = (decimal)dsFuelTableAdapter.TotalFuel(DateTime.Parse(TextBox2.Text), DateTime.Parse(TextBox1.Text));

Weird thing is - it works based on the dates I put into the text boxes. I think it has something to do with when I moved the database from one pc to another...
If I do not query any data added to the database before I moved it to the new computer, it works. However, as soon as the dates I enter into the textboxes try to use new data - I get this error message.

I've deleted all the data - added some new data and now I get this error every time.Unsure | :~ Then, I deleted the database and added it as well as the ldf that accompanies it - it works only if I do not populate the db with any new data. WTF | :WTF: - that is the wtf face in case you are wondering.
AnswerRe: Uncommon reason - Object reference not set to an instance of an object. Pin
michaelschmitt17-May-10 0:10
michaelschmitt17-May-10 0:10 
GeneralRe: Uncommon reason - Object reference not set to an instance of an object. Pin
DonnieHunniecutt17-May-10 1:52
DonnieHunniecutt17-May-10 1:52 
GeneralRe: Uncommon reason - Object reference not set to an instance of an object. Pin
TheyCallMeMrJames17-May-10 6:16
TheyCallMeMrJames17-May-10 6:16 
GeneralRe: Uncommon reason - Object reference not set to an instance of an object. Pin
DonnieHunniecutt17-May-10 6:41
DonnieHunniecutt17-May-10 6:41 
AnswerRe: Uncommon reason - Object reference not set to an instance of an object. Pin
Eddy Vluggen17-May-10 0:22
professionalEddy Vluggen17-May-10 0:22 
GeneralRe: Uncommon reason - Object reference not set to an instance of an object. Pin
DonnieHunniecutt17-May-10 1:59
DonnieHunniecutt17-May-10 1:59 
QuestionHow to export arabic data to csv? Pin
Athul from Sharjah16-May-10 3:17
Athul from Sharjah16-May-10 3:17 
AnswerRe: How to export arabic data to csv? Pin
sweet_light7-Sep-10 0:17
sweet_light7-Sep-10 0:17 
QuestionRoleManager issues with SharePoint FBA Pin
BaggyG16-May-10 2:02
BaggyG16-May-10 2:02 
Questionwhere to give image url to display image [modified] Pin
developerit15-May-10 21:06
developerit15-May-10 21:06 
AnswerRe: where to give image url to display image Pin
Not Active16-May-10 2:31
mentorNot Active16-May-10 2:31 
AnswerRe: where to give image url to display image Pin
michaelschmitt17-May-10 0:09
michaelschmitt17-May-10 0:09 
QuestionDatabase Error when retrieving specific records from a table Pin
Eagle3215-May-10 11:26
Eagle3215-May-10 11:26 
AnswerRe: Database Error when retrieving specific records from a table Pin
Tarakeshwar Reddy15-May-10 12:41
professionalTarakeshwar Reddy15-May-10 12:41 
AnswerRe: Database Error when retrieving specific records from a table Pin
hyjiacan15-May-10 14:27
hyjiacan15-May-10 14:27 
GeneralRe: Database Error when retrieving specific records from a table Pin
Tarakeshwar Reddy15-May-10 17:20
professionalTarakeshwar Reddy15-May-10 17:20 
QuestionError trying to set the style sheet in the code behind. Pin
Steve Holdorf15-May-10 9:45
Steve Holdorf15-May-10 9:45 

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.