Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing Textbox.Text to DataSet without Saving to DataSt
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00843177
Message ID:
00844579
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform