Object reference not set to an instance of an object.
how to solve this error please give me answer
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Upendra Pratap ShahiPosted Jul 13, 2015, 7:34 AM
Kishan shekhadaPosted Jul 13, 2015, 7:29 AM
Kishan shekhadaPosted Jul 13, 2015, 7:27 AM
Upendra Pratap ShahiPosted Jul 13, 2015, 6:13 AM
PlaceHolder objPlace = new PlaceHolder();
Table objT = (Table)placeHolder.FindControl("tblPerson");
foreach (TableRow objTR in objT.Rows)
{
}
Khan Abrar AhmedPosted Jul 13, 2015, 5:59 AM
Upendra Pratap ShahiPosted Jul 13, 2015, 1:01 AM
Kishan shekhadaPosted Jul 11, 2015, 2:09 AM
Upendra Pratap ShahiPosted Jul 10, 2015, 1:21 AM
PlaceHolder objPlace = new PlaceHolder();
Table objT = (Table)placeHolder.FindControl("tblPerson");
foreach (TableRow objTR in objT.Rows)
{
}
Kishan shekhadaPosted Jul 10, 2015, 1:16 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 8:28 AM
Rajeev PunhaniPosted Jul 9, 2015, 8:13 AM
Kishan shekhadaPosted Jul 9, 2015, 7:24 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 7:16 AM
protected void test()
{
}
Kishan shekhadaPosted Jul 9, 2015, 7:13 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 7:08 AM
Kishan shekhadaPosted Jul 9, 2015, 7:07 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 7:06 AM
Kishan shekhadaPosted Jul 9, 2015, 6:54 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 6:31 AM
string txt = TextBox1.Text.ToString();
If this help you kindly accept the answer.Kishan shekhadaPosted Jul 9, 2015, 6:13 AM
Kishan shekhadaPosted Jul 9, 2015, 6:08 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 6:07 AM
Kishan shekhadaPosted Jul 9, 2015, 5:57 AM
Rajeev PunhaniPosted Jul 9, 2015, 5:35 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 5:02 AM
Kailash PolaiPosted Jul 9, 2015, 5:01 AM
Kishan shekhadaPosted Jul 9, 2015, 4:27 AM
Upendra Pratap ShahiPosted Jul 9, 2015, 3:13 AM
Please provide the code for proper solution.
Hint: In your code there is some object which is NULL. and you will be trying to read some property value of that object.