Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Help vb.net 2010

jamjam1113

Apprentice
Advanced Member
Messages
67
Reaction score
0
Points
26
need help po . View attachment 235014


nagagawa ko po ung add ang problema po pag nag delete po akong ng isang row di ko po mabawas ung price nung inalis ko .
total += frmMainMenu.dgvitems.Rows(x).Cells("tp").Value() eto po yung formula ko sa add pano po gagawin ko sa minus ? need po ng sagot asap . kailangan na po bukas eh T.T
 

Attachments

  • XD.jpg
    XD.jpg
    76 KB · Views: 15
need help po . View attachment 1067693


nagagawa ko po ung add ang problema po pag nag delete po akong ng isang row di ko po mabawas ung price nung inalis ko .
total += frmMainMenu.dgvitems.Rows(x).Cells("tp").Value() eto po yung formula ko sa add pano po gagawin ko sa minus ? need po ng sagot asap . kailangan na po bukas eh T.T

Think of a code na kapag na-delete ka ng row, mag-rerefresh ang textbox. Kaya mas maganda kapag mag-drag and drop ka na lang ng button control sa form at ipangalan mong "Delete". Doon mo ngayon ilagay ang code mo. Hindi ba nilagay mo ang code na yan sa Form Load event? Ngayon, subukan mong ilagay sa button ang code.
 
need help po . View attachment 1067693


nagagawa ko po ung add ang problema po pag nag delete po akong ng isang row di ko po mabawas ung price nung inalis ko .
total += frmMainMenu.dgvitems.Rows(x).Cells("tp").Value() eto po yung formula ko sa add pano po gagawin ko sa minus ? need po ng sagot asap . kailangan na po bukas eh T.T

Pag nag delete ka, re-calculate mo lang yung total..
Para mas madali upload mo sir yung source code ayusin natin...
 
Last edited:
dun sa delete code mo, iload mo yung data grid mo.
 
Back
Top Bottom