3
Answers

How to Assign two stored procedure

Photo of aryaonmesh

aryaonmesh

20y
1.9k
1
How to assign two stroed procedure in a transaction strSQL = "Update TableOne set dbalance = dBalance - " + Amt.Text + " where AccNumber = '" + txtFrom.Text + "'"; cmd.CommandText=strSQL; cmd.ExecuteNonQuery(); strSQL = "Update TableTwo set dbalance = dBalance + " + Amt.Text + " where AccNumber = '" + txtTo.Text + "'"; cmd.CommandText = strSQL; cmd.ExecuteNonQuery(); Above is using two Sql statements in a transaction. I want to use two SP in a transaction. HOw to do? Help greatly apprecitated Thanks in advance

Answers (3)

0
Photo of tola Ibironke
NA 8 2k 10y
The user does not need a view page to login. The user will use windows login and I will read the login details from the window active directory to authenticate the user. No view is needed. Hence I'm using windows authentication and not forms authentication.
0
Photo of karthik A
NA 8 772 10y
ok 
view page also show ..
after tell this answer