473,473 Members | 1,524 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

dynamic binding vs. static binding

1 New Member
Hi: all
I understand the difference between dynamic binding and static binding. But
I just wonder what is the point to make the distinction between the dynamic
binding and static binding. For example, in c, if a function pointer is used.
say something like that
float (*pt2Func)(float, float);
so the compiler doesn't know what is pt2Func to be called until at run-time.
Is it dynamic binding?
Thanks.
Aug 9 '07 #1
2 9650
gpraghuram
1,275 Recognized Expert Top Contributor
Hi: all
I understand the difference between dynamic binding and static binding. But
I just wonder what is the point to make the distinction between the dynamic
binding and static binding. For example, in c, if a function pointer is used.
say something like that
float (*pt2Func)(float, float);
so the compiler doesn't know what is pt2Func to be called until at run-time.
Is it dynamic binding?
Thanks.
Yes,
This is also late-binding.
Raghuram
Aug 9 '07 #2
qtopsoft
2 New Member
Hi ,
I have a Form with a command button in header part and 3 text fields in detail part. I am using following code to bind a SQL Server table data to these controls. the problem is that it opens record in read only mode, i want to open record in dynamic mode. Can anybody please help. Moreover, what change should i made to bind dynamic recordset to a sub form??

Dim cn As New ADODB.Connection
Dim ars As New ADODB.Recordset

cn.ConnectionString = "Provider=SQLOLEDB.1;Password=qk;Persist Security Info=True;User ID=sa;Initial Catalog=PKG;Data Source=AED0293\SQLEXPRESS"
cn.Open
ars.Open "Select * from tbllist where contid = 'CNCU5506597'", cn, adOpenKeyset, adLockOptimistic
Set Me.Recordset = ars
ars.Close
Set ars = Nothing
Apr 13 '10 #3

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

Similar topics

2
by: festiv | last post by:
Hi there, I want to learn how the compiler is implementing the dynamic binding. where can i read about this subject (the hole process). thanks.
7
by: Ford Desperado | last post by:
there is an application which issues a lot of simple dynamic queries against an Oracle database. If CURSOR_SHARING is set to FORCE, Oracle treats dynamic queries as static ones, for instance...
9
by: Gibby Koldenhof | last post by:
Hiya, Terrible subject but I haven't got a better term at the moment. I've been building up my own library of functionality (all nice conforming ISO C) for over 6 years and decided to adopt a...
1
by: jsever05 | last post by:
I am trying to build a reasonably large table (maybe 50 rows x 12 columns) dynamically on the server-side using the Table(), TableRow(), and TableCell() objects provided by ASP.NET. For various...
4
by: Larry Grady | last post by:
Anyone up for a challenge? I've been struggling with this for a few days and was hoping someone could help me. Pouring through all the messageboards I just can't find the solution. We have a...
5
by: cwertman | last post by:
I have a question regarding dynamic properties. I have an Object say Account --Id --Prefix --Fname --Lname --Suffix
4
by: Gregory Gadow | last post by:
If there is a more appropriate forum, please let me know and I will post there. Our field reps can go on to our website and select from several sets of data to create the address we then provide...
3
by: SPECTACULAR | last post by:
Hi all. I have a question here.. what kind of scoping does C++ use? and what kind does Smalltalk use? I know smalltalk is a little bit old .. but any help would be appreciated.
26
by: Aaron \Castironpi\ Brady | last post by:
Hello all, To me, this is a somewhat unintuitive behavior. I want to discuss the parts of it I don't understand. .... f= lambda: n .... 9 9
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
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...
1
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,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.