Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HEllo Team,

I have the code as follow:
XML
/// <summary>
       /// Get DisplayImageCountForDEO List.
       /// </summary>
       /// <param name ="DisplayImageCountForDEO">The Display Image Count For DEO entity.</param>
       /// <returns>The Result of List</returns>
       [WebMethod]
       public static string GetDisplayImageCountForDEO()
       {
           string errorMessage = string.Empty;
           Result result = null;
           try
           {
               DisplayImageCountForDEOList = qbpoController.GetImageRecordCountForEachDEO().EntityCollection.ConvertToJsonString();
               if (result != null && result.Error.GetCount() > 0)
               {
                   errorMessage = result.Error.GetAll();
               }
           }
           catch (Exception exception)
           {
               errorMessage = string.Format("Technical error ocurred. {0}. Please contact to system administrator.", exception.Message);
           }

           return DisplayImageCountForDEOList;
       }


I ASPX page i have as follow

XML
<div>
        <table class="style1" border="1">
            <tr>
                <td colspan="2" style="text-align: center">
                    RECORD COUNT FOR EACH DATA ENTRY OPERATOR
                </td>
            </tr>
            <tr>
                <td>
                    <label id="DEOName">
                        DataEntryOperatorsNetworkID</label>
                </td>
                <td>
                    <label id="DEOCount">
                        DataEntryOperatorsCount</label>
                </td>
            </tr>
        </table>
    </div>


I want to display the Record and Count in ASPX page. If i put the textbox ,How should i do this??
Kindly help.

Thanks
Harshal
Posted
Updated 20-Feb-14 1:16am
v2
Comments
ZurdoDev 20-Feb-14 8:24am    
Where are you stuck?
R Harshal 20-Feb-14 8:31am    
I am getting the count but i forget how to display in page.I have the label on ASPX page .So i want to show the count in front of label .How to do that ...?
V5709 21-Feb-14 0:19am    
from where you are calling that web method? from design or from code behind of aspx page?
R Harshal 21-Feb-14 4:19am    
from code behind of aspx page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900