Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 516.4k

How to pass 2 parameters

Aug 28 2024 8:29 AM

Hi

  I want to pass these 2 fields. How i should pass in below code to User Control. Please help me

Int32 recno = Convert.ToInt32(Common.CommonFunction.EncodePasswordToBase64(row["docno"].ToString()));
string sp = Common.CommonFunction.EncodePasswordToBase64("sp_Inv");
string deleteAttributes = Status == "Blocked" ? "style='pointer-events: none; opacity: 0.5;' onclick='return false;'" : "data-toggle='modal' data-target='#modal_Delete' onclick='BindData(this);'";
htmlTable.Append($"<a id='btnDel' class='list-icons-item text-danger-600' {deleteAttributes}><i class='icon-bin mr-1'></i></a>");

Thanks

 


Answers (6)