Foxtable(狐表)用户栏目项目发布 → [分享]参赛作品<<便利店收银系统>> 公开开源密码


  共有57302人关注过本帖平板打印复制链接

主题:[分享]参赛作品<<便利店收银系统>> 公开开源密码

帅哥哟,离线,有人找我吗?
布莱克朱
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:三尾狐 帖子:623 积分:3897 威望:0 精华:0 注册:2011/8/3 22:13:00
  发帖心情 Post By:2012/2/16 21:32:00 [只看该作者]

老大,第一个我有保存代码:

 

Dim s1 As String = e.Form.Controls("DropBox1").Value
Dim s2 As String = e.Form.Controls("TextBox1").Value
If s1 ="" Then
    MessageBox.Show("请输入旧卡卡号!","提示!")
    Return
End If
If s2 ="" Then
    MessageBox.Show("请输入要换的新卡卡号!","提示!")
    Return
End If

Dim dr As DataRow
dr = DataTables("会员资料").Find("会员卡号 ='" & s1 & "'")
If dr IsNot Nothing Then
    dr("会员卡号") = dr("会员卡号").Replace(s1,s2)
    MessageBox.Show("已经成功更换了卡号!","提示!")
    DataTables("会员换卡").Save()
    e.Form.Close()
End If

 

 

  所以应该保存了.


 回到顶部
总数 85 1 2 3 4 5 6 7 8 9 下一页