Have a textbox display the results of a formula

I have four texboxes as follows, numerator, denominator, and one for Gross Acres. I want the fourth Textbox to display the result of what the user inputs for the fields, the ( (numerator/denominator) * Grossacres), I just wasn't sure how to go about this.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GravitaZ24Author Commented:
I just want the ASFS_NETACTB textbox to display the solution to ((ASFS_FRACT_NTB /ASFS_FRACT_DTB) * ASFS_GROSSACTB). Is that possible?
Fee Simple</td>	
		<asp:textbox id="ASFS_FRACT_NTB" runat="server" Text='<%# Eval("ASFS_FRACT_N") %>' Width="35px" />
		<asp:textbox id="ASFS_FRACT_DTB" runat="server" Text='<%# Eval("ASFS_FRACT_D") %>' Width="35px" />
		<asp:textbox id="ASFS_GROSSACTB" runat="server" Text='<%# Eval("ASFS_GROSSAC") %>' />
		<asp:textbox id="ASFS_NETACTB" runat="server"  Text='<%# Eval("ASFS_NETAC") %>' />
		<asp:textbox id="ASFS_OVERLAPTB" runat="server" Text='<%# Eval("ASFS_OVERLAP") %>' />
		<asp:textbox id="ASFS_TAXPARCELIDTB" runat="server" Text='<%# Eval("ASFS_TAXPARCELID") %>' />

Open in new window

First add a button to this form, like:
<asp:Button ID="Button1" runat="server" Text="Submit" OnClick="SumClick" />

Then create the OnClick method, like:
    protected void SumClick(object sender, EventArgs e)
        double dSum = ((Convert.ToDouble(ASFS_FRACT_NTB.Text) / Convert.ToDouble(ASFS_FRACT_DTB.Text)) * Convert.ToDouble(ASFS_GROSSACTB.Text));
        ASFS_NETACTB.Text = dSum.ToString();

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.