第一个,是原来的那个
string sql = @"SELECT a_name,e_name,e_ip,c_name,c_index FROM ((areas LEFT JOIN equipments ON (areas.a_name=equipments.e_area)) LEFT JOIN channels ON (equipments.e_ip=channels.c_equipment_ip))";第二个,我想要修改的 string sql = "select a.a_name,e.e_name,e.e_ip,c.c_name,c.c_index from equipments e,areas a,channels c  where a.a_name=e.e_area and e.e_ip=c.c_equipment_ip";这2个SQL语句是用在刷新TreeView中的
第一个正常使用,为了搞明白意思,我自己写了第二条,但是运行时候发现TreeView不能刷新,请大家帮忙分析下