User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,762 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 2333 | Replies: 3
Reply
Join Date: Nov 2007
Posts: 14
Reputation: saravanarajan is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
saravanarajan saravanarajan is offline Offline
Newbie Poster

Create a Dataset coding

  #1  
Nov 16th, 2007
Hi everyone!
Please help me, I am beginner of the vb.net , I want know how to create dataset coding and
binding a textboxes,combobox and masked textbox pelase help me
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: � Jogja �
Posts: 2,590
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Rep Power: 11
Solved Threads: 236
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Create a Dataset coding

  #2  
Nov 26th, 2007
you can use dataAdapter n generate dataset. or declare variable as new data set.
Reply With Quote  
Join Date: Nov 2007
Location: High Point, NC
Posts: 37
Reputation: emurf is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
emurf emurf is offline Offline
Light Poster

Re: Create a Dataset coding

  #3  
Nov 26th, 2007
Is this what you are looking for?

'declare the dataset
Dim ds As New DataSet

'bind to textbox
Me.textbox1.DataBindings.Add(New Binding("Text", ds, "Tablename.ColumnName"))

'bind combo
me.ComboBox1.DataBindings.Add(new Binding("Text", ds, "tablename.columnname"))

'bind the masked text
Me.MaskedTextBox1.DataBindings.Add(New Binding("Text", ds, "tablename.columnname"))
Reply With Quote  
Join Date: Nov 2007
Posts: 14
Reputation: saravanarajan is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
saravanarajan saravanarajan is offline Offline
Newbie Poster

Re: Create a Dataset coding

  #4  
Nov 28th, 2007
yes Its working thanks
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 5:06 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC