473,394 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

event on sql table bound control

GS
which event should I use to process and format the display of a column after
navigating into the row?

I looked at the event for the data bound text control, I did not see
anything obvious.

I am trying to use the string form of a numeric value to set some checkboxes
so user can see and change the value easily.

thank you for your time and advice.
Dec 19 '07 #1
4 1098
GS,

Web or window forms, your text looks a little bit like webdevelopment.

Otherwise, what is a databound text control?

If it is by instance about a textbox in windows form, then it is just
databinding it, the binding manager is than handling the rest.

Cor

"GS" <gs**********************@msnews.Nomail.comschre ef in bericht
news:%2******************@TK2MSFTNGP03.phx.gbl...
which event should I use to process and format the display of a column
after
navigating into the row?

I looked at the event for the data bound text control, I did not see
anything obvious.

I am trying to use the string form of a numeric value to set some
checkboxes
so user can see and change the value easily.

thank you for your time and advice.

Dec 19 '07 #2
GS
Thank you.

sorry, I should clarify that I am talking about window form, could be part
of datagridview or just some textbox control bound to sql table column via
binding source.

I did a quick find for bindingmanager on the entire solution and found
nothing like that.
from built-in help, I found BindingManagerBase and example. Seems to me I
have to get that form my bound control, say regexOptionsTextBox:
Dim mydbm as BindingManagerBase
= regexOptionsTextBox:.DataBindings.BindingManagerBa se.
Dim myPosnChgd as EventHandler
and somehow create the event handler for mydbm.PositionChanged like
AddHandler mydbm.PositionChanged, myPosnChgd
I can then use myPosnChgd to set a bunch of regex Options check boxes like
IgnoreCase, Multiline, SIngle Line, ECMAScript, ExplicitCapture....
Am I on the right track?

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:3A**********************************@microsof t.com...
GS,

Web or window forms, your text looks a little bit like webdevelopment.

Otherwise, what is a databound text control?

If it is by instance about a textbox in windows form, then it is just
databinding it, the binding manager is than handling the rest.

Cor

"GS" <gs**********************@msnews.Nomail.comschre ef in bericht
news:%2******************@TK2MSFTNGP03.phx.gbl...
which event should I use to process and format the display of a column
after
navigating into the row?

I looked at the event for the data bound text control, I did not see
anything obvious.

I am trying to use the string form of a numeric value to set some
checkboxes
so user can see and change the value easily.

thank you for your time and advice.

Dec 20 '07 #3
GS,

This is very easy stuff, to show you a sample from our webpage.

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

This parts from the code is in my idea actually about your problem although
the rest of the code extensions that.
\\\
Dim Mybinding As New Binding("Text", ds.Tables(0), "DateField")
TextBox1.DataBindings.Add(Mybinding)
///

In words, you bind the property Text from the Textbox to the property
"DateField" from the DataTable.

Cor

Dec 20 '07 #4
GS
...aha... I think I got the drift from your complete example to connect
format and parse events to textboxes.
I will get give it whirl .
Thank you very much. much appreciated

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:36**********************************@microsof t.com...
GS,

This is very easy stuff, to show you a sample from our webpage.

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

This parts from the code is in my idea actually about your problem
although
the rest of the code extensions that.
\\\
Dim Mybinding As New Binding("Text", ds.Tables(0), "DateField")
TextBox1.DataBindings.Add(Mybinding)
///

In words, you bind the property Text from the Textbox to the property
"DateField" from the DataTable.

Cor

Dec 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ashish Shridharan | last post by:
Hi All I have been trying to add a control to the header cell of a datagrid on my ASP.NET page. These controls are defined in the HTML as ASP.NET web controls. They are being added into the...
13
by: MLH | last post by:
I have a form with two controls: !! - combo box !! - text box A button on the form tries to run this SQL when clicked... INSERT INTO BodyMsgsSent (ToWhom, BodyText) SELECT DISTINCTROW !! AS...
14
by: TS | last post by:
I have this custom data list control and i override the onItemDatabound event. After upgrading to vs 2005, this event is not always getting called, though it does at other times. No changes were...
0
by: arlie_maija | last post by:
Hey - I'm writing a control that contains a DataGrid, and I'm unable to get the update event to fire. When I click the update link, the edit event fires. heres the details... my control...
4
by: rszebras | last post by:
I inherited a database (as a novice at Access) and need to modify it to make it more efficient, i.e., the assignment form needs to autopopulate with the client's name, address, phone number, etc.,...
13
by: Keith Wilby | last post by:
I've never used this event before and I'm struggling. I have this code in it: If MsgBox("You entered " & Me.cboManagerName _ & " - is this the manager's network logon ID?", vbYesNo, "Confrim...
6
by: Murray Hopkins | last post by:
Hi. THE QUESTION: How do I get a reference to my Object when processing an event handler bound to an html element ? CONTEXT: Sorry if it is a bit long. I am developing a JS calendar tool....
5
by: Vincent | last post by:
I have a bound listbox control on one of my forms that has an associated afterupdate event. When this event is invoked, I lock the control to prevent the user from clicking on it more than once....
5
by: Kevin | last post by:
I want a calculated control to transfer its value to a bound field in a table. I.e. I have a calculated control named txtFinalBid that adds several fields in a table. I want that number to be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.