Show query output within a C# Website textbox

Asked

Viewed 80 times

0

I have a little doubt about showing a query.

On my website I want to show the result of a query.

For example: Number of employees: [and here appear the total]

I’ve got the comic book connections made:

protected void ligabd2()
{
    adpt1 = new tb_trabalhadorTableAdapter(); 
    tabtrab = new DataSet.tb_trabalhadorDataTable();
    adpt1.Filltrabalhador(tabtrab);
}
  • Do you want to show where? In what way? There are many possibilities of interpretation for your question, try to be a little more specific

  • Show only on webform. I’m sorry as I’m not seeing so many shapes I wasn’t so precise .

  • And what’s the problem? Is there already somewhere you do the query, defines the criteria, etc..?

  • For example a textbox the query is simple. is to show the number of Rows of the worker table .

  • And you do not know how to create a textbox to present the result? This is the question?

  • Yes that’s my question

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.