Click here to Skip to main content
15,881,516 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# buttons Pin
Guffa13-Jul-08 23:02
Guffa13-Jul-08 23:02 
AnswerRe: c# buttons Pin
Eslam Afifi13-Jul-08 23:30
Eslam Afifi13-Jul-08 23:30 
QuestionShow specific rows in datagrid Pin
Metik13-Jul-08 21:12
Metik13-Jul-08 21:12 
AnswerRe: Show specific rows in datagrid Pin
dan!sh 13-Jul-08 22:16
professional dan!sh 13-Jul-08 22:16 
AnswerRe: Show specific rows in datagrid Pin
Harvey Saayman13-Jul-08 22:19
Harvey Saayman13-Jul-08 22:19 
QuestionThe name 'Ctype' does not exist in the current context Pin
Kirun13-Jul-08 19:08
Kirun13-Jul-08 19:08 
AnswerRe: The name 'Ctype' does not exist in the current context Pin
stancrm13-Jul-08 19:35
stancrm13-Jul-08 19:35 
AnswerRe: The name 'Ctype' does not exist in the current context Pin
Guffa13-Jul-08 20:47
Guffa13-Jul-08 20:47 
CType is a VB command. In C# you just cast the reference:

dl = (DropDownList)FormView1.FindControl("DropDownList1");

When you declare the reference, don't create a new DropDownList object.

DropDownList dl;

Despite everything, the person most likely to be fooling you next is yourself.

QuestionCannot receive server email Pin
mimilaw13-Jul-08 18:06
mimilaw13-Jul-08 18:06 
AnswerRe: Cannot receive server email Pin
N a v a n e e t h13-Jul-08 18:23
N a v a n e e t h13-Jul-08 18:23 
GeneralRe: Cannot receive server email Pin
mimilaw13-Jul-08 19:07
mimilaw13-Jul-08 19:07 
AnswerRe: Cannot receive server email Pin
obarahmeh13-Jul-08 21:01
obarahmeh13-Jul-08 21:01 
Questionlistbox Pin
netJP12L13-Jul-08 17:35
netJP12L13-Jul-08 17:35 
AnswerRe: listbox Pin
Ed.Poore13-Jul-08 23:25
Ed.Poore13-Jul-08 23:25 
QuestionAnonymous functions ? Pin
Mohammad Dayyan13-Jul-08 13:45
Mohammad Dayyan13-Jul-08 13:45 
AnswerRe: Anonymous functions ? Pin
Vimalsoft(Pty) Ltd13-Jul-08 15:38
professionalVimalsoft(Pty) Ltd13-Jul-08 15:38 
GeneralRe: Anonymous functions ? Pin
Mohammad Dayyan14-Jul-08 2:49
Mohammad Dayyan14-Jul-08 2:49 
GeneralRe: Anonymous functions ? Pin
Vimalsoft(Pty) Ltd14-Jul-08 2:53
professionalVimalsoft(Pty) Ltd14-Jul-08 2:53 
QuestionUserControl Pin
nelsonpaixao13-Jul-08 13:25
nelsonpaixao13-Jul-08 13:25 
QuestionInsert image to mysql using c# Pin
SHINOJK13-Jul-08 12:33
SHINOJK13-Jul-08 12:33 
AnswerRe: Insert image to mysql using c# Pin
Vimalsoft(Pty) Ltd13-Jul-08 15:31
professionalVimalsoft(Pty) Ltd13-Jul-08 15:31 
Questionhow to change icon size on the desktop? Pin
isso8713-Jul-08 9:29
isso8713-Jul-08 9:29 
AnswerRe: how to change icon size on the desktop? Pin
DaveyM6913-Jul-08 14:29
professionalDaveyM6913-Jul-08 14:29 
QuestionHandling COM object with an infinite loop Pin
Vitaly Belman13-Jul-08 9:25
Vitaly Belman13-Jul-08 9:25 
AnswerRe: Handling COM object with an infinite loop Pin
Alan Balkany14-Jul-08 4:49
Alan Balkany14-Jul-08 4:49 

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.