Click here to Skip to main content
15,889,403 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Add Bak file Pin
Ramesh Swaminathan11-May-09 19:07
Ramesh Swaminathan11-May-09 19:07 
AnswerRe: Add Bak file Pin
Abhijit Jana11-May-09 19:33
professionalAbhijit Jana11-May-09 19:33 
Questioncan't get RegisterStartupScript with src=path\filename to work Pin
dd31415911-May-09 11:00
dd31415911-May-09 11:00 
AnswerRe: can't get RegisterStartupScript with src=path\filename to work Pin
dd31415911-May-09 11:03
dd31415911-May-09 11:03 
Questionget the cursor position in a textarea Pin
Member 364582311-May-09 9:18
Member 364582311-May-09 9:18 
AnswerRe: get the cursor position in a textarea Pin
N a v a n e e t h11-May-09 16:27
N a v a n e e t h11-May-09 16:27 
QuestionDatagrid edit command textbox reference Pin
janetb9911-May-09 4:34
janetb9911-May-09 4:34 
AnswerRe: Datagrid edit command textbox reference Pin
uoods11-May-09 9:04
uoods11-May-09 9:04 
I think you should break your statements into different parts. Do you feel pressured to stick all those functions on one single line? Doing this will allow you to see the problem more quickly, fix it and move on. This example probably has bugs in it, but try something like this:
If e.CommandName = "Edit" Then
   dgAnswers.EditItemIndex = e.Item.ItemIndex
   Dim txt as Textbox
   txt = CType(dgAnswers.Items(e.Item.ItemIndex).FindControl("txtAnsEdit"),TextBox)
   If not isnothing(txt) then
      'since you have the object reference assigned to txt, assign the value using this alias
      txt.Text = "tada"
   Else
      'Could not find the textbox.
   End if
End If

QuestionASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
EliottA11-May-09 2:50
EliottA11-May-09 2:50 
AnswerRe: ASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
N a v a n e e t h11-May-09 3:33
N a v a n e e t h11-May-09 3:33 
GeneralRe: ASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
EliottA11-May-09 3:59
EliottA11-May-09 3:59 
GeneralRe: ASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
N a v a n e e t h11-May-09 16:24
N a v a n e e t h11-May-09 16:24 
Question"threat was being aborted" error [modified] Pin
priya1515s11-May-09 2:50
priya1515s11-May-09 2:50 
AnswerRe: "threat was being aborted" error Pin
Colin Angus Mackay11-May-09 2:59
Colin Angus Mackay11-May-09 2:59 
GeneralRe: "threat was being aborted" error Pin
N a v a n e e t h11-May-09 3:06
N a v a n e e t h11-May-09 3:06 
GeneralRe: "threat was being aborted" error Pin
Colin Angus Mackay11-May-09 3:10
Colin Angus Mackay11-May-09 3:10 
GeneralRe: "threat was being aborted" error Pin
N a v a n e e t h11-May-09 3:17
N a v a n e e t h11-May-09 3:17 
GeneralRe: "threat was being aborted" error Pin
priya1515s11-May-09 3:07
priya1515s11-May-09 3:07 
GeneralRe: "threat was being aborted" error Pin
Colin Angus Mackay11-May-09 3:10
Colin Angus Mackay11-May-09 3:10 
AnswerRe: "threat was being aborted" error Pin
Colin Angus Mackay11-May-09 3:03
Colin Angus Mackay11-May-09 3:03 
AnswerRe: "threat was being aborted" error Pin
priya1515s11-May-09 3:31
priya1515s11-May-09 3:31 
AnswerRe: "threat was being aborted" error Pin
Yusuf11-May-09 4:09
Yusuf11-May-09 4:09 
AnswerRe: "threat was being aborted" error Pin
Baran M11-May-09 19:36
Baran M11-May-09 19:36 
QuestionGridview Display When no data to bound Pin
suzzain11-May-09 2:27
suzzain11-May-09 2:27 
AnswerRe: Gridview Display When no data to bound Pin
Herman<T>.Instance11-May-09 22:41
Herman<T>.Instance11-May-09 22:41 

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.