Click here to Skip to main content
15,888,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Error Transport Failed to Connect to the Server while trying tosend an E-mail Pin
meeram39518-Jun-08 1:57
meeram39518-Jun-08 1:57 
QuestionImage Selection Pin
paresh_sarjani18-Jun-08 1:23
paresh_sarjani18-Jun-08 1:23 
AnswerRe: Image Selection Pin
meeram39518-Jun-08 2:05
meeram39518-Jun-08 2:05 
GeneralRe: Image Selection Pin
paresh_sarjani19-Jun-08 0:38
paresh_sarjani19-Jun-08 0:38 
GeneralRe: Image Selection Pin
meeram39520-Jun-08 1:09
meeram39520-Jun-08 1:09 
QuestionDesign a web Form [modified] Pin
Assaf8218-Jun-08 1:22
Assaf8218-Jun-08 1:22 
QuestionTreeView Pin
ptvce18-Jun-08 0:42
ptvce18-Jun-08 0:42 
QuestionGridview Edit can not bind check box Pin
Sarfaraj Ahmed18-Jun-08 0:32
Sarfaraj Ahmed18-Jun-08 0:32 
Hello Every Body
my data table

orders data table
orderID (int), subTotal(smallmoney), discount(smallmoney), Total(smallmoney), oStatus(bit)

I can bind gridview with orders data table, where oStatus is Ture then gridview oStatus checked box is ticked , if false then checked box is not ticked

but when I click gridview edit then I am getting this error below

Object reference not set to an instance of an object. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 


Line 93:             lblTotal.Text = [String].Format("{0:C2}", +_ordersBLL.Total.ToString())
Line 94:           
Line 95:             cbsPayment.Checked = _ordersBLL.sPayment
Line 96:             cbsFood.Checked = _ordersBLL.sFood
Line 97: 


How can I solve this error
Thanks in advance

Sarfarj Ahmed

AnswerRe: Gridview Edit can not bind check box Pin
Venkatesh Mookkan18-Jun-08 1:01
Venkatesh Mookkan18-Jun-08 1:01 
AnswerRe: Gridview Edit can not bind check box Pin
Imran Khan Pathan18-Jun-08 1:04
Imran Khan Pathan18-Jun-08 1:04 
QuestionFreeze Header in Gridview Pin
SathyaSiva18-Jun-08 0:10
SathyaSiva18-Jun-08 0:10 
AnswerRe: Freeze Header in Gridview Pin
meeram39518-Jun-08 2:14
meeram39518-Jun-08 2:14 
GeneralRe: Freeze Header in Gridview Pin
SathyaSiva18-Jun-08 2:31
SathyaSiva18-Jun-08 2:31 
QuestionI am not getting id value Pin
r aa j18-Jun-08 0:10
r aa j18-Jun-08 0:10 
Questiondownloading error while using ajax Pin
Pankaj Garg17-Jun-08 23:45
Pankaj Garg17-Jun-08 23:45 
AnswerRe: downloading error while using ajax Pin
Imran Khan Pathan18-Jun-08 1:21
Imran Khan Pathan18-Jun-08 1:21 
GeneralRe: downloading error while using ajax Pin
Pankaj Garg18-Jun-08 1:40
Pankaj Garg18-Jun-08 1:40 
QuestionPasswordRecovery Control Pin
jason_mf17-Jun-08 23:37
jason_mf17-Jun-08 23:37 
AnswerRe: PasswordRecovery Control Pin
Sam Xavier18-Jun-08 9:11
Sam Xavier18-Jun-08 9:11 
Questionconnection to database using asp.net with vb Pin
harish.k1217-Jun-08 23:37
harish.k1217-Jun-08 23:37 
AnswerRe: connection to database using asp.net with vb Pin
Masood Kochi,SSF17-Jun-08 23:42
Masood Kochi,SSF17-Jun-08 23:42 
AnswerRe: connection to database using asp.net with vb Pin
Imran Khan Pathan18-Jun-08 1:13
Imran Khan Pathan18-Jun-08 1:13 
QuestionAJAX Modal Popup Extender Pin
immu517-Jun-08 23:36
immu517-Jun-08 23:36 
AnswerRe: AJAX Modal Popup Extender Pin
Imran Khan Pathan18-Jun-08 1:09
Imran Khan Pathan18-Jun-08 1:09 
QuestionMOSS / Reporting Services integrated - object model [modified] Pin
6o'clock17-Jun-08 23:25
6o'clock17-Jun-08 23:25 

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.