473,385 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

obj refernce is not set to instance of an object

1
hi to all, i want the sol immediately
i designed loginpage
i gave username, password
and register button
i have given database connection ,in that login table is there with fields
as i click the button , the loginpage will appear
in that i will give username and pasword
it have to check that whether username is present in databse or not
i m getting an error of "obj refernce is not set to instance of an object"
so please give me reply
Aug 13 '07 #1
3 1034
kenobewan
4,871 Expert 4TB
Please show the relevant code with error line so that we may see which object is missing a reference. You might also want to try debugging. Thanks.
Aug 13 '07 #2
Plater
7,872 Expert 4TB
that error is normally related to you missing a constructor call to an object, or an object is being returned as NULL and you are not checking that before attempting to use it
Aug 13 '07 #3
Forget "New" keyword while creating object?
Aug 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: | last post by:
Hi I have a list containing several instance address, for example: I'd like to invoke a method on each of these instance but I don't know : 1. if its possible 2. how to proceed
1
by: asp.net NUT!!! | last post by:
Hi I've been trying to add a web refernece to a asp.net application project, from a web service within the same solution. The site is hosted on my local host & in a virtual directory. when I go...
2
by: news.west.cox.net | last post by:
Hopefully this can be done and it is easy... I have some object like var a = new Object(); a.name = "Title"; a.vars = new Array(6); a.vars = "4"; a.vars = "22"; etc...
4
by: VB User | last post by:
Can anyone let me know how I should do to remove an excel reference which I added to the project, now that I don't need it? Thanks
1
by: David | last post by:
Can someone please advise me how I can track down where the error that causes the following error message to appear is located in my code An unhandled exception of type...
0
by: Vids | last post by:
Hi, We are doing migration of web service from VS2003 to VS2005 After upgrading the project I m trying to add a web reference to the web service. While adding web reference it shows all the web...
2
by: alug | last post by:
I have faced the problem that I want to hide the some rows of html table in the asp.net. For that I used the JavaScript but the problem is same I have to register the JavaScript function in the...
1
by: Sheena777 | last post by:
How can you reference a textbox from a vb.net windows application. I am trying to pass a variable to the script file. I have a textbox on a windows application form and a button and when the user...
1
by: uday1302 | last post by:
Hi Everybody, proj1-frmCatSql.cs contains a method like public datatable GetallMembers() { stms--------- } proj2-frmItem.cs conatins private void Filldata(combobox cmb, datatable...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.