VS.NET 2002/2003Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1).
** Please don't post code questions here **
For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VS.NET 2002/2003 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
hi
i have two table
StudentAccountTable and billmonthly
studentaccounttable contain
Student Id Namefield Class Roll BalanceAmount
1001 abc 2 3 2500.00
1002 Dbc 3 3 3500.00
here studentid is primary key
in billmonthly
StudentID Total amount
1001 100
1002 1500
Here StudentId Also Primary Key
now i wann update studentaccounttable (BalanceAmount) at once from Billmonthly (TotalAmount) for this i make query on sql
UPDATE StudentAccountTable
SET BalanceAmount = StudentAccountTable.BalanceAmount+billMonthly.Tota l
FROM StudentAccountTable, billMonthly
WHERE StudentAccountTable.StudentId = billMonthly.StudentId
which work very well
now i want this code work through code
Please help me to do this through code