473,398 Members | 2,120 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,398 software developers and data experts.

setting text value of a bound textfield

mjw
I am new to VB.Net 2005 and would like to thank anybody in advance who
may help me out.
In my windows form application I am using a BindingNavagator tool strip

to display values of my database fields which are bound to my
tablesBindingSource. This works fine. What I need to do when I select
the new data row entry from the tool strip is pass one of the fields a
text field value from another TextBox on the page. I cannot get this to

work. My code always shows blank. I also thought I might have to set
the value to the bindingSource
but can't figue out a way of doing it.
Private Sub bindingNavigatorAddNewItem1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
bindingNavigatorAddNewItem1.Click
PassFamilyId()
End Sub
Private Sub PassFamilyId()
Me.FamilyIDTextBox1.Text = FamilyIdTextBox.Text
End Sub
Thanks Mike

Sep 29 '05 #1
0 1113

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

Similar topics

4
by: MT | last post by:
Hi all, this sounds like an easy enough thing to do, but after spending 45 minutes searching google and various javascript sites I can't find out how to make a textfield (textbox or whatever you...
0
by: mjw | last post by:
I am new to VB.Net 2005 and would like to thank anybody in advance who may help me out. In my windows form application I am using a BindingNavagator tool strip to display values of my...
1
by: simon | last post by:
I have an unbound RTF2 control in an Access 2003 form which I set to show either unformatted text or else text with words and sentences highlighted. I do this by setting the PlainText property,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.