Click here to Skip to main content
15,909,199 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: .NET2 Dispay data from SQL2005 Pin
Dayekh26-Sep-06 5:19
Dayekh26-Sep-06 5:19 
GeneralRe: .NET2 Dispay data from SQL2005 Pin
munklefish26-Sep-06 5:23
munklefish26-Sep-06 5:23 
GeneralRe: .NET2 Dispay data from SQL2005 Pin
Dayekh26-Sep-06 5:38
Dayekh26-Sep-06 5:38 
GeneralRe: .NET2 Dispay data from SQL2005 Pin
munklefish26-Sep-06 5:42
munklefish26-Sep-06 5:42 
AnswerRe: .NET2 Dispay data from SQL2005 Pin
Keith Barrow26-Sep-06 6:25
professionalKeith Barrow26-Sep-06 6:25 
GeneralRe: .NET2 Dispay data from SQL2005 Pin
munklefish26-Sep-06 6:34
munklefish26-Sep-06 6:34 
AnswerRe: .NET2 Dispay data from SQL2005 Pin
minhpc_bk26-Sep-06 16:10
minhpc_bk26-Sep-06 16:10 
GeneralRe: .NET2 Dispay data from SQL2005 Pin
munklefish27-Sep-06 5:41
munklefish27-Sep-06 5:41 
Hi,

I just want to retrieve the info from the SQLDataAdapter so i can store it in variables, and then put these variables into a text string displayed in a textbox.

I tried using a formView etc but tand am able to display the data in the textboxes. However i have to buttons associated with these textboxes. One clears all data from the textboxes whilst the other submits the information in the textboxes (form).

My problem here is that when i click either button an error is thrown up saying:

<code>Object reference not set to an instance of an object.</code> In relation to any TextBox i try working with. Even though i use <code>((TextBox)FindControl("TextBox1")).Text = ""</code> to find the TextBox and then empty it (in the case of the reset action / button clicked).

Any ideas why this is or how to overcome it?

THANKS
GeneralRe: .NET2 Dispay data from SQL2005 Pin
minhpc_bk27-Sep-06 15:37
minhpc_bk27-Sep-06 15:37 
GeneralRe: .NET2 Dispay data from SQL2005 Pin
munklefish27-Sep-06 22:33
munklefish27-Sep-06 22:33 
AnswerTHE SOLUTION Pin
munklefish27-Sep-06 23:47
munklefish27-Sep-06 23:47 
QuestionDataGrid Display Pin
Dayekh26-Sep-06 5:03
Dayekh26-Sep-06 5:03 
AnswerRe: DataGrid Display Pin
sanju027626-Sep-06 5:20
sanju027626-Sep-06 5:20 
GeneralRe: DataGrid Display Pin
Dayekh26-Sep-06 5:51
Dayekh26-Sep-06 5:51 
AnswerRe: DataGrid Display Pin
Suresh Pirsquare27-Sep-06 0:10
Suresh Pirsquare27-Sep-06 0:10 
QuestionGetting ColumnID Value from GridView? [modified] Pin
sanju027626-Sep-06 4:05
sanju027626-Sep-06 4:05 
AnswerRe: Getting Column Id Value from GridView? Pin
dgonzale26-Sep-06 4:14
dgonzale26-Sep-06 4:14 
GeneralRe: Getting Column Id Value from GridView? Pin
sanju027626-Sep-06 4:17
sanju027626-Sep-06 4:17 
AnswerRe: Getting Column Id Value from GridView? Pin
dgonzale26-Sep-06 4:24
dgonzale26-Sep-06 4:24 
QuestionCrystal Report in ASP.Net 2.0 Pin
Mazdak26-Sep-06 3:56
Mazdak26-Sep-06 3:56 
QuestionFind the Source of PostBack Pin
Jay_se26-Sep-06 3:30
Jay_se26-Sep-06 3:30 
AnswerRe: Find the Source of PostBack Pin
_AK_26-Sep-06 6:50
_AK_26-Sep-06 6:50 
GeneralThanks It Works Fine & One More Query Pin
Jay_se26-Sep-06 20:56
Jay_se26-Sep-06 20:56 
Questiongetting html hidden control's value in code behind Pin
max_dev2006@yahoo.com26-Sep-06 2:41
max_dev2006@yahoo.com26-Sep-06 2:41 
AnswerRe: getting html hidden control's value in code behind Pin
dgonzale26-Sep-06 2:53
dgonzale26-Sep-06 2:53 

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.