When inserting record in MySQL using dataadpater, the primary key is not availabe after adpater.update. The key is autogen key How to get the back the primary key? OnRowupdateEvent?
G
geossl
@geossl
Posts
-
In MySQL, get back the autogen primary key using adapter after insert (adapter update)? -
Digital signature in browser using asp.net (IE)Dear All, I can send the hash of a pdf file to the browser in asp.net using hidden field. However, how can I sign this digest data in the browser? Using Capicom or .NET framework? or ActiveX?
-
TryEnter always return true in Timer EventDear All, That's strange that when I use TryEnter in Timer event which triggers every 1 sec, the TryEnter() always returns true. Why there is such an error? public partial class Form1 : Form { private object BlockingObj = new object(); private void timer1_Tick(object sender, EventArgs e) { bool ret = System.Threading.Monitor.TryEnter(BlockingObj, 1); if (ret){ try { DialogResult result = MessageBox.Show("test", "", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); } finally { System.Threading.Monitor.Exit(BlockingObj); } } } }