Hello all,
 
   Sorry for the off-topic discussion.
But any one who knows VB can answer me personally.
 
I have 2 forms.
In the first form, through the program, i call a function connection() which is as follows ->
 
{
Dim strconn As String
strconn = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=Santosh;Password=santosh;Initial Catalog=master;Data Source=anamika"
objconn.ConnectionString = strconn
objconn.Open
}
 
and in the second form, i have 2 text boxes (from date and to date ) and a grid
and as soon as the focus is left from todate, i want to display the details from customer table to the grid.
 
How to achieve this ??
 
Thanks and regards,
santosh

Reply via email to