Pinku

Pinku

  • 1.4k
  • 302
  • 45.2k

How send data from .cs file to .ascx.vb file in vb.net

Oct 4 2019 12:19 AM
public bool IsQuotaAvailable(Neo oNeo, string request)
{
try
{
EdgeQuotaCheckResponse oresponse = MakeOAuthPostQuotacheck(oNeo, GetQuotaCheckURI(), request);
if (oresponse != null)
{
foreach (RemainingQuota quota in oresponse.Limits)
{
if (quota.limit_type.ToLower() == "daily")
{
DailyAvailableQuota = quota.remaining_quota;
}
else if (quota.limit_type.ToLower() == "monthly")
{
MonthlyAvailableQuota = quota.remaining_quota;
}
}
 
 
this is a .cs file. iwa nt to send the DailyAvailableQuota data to an .ascx.vb file. so that i can able to show this data in UI

Answers (1)