Sunday, August 11, 2013

'System.Web.UI.WebControls.TextBox' does not contain a definition for 'Value' and no extension method 'Value' accepting a first argument of type 'System.Web.UI.WebControls.TextBox' could be found (are you missing a using directive or an assembly reference?)

Sol:You have take a textbox control in page but assign textbox.value in cs code. Use Textbox.Text.

No comments:

Post a Comment