I would suggest you to give some time to learn and understand the basics.
i want the value of the text box should be filled automatically according to the value of another text box........
The simplest option is to enable
AutoPostBack
of the TextBox and handle it's
TextChanged
event.
The code will be something like:
<asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True" ontextchanged="TextBox1_TextChanged"></asp:TextBox>
And in the code behind, it will be like:
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
}
This method is recommended if you need some database interaction or compulsory server side processing.
If the values can be processed on the client side, I recommend using JavaScript to do the same because this avoids a page post back.
The method I suggested above can also be done using AJAX.
Hope this helps!