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 tblDepartmentDetails. In this table I have deptCode,deptName. I need to populate the parent node with deptName(such as financial,customer support.IT,BuissnessDevelopememt 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 tblEmployeeDetails. In this table I have deptCode,EmployeeNumber,EmployeeName. 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(txtEmpNum,txtEmpName,txtDeptName respectivelly).
Pls help me with deatil C# code.