User Profile
Collapse
-
Datagrid table from form1 to form2
I have two forms, form1 & form 2. Form1 has datagridview. I am not supposed use any sql command in form1. So i added form2 and wrote the sql commands using stored procedures to get the data from the table. The problem is the datagridview is unavailable in form2. I donno how to link datagridview from form1 and form2 or either way.I am using c#.net -
I am just a learner, i donno how to get the value from the textbox?... -
Drag drop image
Hi
I am trying to drag and drop image to a picture box in the form. I using this code but doesnt seem to work. Here is the code,
...Code:private void Form1_DragEnter(object sender, DragEventArgs e) { if (e.Data.GetDataPresent(DataFormats.Bitmap)) { e.Effect = DragDropEffects.Copy; } else {Last edited by Curtis Rutland; Aug 7 '08, 03:10 PM. Reason: Added Code Tags - Please use the # button -
sum the values from dynamically formed textboxes
Hi
I managed to dynamically form textboxes using c#. I want include another button, whenever i enter any values in those textboxes i should get sum in message box. i donno how to use code for dynamic texboxes. This is what i have done,
[code=c#]
namespace WindowsFormsApp lication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeCompo nent();... -
I am not asking for entire code, i know u are here to help,i dont want u to do my work, i just need to know how to generate multiple textboxes in c#. I tried many things i couldnot figure out. I just put the whole task to make others understand....Leave a comment:
-
I am not asking for entire code, i know u are here to help,i dont want u to do my work, i just need to know how to generate multiple textboxesLeave a comment:
-
Creating textboxes dynamically
Hi
I am a fresher to .net just taking classes for .net. I got a task whic i have a basic idea but dont know how to proceed. Heres the task
create a form with a textbox and two buttons 'Show' and 'Sum'
the textbox should take values from 1-20
after enter a value(5) in the textbox, click the show button, then it should display 5 textboxes(value ) on the form.
note: dont create textboxes before clicking...
No activity results to display
Show More
Leave a comment: