C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




error in javascript


Posted Date: 02 Sep 2008      Total Responses: 2

Posted By: Cathrin       Member Level: Gold     Points: 1



I am assigned a module where i have a HTML table and controls...The values i give in the controls will get added to the database first and then will be appended to the HTML table...The records in the database will be loaded to the HTML page in Pageload..But the newly added record is appended to the HTML table without any interaction with the database that is appended to the HTML table from the controls itself...
My problem is that when there are no records in database and i add a fresh record i get an error
'null' is null or not an object. and the newly added record is added only to database not to HTML table. But when i refresh the page it id loadded in the HTML table too..This occurs only when there are no records in database ...Could anybody tell what is wrong?





Responses

Author: Nitin Mathur    02 Sep 2008Member Level: SilverRating:     Points: 3

Hi
i think your object is not initialized.



Author: Cathrin    02 Sep 2008Member Level: GoldRating:     Points: 1

Hi Nitin,
Thanks for your response
What should i do to rectify that?



Post Reply
You must Sign In to post a response.
Next : http://localhost
Previous : To Rekha......
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use