By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,731 Members | 1,129 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,731 IT Pros & Developers. It's quick & easy.

dynamic binding vs. static binding

P: 1
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
Share this Question
Share on Google+
2 Replies


gpraghuram
Expert 100+
P: 1,275
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

P: 2
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

Post your reply

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