Asp.net与C#怀疑 [英] Asp.net with C# doubts
本文介绍了Asp.net与C#怀疑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
textbox1.text =和 textbox1.text = null 和 textbox1.text = string.empty 之间有什么区别。我需要知道以上三者之间的区别。
what is difference between textbox1.text = "" and textbox1.text = null and textbox1.text = string.empty . i need to know difference between this above three.
推荐答案
string.empty与相同。 Null可能渲染相同,因为它还能做什么?在ASP.NET中,在回发之后,这三者之间肯定没有区别。
string.empty is the same as "". Null probably renders the same, because what else can it do ? In ASP.NET, after a postback, there is definitely no difference between those three.
textbox1.text =和textbox1.text = string.empty
都产生相同的结果
textbox1.text = null
为textbox1分配一些值(如果之前定义为null)
textbox1.text = "" and textbox1.text = string.empty
both produce same results
textbox1.text = null
assigning some value to textbox1(if null is defined earlier)
hi,
i want计算3个文本框值到textbox4的自动结果,并将这些值插入到数据库中。
请帮我紧急.........
i want to calculate 3 text box values to automatic result in textbox4, and also this values are inserted to the database.
Please help me urgent.........
>
这篇关于Asp.net与C#怀疑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文