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

ASP.NET

 
GeneralRe: enum values Pin
boyindie20-Jul-07 5:52
boyindie20-Jul-07 5:52 
GeneralRe: enum values Pin
Fred_Smith20-Jul-07 5:57
Fred_Smith20-Jul-07 5:57 
GeneralRe: enum values Pin
boyindie20-Jul-07 5:58
boyindie20-Jul-07 5:58 
GeneralRe: enum values Pin
Fred_Smith20-Jul-07 6:01
Fred_Smith20-Jul-07 6:01 
GeneralRe: enum values Pin
boyindie20-Jul-07 6:19
boyindie20-Jul-07 6:19 
GeneralRe: enum values Pin
Fred_Smith20-Jul-07 6:31
Fred_Smith20-Jul-07 6:31 
GeneralRe: enum values Pin
Fred_Smith20-Jul-07 6:37
Fred_Smith20-Jul-07 6:37 
GeneralRe: enum values Pin
boyindie21-Jul-07 0:50
boyindie21-Jul-07 0:50 
HI Fred

I still can't get this bit of code to work

I have this so far

If e.Item.ItemType = ListItemType.EditItem Then
Dim lstUpdate As DropDownList = e.Item.FindControl("lstUpdate")
Dim dr As DataRow = e.Item.DataItem.row
lstUpdate.Items.FindByValue(dr("groups")).Selected = True
End If


I get this error message for "dim dr As DataRow = e.Item.DataItem.row"
Object variable or With block variable not set


You have said to put it as datagridview, but it doesn't seem to like that I am guessin it should be my datagrid variable that goes in here and it still doesn't workFrown | :(
GeneralRe: enum values Pin
Fred_Smith21-Jul-07 4:23
Fred_Smith21-Jul-07 4:23 
GeneralRe: enum values Pin
boyindie21-Jul-07 5:45
boyindie21-Jul-07 5:45 
GeneralRe: enum values Pin
Fred_Smith21-Jul-07 6:15
Fred_Smith21-Jul-07 6:15 
QuestionThreads and browser activity Pin
N a v a n e e t h20-Jul-07 3:16
N a v a n e e t h20-Jul-07 3:16 
AnswerRe: Threads and browser activity Pin
Dave Kreskowiak20-Jul-07 7:31
mveDave Kreskowiak20-Jul-07 7:31 
QuestionError while debug mode entering Pin
tradakad20-Jul-07 3:15
tradakad20-Jul-07 3:15 
AnswerRe: Error while debug mode entering Pin
Mr Saqib Mushtaq20-Jul-07 3:37
Mr Saqib Mushtaq20-Jul-07 3:37 
GeneralRe: Error while debug mode entering Pin
tradakad21-Jul-07 0:03
tradakad21-Jul-07 0:03 
JokeRe: Error while debug mode entering [modified] Pin
tradakad21-Jul-07 1:54
tradakad21-Jul-07 1:54 
QuestionUsing threads in a web service Pin
totig20-Jul-07 2:55
totig20-Jul-07 2:55 
GeneralRe: Using threads in a web service Pin
Colin Angus Mackay20-Jul-07 3:01
Colin Angus Mackay20-Jul-07 3:01 
AnswerRe: Using threads in a web service Pin
Colin Angus Mackay20-Jul-07 3:00
Colin Angus Mackay20-Jul-07 3:00 
GeneralRe: Using threads in a web service Pin
totig20-Jul-07 3:07
totig20-Jul-07 3:07 
Questionsession timeout redirect Pin
boyindie20-Jul-07 2:45
boyindie20-Jul-07 2:45 
AnswerRe: session timeout redirect Pin
Mr Saqib Mushtaq20-Jul-07 2:55
Mr Saqib Mushtaq20-Jul-07 2:55 
GeneralRe: session timeout redirect Pin
boyindie20-Jul-07 3:13
boyindie20-Jul-07 3:13 
Questiondatabase table listings. Pin
Sonia Gupta20-Jul-07 1:58
Sonia Gupta20-Jul-07 1:58 

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.