TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Administrator
Tech Writer
2.2k
1.5m
the correct DataBinding statement
Feb 27 2003 11:24 AM
I would like to know how to use the DataBiding to show the values of a table in a Text Box. I have a text box called TXT1 in a Windows Form and i make the correct connection to a database and the DataAdapter and DataSet. But i dont know how to construct the correct DataBinding statement. I must place before or after to the DataSet? There is anybody to show me where i put the DataBinding code in the example below. Since already I am thankful. thisConnection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Andre\Teste\HARPIA.MDB"); thisConnection.Open(); OleDbDataAdapter thisAdapter = new OleDbDataAdapter ( "SELECT registro, n_tipo, n_taxon, numerodecampo FROM sgc", thisConnection); OleDbCommandBuilder thisBuilder = new OleDbCommandBuilder (thisAdapter); DataSet thisDataSet = new DataSet (); thisAdapter.Fill (thisDataSet, "sgc");
Reply
Answers (
2
)
Drop down list problem!
C# and the WinXP look-and-feel