DB Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i'm using windowsApplication to connect to DB made by SQL
i need to Display the Data of the first table in the DB as links when click
it it openes a table
and i navigte between them using buttons

my problem is that i need to make the retrieved data as links (similar to
objectList in Mobile application)
is there something similar to that in Windows.Forms ?

my second problem for the displayed Table i used DataGrid , but it's in the
run time displayed as a link
when i click on it it opne something called table , then click in it it oen
the DataBase
then i mySelf maximize the size of the table or minimize it
is tere a property that allows me to see the table Displayed without needing
to click the links & its size in fitiing to the size of the table ??
 
Hi tota,

For you first question I believe that you will have to write your own
functionality here. Fortunately there is an excellent tutorial for
customizing the Windows Form Datagrid on the MSDN. I have posted a link to
the tutorial for you below. Basically you can manipulate the events of the
customized grid to enable the functionality that you desire.

To get the data to display directly in the datagrid without clicking the
link and having to maximize the window all you have to do is specify the
datatable that the datasource is pointing to (e.g. DataGrid1.Datasource =
ds.Tables[0];)

I hope this helps
 
Back
Top