Rama Tito
asked on
Function sms_rpt.IDENT_CURRENT does not exit.
Hi i do encounter is error "Function sms_rpt.IDENT_CURRENT does not exit."
private void LastRowNo()
{
InitialRecord = LastRecord;
string cmd = "Select IDENT_CURRENT('mastersmsdb ')";
myconint.Open();
MySqlCommand checkcmd = new MySqlCommand(cmd, myconint);
LastRecord = Convert.ToInt32(checkcmd.E xecuteScal ar()); // <--- error point over here.
if (myconint.State == ConnectionState.Open)
myconint.Close();
lblSSNewRecord.Text = "New Incoming Record :" + Convert.ToString(LastRecor d - InitialRecord );
lblSSExistingRecord.Text = "Existing Record : " + Convert.ToString(InitialRe cord );
private void LastRowNo()
{
InitialRecord = LastRecord;
string cmd = "Select IDENT_CURRENT('mastersmsdb
myconint.Open();
MySqlCommand checkcmd = new MySqlCommand(cmd, myconint);
LastRecord = Convert.ToInt32(checkcmd.E
if (myconint.State == ConnectionState.Open)
myconint.Close();
lblSSNewRecord.Text = "New Incoming Record :" + Convert.ToString(LastRecor
lblSSExistingRecord.Text = "Existing Record : " + Convert.ToString(InitialRe
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.