No announcements
Found 3854796 threads
-
0 Votes
How To Set A Default Property Value For A User Control
However, I just placed a new copy of the user control on the form and it has the default property value set like I want.Answered | 2 Replies | 10588 Views | Created by DallasSteve - Friday, February 18, 2011 3:40 PM | Last reply by Rudedog2 - Friday, February 18, 2011 4:43 PM -
21 Votes
Property- Get & Set
so If you need to set the value of a READONLY property, you do so DIRECTLY to its storage variable...Answered | 30 Replies | 2410 Views | Created by bhd9 - Saturday, December 24, 2011 2:59 PM | Last reply by John Anthony Oliver - Wednesday, December 28, 2011 1:56 PM -
0 Votes
Set a Default Value of Functions Optional Argument to Null
Your could pass a value for intCode as a STRING perhaps?Answered | 13 Replies | 19456 Views | Created by Ryan0827 - Thursday, August 4, 2011 9:10 PM | Last reply by Reed Kimble - Friday, August 5, 2011 3:19 PM -
4 Votes
How to set a string value to unknown?
//1.set a string which use Heap Memory string a=""; //2.it is the same as the first method,but it will reduce error string ...Answered | 12 Replies | 858 Views | Created by Dilan Vermaak - Monday, June 8, 2015 11:29 AM | Last reply by Chen Meijun - Tuesday, June 9, 2015 9:33 AM -
0 Votes
How to detect a null value in XML and set the visibility property of image control?
Hi MLTC, In Reporting Services, when working with XML data source, the empty values are resolved as empty string.Answered | 2 Replies | 1511 Views | Created by MLTC - Thursday, February 18, 2016 4:26 PM | Last reply by Visakh16 - Monday, February 29, 2016 10:22 AM -
0 Votes
Property of custom type always null
[NonSerialized] public String Url { get { return BuildURL(_name, _county.Name); } } If ...Answered | 5 Replies | 2626 Views | Created by smh_poole - Thursday, January 28, 2010 8:03 PM | Last reply by smh_poole - Wednesday, February 3, 2010 9:38 PM -
1 Votes
How to set bool value to Tag property of the control
Presumably you would do exactly the same thing I showed you before, only with the Trigger.Value property.Answered | 4 Replies | 8667 Views | Created by chandu928 - Tuesday, June 9, 2009 10:25 AM | Last reply by chandu928 - Thursday, June 11, 2009 4:42 AM -
0 Votes
How to set datetimepicker value to null
You can not have a null value in a dateTimePicker, but you can set a default min or max date: // Create a new DateTimePicker control ...Answered | 2 Replies | 9320 Views | Created by Shaafs - Friday, April 5, 2013 7:06 AM | Last reply by Lee 'Wozy' Warren - Friday, April 5, 2013 9:01 AM -
0 Votes
The 'Timestamp' property on 'TableName' could not be set to a 'String' value.
I think the problem relate to your models, you should use "?Answered | 1 Replies | 3753 Views | Created by STPHANG - Tuesday, April 17, 2012 6:38 AM | Last reply by Alan_chen - Wednesday, April 18, 2012 7:56 AM -
0 Votes
Get the value of a generic list property and check if null
class Foo { public int A {get;set;} public string B {get;set;} } ...Answered | 2 Replies | 1436 Views | Created by Robert Mansion - Thursday, April 7, 2016 6:59 AM | Last reply by Kristin Xie - Friday, April 8, 2016 7:53 AM -
0 Votes
What is the default value of the String property of my custom class?
Hello waterharbin, in addition to Cor's sample: Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles ...Answered | 3 Replies | 1154 Views | Created by waterharbin - Sunday, November 25, 2012 2:46 PM | Last reply by Carmelo La Monica - Sunday, November 25, 2012 3:15 PM -
1 Votes
Transformation policy to convert null value to string type
Thank you Sheethal, That Worked .Answered | 3 Replies | 511 Views | Created by shemeerbk - Thursday, April 5, 2018 2:55 AM | Last reply by Sheethal J S - Thursday, May 3, 2018 8:13 AM -
0 Votes
How to set a Property ReadOnly dynamically based on another property value.
Hi Msdn , set by default readonly to true to the propertyy this is used for getting the output ' Create a ...Answered | 4 Replies | 6103 Views | Created by Vinod.S.Nair - Wednesday, August 8, 2007 9:00 AM | Last reply by SilverPlate - Tuesday, June 30, 2009 4:45 PM -
0 Votes
setting a ushort property with a string passed into it
Hi, Did you solve this issue?Answered | 4 Replies | 3124 Views | Created by witdaj - Wednesday, October 6, 2010 9:04 PM | Last reply by Mauro Castagnasso - Monday, October 18, 2010 3:07 AM -
0 Votes
The 'Timestamp' property on 'TableName' could not be set to a 'String' value.
other than the error message in the title, I also get something similar for other table, example: The 'ID' property on 'TableName' could ...Answered | 5 Replies | 3232 Views | Created by STPHANG - Monday, April 16, 2012 3:54 PM | Last reply by Yi-Lun Luo - Tuesday, April 17, 2012 7:39 AM -
2 Votes
Properties - value is by value or ref?
Values are always passed into a property by value.Answered | 2 Replies | 3087 Views | Created by Christopher Pisz - Friday, October 30, 2009 4:56 PM | Last reply by Reed Copsey, Jr - Friday, October 30, 2009 5:20 PM -
0 Votes
The settings property 'mysetting' was not found.
Are you using a source control where you can confirm that neither the source code or the config file format/code has changed?Answered | 2 Replies | 6643 Views | Created by Jesper Lund Stocholm - Tuesday, September 1, 2009 8:21 AM | Last reply by HELJ - Tuesday, September 1, 2009 2:34 PM -
1 Votes
enumerating class properties value
I developing dozens of class which have dozens of properties, every property has it's default value.Answered | 3 Replies | 3515 Views | Created by Zarei Ramin - Sunday, December 26, 2010 9:54 AM | Last reply by Zarei Ramin - Monday, December 27, 2010 12:00 PM -
1 Votes
The null value cannot be assigned to a member with type System.DateTime which is a non-nullable value type.
Thanks Sir, its working now properly by setting the property "Nullable" to true in designer.Answered | 2 Replies | 2576 Views | Created by sachin arwade - Thursday, July 5, 2012 10:33 AM | Last reply by sachin arwade - Friday, July 6, 2012 4:44 AM -
0 Votes
Set values to workflow properties when using StateMachineWorkflowInstance.SetState
Yes you can set the properties of the "workflow" but not the properties of the new State without entering that state.Answered | 4 Replies | 3331 Views | Created by Cristina Lopez-Perera - Wednesday, August 19, 2009 10:23 PM | Last reply by Ryan Vice - Thursday, August 20, 2009 6:27 PM
No announcements