Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Pawan
(35)
Deepika Harida...
(32)
Nadheera V
(30)
Last 7 Days
Nikhil Gaur
(598)
Anil Kumar ...
(582)
Abhisek Panda
(451)
more...
Forums
»
.NET
»
ASP.NET
»
error
Posted Date:
03 Jan 2007
Posted By:
nazar
Member Level:
Silver
Points
: 2
Responses:
1
Hi
my sql for inserting data in table was working fine,now its showing the error message while commit.
msg is - LabelObject reference not set to an instance of an object.
trans2.Commit()
Catch ex As Exception
trans2.Rollback()
Console.WriteLine("Error", ex.Message)
Labelmsg.Visible = True
Labelmsg.Text = Labelmsg.Text + ex.Message
What can be the reason.
please help
Responses
Author:
suresh
03 Jan 2007
Member Level:
Gold
Rating:
Points
: 2
Posibilities:
Labelmsg.Text = Labelmsg.Text + cstr(ex.Message)
and/OR
Initialize label with some text before appending
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Next :
query string
Previous :
maximum size of session
Return to Discussion Forum
Post New Message
Category:
ASP.NET
Related Messages
Validation Controls
no of click on advertisement in asp.net application
Please Please help.................. tooo urgent
Please tell me .Net interview Questions for 2+ Years Exp
To upload Documents like(doc,pdf,etc) to file system
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use