Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

jenga db connection

  try
            {
                var db = Kt.Db;
                Application.Run(new FrmMain());
            }
            catch (Exception err)
            {
                if (MessageBox.Show(err.Message + ". Click Retry to configure.", Application.ProductName, MessageBoxButtons.RetryCancel) == DialogResult.Retry)
                {
                    Kimtoo.DbManager.Connections.Show();
                    goto db;
                }
                else
                {
                    Application.Exit();
                }
            }
 
PREVIOUS NEXT
Tagged: #jenga #db #connection
ADD COMMENT
Topic
Name
1+4 =