asp.net编码将ace转换为美分,squarefeet [英] asp.net coding to convert acers into cents,squarefeet
本文介绍了asp.net编码将ace转换为美分,squarefeet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
asp.net编码将ace转换成美分,squarefeet
asp.net coding to convert acers into cents,squarefeet
推荐答案
hi,
1英亩= 43560平方英尺。
转换时无需魔法。
猜猜你有网络应用程序要求。
有一个文本框,在其中输入以英亩为单位的区域。
然后在按钮上单击按钮事件,调用存储过程或在代码后面写一些代码来执行这个转换。
1 acre = 43560 square feet.
And there is no magic required in conversion.
Guess u have a web app requirement.
Have a text box in which you enter the area in acres.
Then on the button click event of a button, either call a stored procedure or write some code in code behind to do this conversion.
double landInAcres=textbox1.Text;
double landInSqFeet=(43560)*landinacres;
label1.Text=Convert.ToString(landinsqfeet);
调用存储过程会更好方法因为它不会给你的asp.net网络应用程序带来性能开销。
我还没有听说过从英亩到美分的转换,反之亦然......:P
希望以上帮助。
问候
anurag
Calling a stored procedure will be a better method coz it won''t put a performance overhead to ur asp.net web app.
And I havent heard about conversion from acres to cents or vice-versa..:P
Hope the above helps.
regards
anurag
这篇关于asp.net编码将ace转换为美分,squarefeet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文