|
-
August 13th, 2009, 08:32 AM
#1
Button click event - displaying integer value in textbox
So I've seen several questions about this but the answers don't seem to clue me in or directly apply to what I'm trying to achieve for an application. In short, I have a button, and when it is clicked, I want a value (integer) to be displayed in a textbox. However, I get the implicit conversion error saying it can not convert an integer to a string and vice versa.
Can anyone clue me in on how I need to code it to make it work? Thanks!
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Test_Application
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|