simple C# form datagrid and binding source

J

Jason

Hello


I've got a very simple Access DB, and I'm creating a form in C# with a
datagrid to display the contents. I've added a text box to the form, and
set it's databinding property to my bindingsource for the cell I want, and
it displays the select cell as expected.

Now I want to take the string value that gets displayed and assign it to a
string variable to use in other locations.

Basically I'm displaying information about PC's, and when a user selects a
row, I display the PC name in a text box. I have a button that calls
mstsc.exe and I also want to pass in the PC name, without them having to
input the name i.e. mstsc.exe /V <PCName>

Any ideas,

Thanks
 
S

Stefan Hoffmann

hi Jason,
Basically I'm displaying information about PC's, and when a user selects a
row, I display the PC name in a text box. I have a button that calls
mstsc.exe and I also want to pass in the PC name, without them having to
input the name i.e. mstsc.exe /V <PCName>

Any ideas,
First of all: this newsgroup is about Access and not about programming C#.

btw, it's somewhere in System.Diagnostics.Process. You can specify the
parameters for the starting process.


mfG
--> stefan <--
 
Top