½Ð°Ý VB grid ,treeview ¸Ó¦p¦óÀ³¥Î©O¡H
- ©«¤l
- 552
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 578
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-2-8
- ³Ì«áµn¿ý
- 2024-7-9
  
|
¦^´_ 1# xfp4oqu
n§¹¦¨datagridview¡Btreeview¡Aº¥ýnÁA¸Ñ"¸ê®Æµ²ºc"¡A¨Ì§AExcelÀɮ׹Ϩӻ¡n§¹¦¨treeview¬O«Ü§xÃøªº¦]¬°¾ãÓµ²ºc´N¬O¿ùªº
treeview¤¤ªº¨CÓ¸`ÂI³sµ²»Ýn¦³¸ê®ÆÃöÁp©Ê¡A¦p¤U¹Ï¡GParentCode¥i¥H¹ïÀ³¨ìCode¡A¹Ï¤¤ParentCode=0 ªº ¬O"¤÷¸`ÂI"(©Î®Ú¸`ÂI)
´N¬O©ñ¦b®ÚÃþ¤¤¡A¦ÓParentCode=1ªº«h¬O¹ïÀ³¨ìCode= 1¡A¤]´N¬O»¡ParentCode=1¬OCode= 1ªº¤l¸`ÂI¡A¨Ì¦¹Ãþ±À¡C
¦A¹B¥Î±_ª¬»¼Âk¥[¸ü¼Æ¾Ú¡A´N¥i¥H¸ü¤J
¦A¨Ó¬O"±¦Vª«¥ó"(¤j³°¥Î»y¬O"±¦V¹ï¶H")¡A¹ï "Ãþ" ªº»{ª¾ ¨äÃþ¤¤ªºÄÝ©Ê¡B¤èªk¡B¨Æ¥ó¤]n¦³¬Û·íªº²z¸Ñ¤~¦æ¡C
³o¨ÇY¬O³£¤£²M·¡µ¹§A¥N½X§A¤]¤£·|קï¨ì§A»Ýnªºµ{«×¡C
datagridview´N¤ñ¸û²³æ"¨Ç"¡A¥un¹ï"±¦Vª«¥ó"ÁA¸Ñ¡A¦A¨Ó´Nª«¥ó¸j©wª«¥ó§Y¥i¤F
¥H¤WÁöµM¥u´X¥y¸Ü¡A¦ý¸Ì±©Òn¾Ç²ßªºª¾ÃѶW¦h¡A¤£¬O¤T¨¥¨â»y´N¥i¥H»¡ªº©ú¥Õ
³Ì«á¦Aµ¹§AÓ«Øij¡A¤£n¥ÎExcel¥h°µ¡A¥Î¸ê®Æ®w§a¡IExcel¥i¥H¥Î¦b³Ì«áªº¹Ïªí¡Bpºâ¡B²Îp¤W¡A¦ý¤£n¥Î¦b¸ê®Æµ²ºc¤W¡A²¦³º¥L¤£¬O¸ê®Æ®w |
-
-
aa.png
(19.78 KB)
|
|
|
|
|
|