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

ASP.NET

 
GeneralRe: help to get value of a dynamic tabelcell Pin
led mike14-Jul-08 8:37
led mike14-Jul-08 8:37 
GeneralRe: help to get value of a dynamic tabelcell Pin
michael_jhons14-Jul-08 8:44
michael_jhons14-Jul-08 8:44 
GeneralRe: help to get value of a dynamic tabelcell Pin
led mike14-Jul-08 10:34
led mike14-Jul-08 10:34 
GeneralRe: help to get value of a dynamic tabelcell Pin
Herman<T>.Instance14-Jul-08 19:40
Herman<T>.Instance14-Jul-08 19:40 
GeneralRe: help to get value of a dynamic tabelcell Pin
Herman<T>.Instance14-Jul-08 19:41
Herman<T>.Instance14-Jul-08 19:41 
GeneralRe: help to get value of a dynamic tabelcell Pin
michael_jhons14-Jul-08 21:11
michael_jhons14-Jul-08 21:11 
GeneralRe: help to get value of a dynamic tabelcell Pin
michael_jhons14-Jul-08 22:37
michael_jhons14-Jul-08 22:37 
GeneralRe: help to get value of a dynamic tabelcell Pin
Herman<T>.Instance14-Jul-08 22:56
Herman<T>.Instance14-Jul-08 22:56 
IS the row in Edit mode? (EditIndex > -1 in GridView)
Than use the above code

Else

String Value2 = tr.Cells[1].Text;

Otherwise.

Set a breakpoint on the line with the (TextBox) cast.
When reaching the breakpoint (Build = debug)
add a watch on
tr.Cells[1].Controls
See how many controls the Count gives. If larger than 1 try in the watch
all other controls in the array like
tr.Cells[1].Controls[1]
tr.Cells[1].Controls[2]
tr.Cells[1].Controls[and so on]
In that case you can see in which control your data exists.

Have Fun
GeneralRe: help to get value of a dynamic tabelcell Pin
michael_jhons14-Jul-08 23:22
michael_jhons14-Jul-08 23:22 
QuestionDataGrid edit not effecting the DataSource Pin
AlonYair14-Jul-08 7:36
AlonYair14-Jul-08 7:36 
AnswerRe: DataGrid edit not effecting the DataSource Pin
Herman<T>.Instance14-Jul-08 10:24
Herman<T>.Instance14-Jul-08 10:24 
GeneralRe: DataGrid edit not effecting the DataSource Pin
AlonYair14-Jul-08 10:37
AlonYair14-Jul-08 10:37 
GeneralRe: DataGrid edit not effecting the DataSource Pin
Herman<T>.Instance14-Jul-08 11:08
Herman<T>.Instance14-Jul-08 11:08 
GeneralRe: DataGrid edit not effecting the DataSource Pin
AlonYair14-Jul-08 12:12
AlonYair14-Jul-08 12:12 
GeneralRe: DataGrid edit not effecting the DataSource Pin
Herman<T>.Instance14-Jul-08 19:31
Herman<T>.Instance14-Jul-08 19:31 
GeneralRe: DataGrid edit not effecting the DataSource Pin
AlonYair14-Jul-08 23:39
AlonYair14-Jul-08 23:39 
GeneralRe: DataGrid edit not effecting the DataSource Pin
Herman<T>.Instance14-Jul-08 23:52
Herman<T>.Instance14-Jul-08 23:52 
QuestionConvert a web application asp.net c# into a console app c# using visual studio 2008? Pin
DeanCook14-Jul-08 5:19
DeanCook14-Jul-08 5:19 
AnswerRe: Convert a web application asp.net c# into a console app c# using visual studio 2008? Pin
led mike14-Jul-08 6:20
led mike14-Jul-08 6:20 
GeneralRe: Convert a web application asp.net c# into a console app c# using visual studio 2008? Pin
DeanCook14-Jul-08 6:27
DeanCook14-Jul-08 6:27 
GeneralRe: Convert a web application asp.net c# into a console app c# using visual studio 2008? Pin
led mike14-Jul-08 7:49
led mike14-Jul-08 7:49 
GeneralRe: Convert a web application asp.net c# into a console app c# using visual studio 2008? Pin
Pete O'Hanlon14-Jul-08 10:32
mvePete O'Hanlon14-Jul-08 10:32 
GeneralRe: Convert a web application asp.net c# into a console app c# using visual studio 2008? Pin
led mike14-Jul-08 10:56
led mike14-Jul-08 10:56 
RantRe: Convert a web application asp.net c# into a console app c# using visual studio 2008? Pin
DeanCook14-Jul-08 22:19
DeanCook14-Jul-08 22:19 
GeneralRe: Convert a web application asp.net c# into a console app c# using visual studio 2008? Pin
led mike15-Jul-08 5:25
led mike15-Jul-08 5: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.