473,395 Members | 1,972 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,395 software developers and data experts.

VB.NET Databindings

17
Hi everyone,

I've just studio using VS2008 and have a quick question regarding databindings, i'm fairly handy with vb6 so this question really relates to good practice rather than actual coding.

Our backend is SQL 2005 express edition, my application connects to this database fine, it is planned that the database will have approximately 10-20 users.

The application is basically a sales based CMS and I wanted to know if I should simply use the databindings as they are or create recordsets and have the users work off them?

It is possible that the forms will have 4/5 databindings each as our company has five major departments all of whom need access to the data and will be modifying it for their own purposes.

Currently the CMS is in access and is starting to become a little slow, hence the upgrade to VB.net/SQL server.
Apr 7 '08 #1
2 2064
dip_developer
648 Expert 512MB
Hi everyone,

I've just studio using VS2008 and have a quick question regarding databindings, i'm fairly handy with vb6 so this question really relates to good practice rather than actual coding.

Our backend is SQL 2005 express edition, my application connects to this database fine, it is planned that the database will have approximately 10-20 users.

The application is basically a sales based CMS and I wanted to know if I should simply use the databindings as they are or create recordsets and have the users work off them?

It is possible that the forms will have 4/5 databindings each as our company has five major departments all of whom need access to the data and will be modifying it for their own purposes.

Currently the CMS is in access and is starting to become a little slow, hence the upgrade to VB.net/SQL server.
I did not understand what do u mean by
"simply use the databindings as they are or create recordsets and have the users work off them?"
and finally how your 10-20 users are working now while it is an access database??? how are u syncronising data of 5 different departments???

Apr 7 '08 #2
marcf
17
Sorry was trying to do too many things while posting this morning:

Databindings: As I understand it in vs2008 you link a form to data using the databindings. As the example when a user does next record if I use databindings the binding control then goes off and retrieves the next record from the database(or is the data retained locally unless its out of date?)?

If I create a recordset when I open the form then when the user does a next record on that then the data already exists on the client machine and it doesnt need to go off and get the new data?

What I am trying to avoid is masses of network traffic, I only want the clients to retrieve records from the SQL backend when the data is out of date.

The current database is a split access database, the five departments retrieve data that is relevant to them using queries and filters. Each department has its own front end and all access the same backend data.

Hope this clears things up a bit, dont worry too much about the existing access database and the new .NET application is intended to replace it. As I am learning VB.NET/VS2008 on the fly I was hoping for some advice as to the most efficient way of doing it. The last thing I want is to spend a month creating this new system and it to be slow navigating/adding records.
Apr 7 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: akadiri4 | last post by:
I am trying to bind a textbox to a dataset using VB.Net but it doesn't seem to work Here is the code: DS = New DataSet DA = New SqlDataAdapter(StrSQL, StrConn) DA.Fill(DS, "StrSQL")...
0
by: Richard | last post by:
Hi, I am trying to bind a datetime picker control to a column in a DataView and I get this exception: "Object reference not set to an instance of an object." Pseudo code looks like this: ...
0
by: Kyle Rowe | last post by:
Binding binding = new Binding("Text", x, null); textBox1.DataBindings.Add(binding); I wrote the aboe code when the form loads, but when I change the variable x, the textbox does not display the...
0
by: Johann Blake | last post by:
I have a form with textboxes that are bound to a dataset. The dataset contains two tables and some of the textboxes use data from one table while other textboxes use data from the other table. I...
9
by: HAN(removethis)twister | last post by:
I've tried to create 11 textboxes as variables (not actually visible in the program, not in Windows Form Designer) and have set DataBindings to the text properties of the TextBoxes BUT according to...
6
by: Graham Blandford | last post by:
Hi all, I haven't received any replies to a previous question I posted regarding problems I was having with databound textboxes.. so I'll try a different angle... Can anyone point me in the...
2
by: C Glenn | last post by:
This is admitedly vague. But so is my understanding of the problem. I'm using this chunk of code: retControl.DataBindings.Add(ctrlBinding.PropertyName,DataSource,BindingField); This resolves...
0
by: XenReborn | last post by:
Ok this should be simple. I made a form, added a combobox (for selecting items to edit, not for updating fields), several textboxes, a few checkboxes etc. On formshow it connects to my database,...
1
by: janj | last post by:
Hi all, I'm having a problem binding two object properties to properties of another object. The code below works as expected when only one binding is added but doesn't work at all (still compiles)...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.