Naidu

Naidu

  • NA
  • 11
  • 8.8k

how to assign values to controls in static method.

Jul 27 2013 5:41 AM
Hi Guys,

I have webmethod which is static and i want to assign the value to text box using webmehod as shown below:

public static void Test(DataRow dr)
{
lblrollno.Text = Convert.ToString(dr[0]);
lblname.Text = Convert.ToString(1);
.
.
.
.
.
.
.
.
.
.
}



Answers (1)