[Message Deleted]
-
to get text from a textbox you just call textbox.text. But i'm not understanding, you have this code in the "Page.Load" event, how can anyone type in a contact in the textbox if this code executes when you first visit the page?
Don't be overcome by evil, but overcome evil with good
-
1 - ask ASP.NET questions in the ASP.NET forum 2 - just use the text property, obviously 3 - have you considered using better variable names than gridview1 ? 4 - have you considered not putting database code in your presentation layer ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )