PC Review


Reply
Thread Tools Rate Thread

Binding to a column that is integer.

 
 
Mr. X.
Guest
Posts: n/a
 
      2nd Jun 2010
Hello.
I am binding a TextBox to an integer column.
The textbox cannot have empty value, even the column can assign to null.
How can I force empty value on the textBox, that is of integer type (not
zero).

Thanks

 
Reply With Quote
 
 
 
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      3rd Jun 2010
Use the binding events

http://www.vb-tips.com/DataBindingEvents.aspx

"Mr. X." <nospam@nospam_please.com> wrote in message
news:OY2M$(E-Mail Removed)...
> Hello.
> I am binding a TextBox to an integer column.
> The textbox cannot have empty value, even the column can assign to null.
> How can I force empty value on the textBox, that is of integer type (not
> zero).
>
> Thanks
>

 
Reply With Quote
 
Mr. X.
Guest
Posts: n/a
 
      3rd Jun 2010
It's binding.
Not databinding.
What should I do for databinding object (They are not the same events) ?
Thanks

"Cor Ligthert[MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Use the binding events
>
> http://www.vb-tips.com/DataBindingEvents.aspx
>
> "Mr. X." <nospam@nospam_please.com> wrote in message
> news:OY2M$(E-Mail Removed)...
>> Hello.
>> I am binding a TextBox to an integer column.
>> The textbox cannot have empty value, even the column can assign to null.
>> How can I force empty value on the textBox, that is of integer type (not
>> zero).
>>
>> Thanks
>>

 
Reply With Quote
 
LightStamp
Guest
Posts: n/a
 
      7th Jun 2010
Are you talking about declaring a variable as IsNullable of Integer then
setting it to Nothing
Which will let the column value remain NULL

Forgive me if I'm way off on what you're asking here

"Mr. X." <nospam@nospam_please.com> wrote in message
news:OY2M$(E-Mail Removed)...
> Hello.
> I am binding a TextBox to an integer column.
> The textbox cannot have empty value, even the column can assign to null.
> How can I force empty value on the textBox, that is of integer type (not
> zero).
>
> Thanks



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem binding textbox to an integer column Michael Rodriguez Microsoft C# .NET 0 18th Jul 2005 08:27 PM
Selecting a column with an integer lashio Microsoft Excel Misc 2 27th Mar 2005 07:50 PM
Binding INTEGER and use of NULL =?Utf-8?B?UmF5bW9uZA==?= Microsoft ADO .NET 2 20th Feb 2004 09:51 AM
Integer in Query Column SAC Microsoft Access 1 22nd Jan 2004 04:50 PM
Integer in query column SAC Microsoft Access 1 22nd Jan 2004 02:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 AM.