Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / DataGrid / November 2003

Tip: Looking for answers? Try searching our database.

Data grid question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
simon - 28 Nov 2003 08:57 GMT
I have for example SQL statement:

SELECT categoryID,categoryName FROM categories

I can get products like this:

Select productId,productName from products where categoryId=@catID

If I bind this to dataGrid I want to have beside the categoryName also links
to products in this category.

Category name is link to edit category name , where you can change it.
Product names are also links to edit the product name, where you can change
it.

One row should look like this:

CATEGORYID CATEGORYNAME PRODUCTNAME

   1   Computers IBM computer
   Dell computer
   Compaq

I have 2 books and I didn't find any information how to do that.
Can someone help me? Is there any example

Thank you,
Simon
Michael Tkachev - 28 Nov 2003 09:24 GMT
Simon,

Could you like to send me your code?

bye

> I have for example SQL statement:
>
[quoted text clipped - 24 lines]
> Thank you,
> Simon

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.