Simple automation in C# web appliction

Daredavil 1 Reputation point
2020-12-23T07:02:54.73+00:00

Hello, could somebody help us in following:

1) There is an WEB application in which via Search text box, we filter unique codes in column (ColumnName) in a form e.g., 12345

2) Upon having displayed found row of data from the database:

3) We must select that filtered row of data by checking check box

4) Final step is to click button which calls certain procedure (Get Largest number in column "Column Name ORDER")

Namely, after the first filtered code, we must manually select(via checking check box) filtered row and after that click on button.....that runs function get Largest number. Outcome of this are values in column "Oreder" in format: 1,2,3,4,5,6,etc.....

I.e., like in EXCEL function FILL IN, with step = 1

Please, what would be the way to automate the second and third step in order to avoid them completely i.e.

To manually type unique code in Search box and to have the rest of two steps to be performed automatically, i.e, upon having filtered certain row from database, to have steps SELECT AND PUSH BUTTON EVENT automatically performed.

Because, there are around 1000 different code numbers and, manual actions take too much of time. We need to speed it up......

namespace BallotLottery.UI
{

partial class ShowPartyVuk2010GENTable
: BaseApplicationPage
// Code-behind class for the ShowPartyVuk2010GENTable page.
// Place your customizations in Section 1. Do not modify Section 2.
{

  #region "Section 1: Place your customizations here."

  public ShowPartyVuk2010GENTable()
    {
        this.Initialize();
    }

    public void LoadData()
    {
        // LoadData reads database data and assigns it to UI controls.
        // Customize by adding code before or after the call to LoadData_Base()
        // or replace the call to LoadData_Base().
        LoadData_Base();

    }

  public override void SaveData()
  {
      this.SaveData_Base();
  }          

region "Ajax Functions"

    [System.Web.Services.WebMethod()]
    public static Object[] GetRecordFieldValue(string tableName , 
                                                string recordID , 
                                                string columnName, 
                                                string title, 
                                                bool persist, 
                                                int popupWindowHeight, 
                                                int popupWindowWidth, 
                                                bool popupWindowScrollBar)
    {
        // GetRecordFieldValue gets the pop up window content from the column specified by
        // columnName in the record specified by the recordID in data base table specified by tableName.
        // Customize by adding code before or after the call to  GetRecordFieldValue_Base()
        // or replace the call to  GetRecordFieldValue_Base().

        return GetRecordFieldValue_Base(tableName, recordID, columnName, title, persist, popupWindowHeight, popupWindowWidth, popupWindowScrollBar);
    }

    [System.Web.Services.WebMethod()]
    public static object[] GetImage(string tableName,
                                    string recordID, 
                                    string columnName, 
                                    string title, 
                                    bool persist, 
                                    int popupWindowHeight, 
                                    int popupWindowWidth, 
                                    bool popupWindowScrollBar)
    {
        // GetImage gets the Image url for the image in the column "columnName" and
        // in the record specified by recordID in data base table specified by tableName.
        // Customize by adding code before or after the call to  GetImage_Base()
        // or replace the call to  GetImage_Base().
        return GetImage_Base(tableName, recordID, columnName, title, persist, popupWindowHeight, popupWindowWidth, popupWindowScrollBar);
    }


  protected override void BasePage_PreRender(object sender, EventArgs e)
  {
      base.BasePage_PreRender(sender, e);
      Base_RegisterPostback();
  }


  #endregion

  // Page Event Handlers - buttons, sort, links
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,249 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,223 questions
{count} votes