hi group

  • Thread starter Thread starter Newbie!
  • Start date Start date
N

Newbie!

Hope your all well?

I have a form with a DataAdapter, DataConnect and a Dataset I build from the
two.

I have a Datgrid on my form with the Datapropertys set to MyDataset.

I also have several Text boxs assigned to the dataset. My question is how do
i remove a table (Make it not visible in the datagrid) but still alow me to
assign the proprty to the text box, if you get what i mean?

Thanks in Advance
Regards
Si
 
Hi Newbie,

A direct answer to your question is

datagrid1.visible = false

I do not know if that was what you did mean?

Maybe you can explain a little bit more what you are doing, but it sounds
strange?

Cor
 
Hi Cor,

Say I have in my Dataset:

ID
FirstName
SecondName
EmployerID
AccessCode

On my Datagrid i only want:

FirstName
SecondName
EmployerID

But in my Text box`s i want everything populated.

Hope that explains it a bit better

Regards
Si
 
Hi Newbie,

It explains it complete

Have a look at
datagridtablestyle
and
datagridcolumnstyle

It is very easy to use
something as here roughly types
\\\
dim tsl as new datagridtablestyle
tsl.Mappingname ="mytable"
tsl.gridcolumnstyles.add(new datagridtexboxcolumn) ' standard is also a
datagridboolcolumn
tsl.gridcolumnstyles.item(0).mappingname ="myfirstitem"
tsl.......................................
etc etc
datagrid1.tablestyles.add(tsl)
/////

I hope this helps?

Cor
 
Back
Top