;修改歌名成功。。其它的你自己加
Func modi()
$SongID0=GUICtrlRead($SongID)
$Name1=GUICtrlRead($Name)
$Singer2=GUICtrlRead($Singer)
$FileName3=GUICtrlRead($FileName)
$Lang4=GUICtrlRead($Lang)
$Type5=GUICtrlRead($Type)
$HC6=GUICtrlRead($HC)
$WordNum7=GUICtrlRead($WordNum)
$PY8=GUICtrlRead($PY)
$DBCount9=GUICtrlRead($DBCount)
$sqlstr="update Song set Song.[name]='"&$Name1 & "'" & " WHERE SongID = " & "'" &$SongID0&"'"
$con.Execute($sqlstr)
MsgBox(64, "提示:"," 成功修改数据库!")
EndFunc
Func del()
$str=GUICtrlRead(GUICtrlRead($ListView1))
$strsplit=StringSplit($str,"|")
$con.execute("delete from Song WHERE SongID='"&$strsplit[1]&"'")
MsgBox(64, "温馨提示:","删除成功!!!")
EndFunc