Click here to Skip to main content
15,905,914 members
Home / Discussions / C#
   

C#

 
QuestionC# web services parameter encoding problem Pin
chandru__21-Jun-06 2:57
chandru__21-Jun-06 2:57 
QuestionControlled looping thru ArrayList? Pin
kbalias21-Jun-06 2:43
kbalias21-Jun-06 2:43 
AnswerRe: Controlled looping thru ArrayList? [modified] Pin
gnjunge21-Jun-06 2:54
gnjunge21-Jun-06 2:54 
GeneralRe: Controlled looping thru ArrayList? Pin
Not Active21-Jun-06 3:00
mentorNot Active21-Jun-06 3:00 
GeneralRe: Controlled looping thru ArrayList? Pin
gnjunge21-Jun-06 3:08
gnjunge21-Jun-06 3:08 
AnswerRe: Controlled looping thru ArrayList? Pin
Not Active21-Jun-06 2:57
mentorNot Active21-Jun-06 2:57 
AnswerRe: Controlled looping thru ArrayList? [modified] Pin
Josh Smith21-Jun-06 3:46
Josh Smith21-Jun-06 3:46 
Questioncould everyone show me the way to change CType in VB.NET to C#? Pin
largs21-Jun-06 2:31
largs21-Jun-06 2:31 
Hi,i can not change this statement in VB.NET to C#.Could everyone helpme?

Dim strCompanyName as String<br />
strCompanyName = CType(dgItem.FindControl("lblCompanyName"), Label).Text


with "dgItem" is DataGridItem and "lblCompanyName" is the id of a label (server control).I've tried this

Label lb=(Label)dgItem.FindControl("lblCompanyName");<br />
Response.Write(lb.Text);


but it did not work.Thanks for all replies.
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
J4amieC21-Jun-06 2:35
J4amieC21-Jun-06 2:35 
GeneralRe: could everyone show me the way to change CType in VB.NET to C#? Pin
largs21-Jun-06 4:27
largs21-Jun-06 4:27 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
gnjunge21-Jun-06 2:38
gnjunge21-Jun-06 2:38 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
nsimeonov21-Jun-06 3:10
nsimeonov21-Jun-06 3:10 
GeneralRe: could everyone show me the way to change CType in VB.NET to C#? Pin
largs21-Jun-06 4:43
largs21-Jun-06 4:43 
GeneralRe: could everyone show me the way to change CType in VB.NET to C#? Pin
nsimeonov21-Jun-06 6:19
nsimeonov21-Jun-06 6:19 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
Dave Doknjas21-Jun-06 14:14
Dave Doknjas21-Jun-06 14:14 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
Craig G Fraser22-Jun-06 3:05
Craig G Fraser22-Jun-06 3:05 
QuestionANN: Native C# Protection 1.0.0 released Pin
Oleg Subachev21-Jun-06 2:22
professionalOleg Subachev21-Jun-06 2:22 
AnswerRe: ANN: Native C# Protection 1.0.0 released Pin
Josh Smith21-Jun-06 3:40
Josh Smith21-Jun-06 3:40 
AnswerRe: ANN: Native C# Protection 1.0.0 released Pin
Colin Angus Mackay21-Jun-06 4:31
Colin Angus Mackay21-Jun-06 4:31 
GeneralRe: ANN: Native C# Protection 1.0.0 released Pin
BoneSoft21-Jun-06 4:37
BoneSoft21-Jun-06 4:37 
GeneralRe: ANN: Native C# Protection 1.0.0 released Pin
Dan Neely21-Jun-06 4:45
Dan Neely21-Jun-06 4:45 
GeneralRe: ANN: Native C# Protection 1.0.0 released Pin
Josh Smith21-Jun-06 5:02
Josh Smith21-Jun-06 5:02 
GeneralRe: ANN: Native C# Protection 1.0.0 released Pin
Colin Angus Mackay21-Jun-06 5:22
Colin Angus Mackay21-Jun-06 5:22 
GeneralRe: ANN: Native C# Protection 1.0.0 released Pin
Guffa21-Jun-06 5:51
Guffa21-Jun-06 5:51 
JokeRe: ANN: Native C# Protection 1.0.0 released Pin
BoneSoft21-Jun-06 6:20
BoneSoft21-Jun-06 6:20 

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.