1
Answer

how to assign values to controls in static method.

Ask a question
Naidu

Naidu

11y
1.6k
1
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)