Author: shahnilang | Posted on: 12/25/2010 10:11:31 AM | Views : 427

i m beginer. i ve code in c# for registration page but i got error like:CS1061: 'System.Web.UI.WebControls.TextBox' does not contain a definition for 'text' and no extension method 'text' accepting a first argument of type 'System.Web.UI.WebControls.TextBox' could be found (are you missing a using directive or an assembly reference?) 
but all the field i ve tacken as textbox

code behind file is::


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

public partial class Reg : System.Web.UI.Page
{
public string GetConnectionString()
{
re ...

Go to the complete details ...