Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
~211 People Reached
Favorite Forums
[b]Split from - [url]http://www.daniweb.com/forums/thread94883.html[/url] [/b] hi i have the button click event [code] protected void Button1_Click(object sender, EventArgs e) { SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=D:\Postmyadd\App_Data\postmyad.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"; myConn.Open(); string strqry = "Insert into advertisements values (" + TextBox1.Text +")"; SqlCommand myCom = new SqlCommand(strqry, myConn); … |