473,324 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How to display embedded datagrid when click

hello, anyone..
im newbie to asp.net

my problem is :

My task is related to view all data from a table called "employee "
i had create a datagrid where called data from database and successfully display in a datagrid..
each employee will hav their own personnel_number and direct_manager_personnel_number which refer to who is his/her direct boss...

eg.
CEO hav personnel_number= 2 and direct_manager_personnel_number=1 means that CEO has to report to boss(personnel_number = 1)
IT manager hav personnel_number = 44 and he will hav many employees (direct_manager_personnel_number = 44) under him..

my task is to view in a embedded child datagrid where who are the persons should refer/direct to him when user click / activate tat row of tat person


i had create a datagrid to view all parent and last column i had insert a link button so tat when user click on it, embedded child datagrid will be shown

i had saw almost tutorials in internet,my task has a bit different from them.
the different are

1. act my full task is to let user key in first name or last name then program ll view all employees with tat firstname/lastname once user click on tat "Search" button.Hence, my coding to call the data from database not from itemBoundData, is from click command

2. after that, from the datagrid, user can select tat row to be view with its embedded child datagrid.

im getting confuse what shoud i wirte tat coding after viewing parent datagrid and where should i put tat coding.
Jul 21 '08 #1
2 1588
Curtis Rutland
3,256 Expert 2GB
Welcome to Bytes.

Please do not double post your questions. It makes it difficult to answer and keep track of. Please read the Posting Guidelines.

Also, you need to try something first, This is a forum for coding issues, not a place where we do your homework/assignment for you. If you try something, and have a problem, we will be more than happy to help you work through specific issues, but we won't do your work for you.

MODERATOR
Jul 21 '08 #2
Welcome to Bytes.

Please do not double post your questions. It makes it difficult to answer and keep track of. Please read the Posting Guidelines.

Also, you need to try something first, This is a forum for coding issues, not a place where we do your homework/assignment for you. If you try something, and have a problem, we will be more than happy to help you work through specific issues, but we won't do your work for you.

MODERATOR

Sorry about that

and actually i had find out lots of how to do it...
but cant..
im confusing,not me didn't try it
hope can get some direction from senior


Anyway, i had done it in different way, that's using datalist
sorry for inconvenient
sorry for asking stupid question
Aug 1 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: dimension | last post by:
Hi, is it possible to display the Row number in the in the row selection column in a DataGridView (this is the "column" before your first column...when you click on it, it highlights the entire...
5
by: BlueFox | last post by:
Hi : When i display the DataBase in System.Windows.Forms. DataGrid ,i want to display the line number of ever line .How can i do it ? Any help may be Good .
2
by: michael walser | last post by:
display checkbox in datagrid. I find that there are 3 status: checked - check box with click icon unchecked - blank in check box unknown - click icon but color in gray..... How can I set the...
5
by: Sue | last post by:
Help! I have an asp table with an embedded table. The asp tablerow that contains this table has a static ID assigned of "FilterRow2" (see snippets of code below). When I click on the button to set...
1
by: Tom Wells | last post by:
I have a few things such as buttons and URLs that may or may not be shown based on the value of a database column. I can hook to the database and get the dataset and datarecord just fine. I can...
2
by: hazz | last post by:
With this code, the config file(listed below) opens initially into the datagrid display with only a plus sign '+'. On clicking that, it becomes expanded to; - appsettings add When I click on...
2
by: Cindy | last post by:
Hello. For some reason, I am able to "connect" to the Northwind database whenever I use the wizard; however, when I run the application, my datagrid does not display. Here are the exact steps I...
2
by: sathyan8294 | last post by:
i am using dotnet 2003.i am doing my project in vb.net windows application.i have two form in my project.first form is datagrid .In second form label and textboxes are avilable to save the entering...
2
by: kurtzky | last post by:
i created a form that should function as follows: i will enter a number in a textbox..then it should query from the database all the records which has that number..these records will have a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.