Information générale
Catégorie:
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();
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement