Click here to Skip to main content
15,909,656 members
Home / Discussions / C#
   

C#

 
GeneralRe: FTP Upload and Download Pin
Schnemar9-Mar-02 1:32
Schnemar9-Mar-02 1:32 
GeneralIntercept up and down arrow keys in datagrid Pin
kyledunn8-Mar-02 7:01
kyledunn8-Mar-02 7:01 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
James T. Johnson9-Mar-02 13:28
James T. Johnson9-Mar-02 13:28 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
9-Mar-02 15:37
suss9-Mar-02 15:37 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
James T. Johnson9-Mar-02 21:06
James T. Johnson9-Mar-02 21:06 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
kyledunn10-Mar-02 9:44
kyledunn10-Mar-02 9:44 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
James T. Johnson10-Mar-02 10:05
James T. Johnson10-Mar-02 10:05 
Generaltextbox and button Pin
Mazdak8-Mar-02 3:44
Mazdak8-Mar-02 3:44 
I know this is dumb question,but I am beginner in C# and do not have any book about it.
I have a text box and a button,when user press this button I want to check if the text boxes are
filled or not,and if the text is empty,change the text of button,I use this but it does not work:

private void Button1_Click(object sender, System.EventArgs e)
{
    if(TextBox1.Text==null)
        Button1.Text="Hello";
}


Mazy

"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here."
Wish You Were Here-Pink Floyd-1975

GeneralRe: textbox and button Pin
Schnemar8-Mar-02 4:07
Schnemar8-Mar-02 4:07 
GeneralRe: textbox and button Pin
Mazdak8-Mar-02 4:30
Mazdak8-Mar-02 4:30 
GeneralRe: textbox and button Pin
Mazdak8-Mar-02 8:00
Mazdak8-Mar-02 8:00 
GeneralRe: textbox and button Pin
Schnemar8-Mar-02 12:06
Schnemar8-Mar-02 12:06 
GeneralRe: textbox and button Pin
AndyG8-Mar-02 12:20
AndyG8-Mar-02 12:20 
GeneralRe: textbox and button Pin
Mazdak8-Mar-02 19:08
Mazdak8-Mar-02 19:08 
GeneralUsing Activator.CreateInstance() Pin
Michael Groeger7-Mar-02 22:57
Michael Groeger7-Mar-02 22:57 
GeneralRe: Using Activator.CreateInstance() Pin
James T. Johnson8-Mar-02 16:25
James T. Johnson8-Mar-02 16:25 
GeneralRe: Using Activator.CreateInstance() Pin
Michael Groeger10-Mar-02 22:47
Michael Groeger10-Mar-02 22:47 
GeneralDllImport and parameters Pin
paulb7-Mar-02 19:11
paulb7-Mar-02 19:11 
GeneralRe: DllImport and parameters Pin
James T. Johnson8-Mar-02 16:15
James T. Johnson8-Mar-02 16:15 
General招标:用C#实现MSHFlexGrid Pin
neil yang7-Mar-02 17:24
neil yang7-Mar-02 17:24 
GeneralRe: 招标:用C#实现MSHFlexGrid Pin
Jason Hooper7-Mar-02 17:35
Jason Hooper7-Mar-02 17:35 
GeneralRe: 招标:用C#实现MSHFlexGrid Pin
neil yang8-Mar-02 0:40
neil yang8-Mar-02 0:40 
GeneralRe: 招标:用C#实现MSHFlexGrid Pin
Nish Nishant9-Mar-02 15:33
sitebuilderNish Nishant9-Mar-02 15:33 
GeneralRe: 招标:用C#实现MSHFlexGrid Pin
Jason Hooper10-Mar-02 0:10
Jason Hooper10-Mar-02 0:10 
GeneralRe: 招标:用C#实现MSHFlexGrid Pin
James T. Johnson9-Mar-02 13:37
James T. Johnson9-Mar-02 13:37 

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.