General information
Category:
The Mere Mortals .NET Framework
Thank you Rip,
I played with this.BindBack(). It works. And.... Thanx for the code example.
Regards,
Neil
>From any method in a mmBusinessWebPage you can type this.BindBack() to invoke the method.
>
>>Boy... it sure sounds like it. How do you activate the method from within a method on the form? What is the dril;down to the method?
>>
>
>
>Here's some abbrevieated code I worte a few months ago that handled insert and updates into vfp tables. I wasn't using MM at the time.
>
>string ConStr = "Provider=VFPOLEDB.1;Data Source=" + TableDir + ";Mode=ReadWrite|" +
> ";Extended Properties=\"\";User ID=\"\";Password=\"\";Mask Password=False" +
> ";Cache Authentication=False;Encrypt Password=False;Collating Sequence=MACHINE;DS" +
> "N=\"\"";
>
>OleDbConnection conn = new OleDbConnection(ConStr);
>conn.Open();
>
>OleDbCommand InsertCommand;
>OleDbCommand UpdateCommand;
>string InsertSQL = ""; // create insert statement
>string UpdateSql = ""; // create update statement
>InsertCommand = new OleDbCommand(InsertSQL,conn);
>InsertCommand.ExecuteNonQuery();
>
>UpdateCommand = new OleDbCommand(UpdateSql,conn);
>UpdateCommand.ExecuteNonQuery();
>
>conn.Close();
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only