ASP.NET
文章平均质量分 50
我的剑会笑
这个作者很懒,什么都没留下…
展开
-
Radiobuttonlist字体无法改变的原因分析
<br />相信肯定有人遇到过想去改变radiobuttonlist的字体,但是通过css却无法改变的问题。 本文指出个中缘由,并提供两种解决办法:<br /> <br />假设我们有一个radiobuttonlist,且这个radiobuttonlist在一个table里:<br /><asp:RadioButtonList ID="rbl_Greeting" runat="server" RepeatDirection="Vertical" RepeatLayout=Table CellPadding=原创 2010-07-07 15:26:00 · 2131 阅读 · 0 评论 -
JavaScript + CSS 实现更新后提示
HTML:Put the following JavaScript code in the section:原创 2010-07-07 14:41:00 · 403 阅读 · 0 评论 -
Solution for issue of number/currency/date/datetime/boolean type not updating in salesforce.
When updating or inserting double type field, there is an boolean attribute needs to be set other than just setting the value of the double type field.clientForUpdate.Usage_Balance__c = Convert.ToDouble(txtBalance.Text.ToString());clientForUpdate.Usage_Bal原创 2010-07-07 15:54:00 · 425 阅读 · 0 评论 -
Formatting Types
<br />http://msdn.microsoft.com/en-us/library/fbxft59x%28VS.71%29.aspx原创 2010-07-14 09:50:00 · 323 阅读 · 0 评论 -
ASP.NET Unleashed读书笔记
<br />Chapter 8 Overview of Data Access<br /> <br />1. The GridView is bound to its data source only when the page is requested for the first time.<br /><br />2. Every DataBound control included in the ASP.NET 3.5 Framework supports templates with原创 2010-07-14 10:08:00 · 317 阅读 · 0 评论 -
About type "double?".
<br />When encountering type "double?", we can use ".value" to get the value.<br /> <br />For instance:<br /> <br />If A is of double? type, you may get "cannot convert double? to string" when you use A.ToString(). To solve this problem, change it to A原创 2010-08-05 14:21:00 · 414 阅读 · 0 评论 -
在.net下将saleforce字段值更新为null或空字符串。
<br /> 假设我们有一个salesforce object: PhoneNumber__c, 它有一个字符串属性Status__c,如果要将其值(假设原值为“Good”)更改为空,在.net下直接用:<br /> <br /> PhoneNumber__c pn = new PhoneNumber__c();<br /> pn.Status__c = "";<br /> <br />是没有用的,它的值依然是Good。<br /> <br />正确更新办法:<br原创 2010-08-31 11:41:00 · 525 阅读 · 0 评论 -
How to render "asp:Label" as "label" in HTML markup.
<br />Solution: Add AssociatedControlID.<br /> <br />A Label control without AssociatedControlID will be rendered differently when compared to Label control with AssociatedControlID. <br /> <br />A Label control with AssociatedControlID will be rendered转载 2010-09-11 16:12:00 · 584 阅读 · 0 评论