By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,236 Members | 1,839 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,236 IT Pros & Developers. It's quick & easy.


P: n/a
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)
i used LinkLabel to make an array of LinkLabels
for (int n=0 ; i<j ; i++)
this.linkLabel[n] = new System.Windows.Forms.LinkLabel();
linkLabel[n].Text = DSFucalities.Tables[0].Rows[n].ToString();
this.linkLabel[n].Name = "linkLabel"+i;
this.linkLabel[n].Location = new System.Drawing.Point(xLLabel,yLLabel);

but the panel was empty !!

when i tried to make it only for one label

this.linkLabel = new System.Windows.Forms.LinkLabel();
linkLabel.Text =DSFucalities.Tables[0].Rows[0].ToString();
this.linkLabel.Location = new System.Drawing.Point(30,30);

the output was

not the text in the Table Of DataBase

a second thing does this way work when i click on the Link Label
i need to go to other form which contains some information Depending of the
LinkLabel that has been clicked , i mean according to the choosen LinkLabel i
need to know for example the no. of that item then select some Data From the
is it possible to handle this

Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.