Hi…I’m new to .net..so pls help me.
I have a asp.net treview. I need to populate the treview at run time from the sql database. The parent node must be bound from table tblDepartmentDe tails. In this table I have deptCode,deptNa me. I need to populate the parent node with deptName(such as financial,custo mer support.IT,Buis snessDevelopeme mt etc…so as many depts).
Next I need to populate the child node of each parent node. The child node should be bound from table tblEmployeeDeta ils. In this table I have deptCode,Employ eeNumber,Employ eeName. I need to populate the childnodes with EmployeeNames. Each depts have many employes.
And atlast if click on any one of the child node(EmpName) the corresponding employe’s EmployeeNumber, EmployeeName and deptName should be displayed in textboxes(txtEm pNum,txtEmpName ,txtDeptName respectivelly).
Pls help me with deatil C# code.
I have a asp.net treview. I need to populate the treview at run time from the sql database. The parent node must be bound from table tblDepartmentDe tails. In this table I have deptCode,deptNa me. I need to populate the parent node with deptName(such as financial,custo mer support.IT,Buis snessDevelopeme mt etc…so as many depts).
Next I need to populate the child node of each parent node. The child node should be bound from table tblEmployeeDeta ils. In this table I have deptCode,Employ eeNumber,Employ eeName. I need to populate the childnodes with EmployeeNames. Each depts have many employes.
And atlast if click on any one of the child node(EmpName) the corresponding employe’s EmployeeNumber, EmployeeName and deptName should be displayed in textboxes(txtEm pNum,txtEmpName ,txtDeptName respectivelly).
Pls help me with deatil C# code.
Comment