Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing Textbox.Text to DataSet without Saving to DataSt
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00843177
Message ID:
00844579
Vues:
26
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();
Rip Ryness
International Falls, MN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform