Community discussion forum

A database question..

  • 11 months ago
    How can I add a text -when a user writes it-in a textbox to a field in the asp database???
    Post was edited on 17/12/2008 13:47:13 Report abuse
  • 11 months ago
    c'omon please help me.... i'm working on asp.net with c#... I have in a page, a text box that the user must write in it his name... When he presses "submit"... the name must be stored in the name field in a table in the database that was created in asp.net.... How can i do that?
  • 11 months ago
    System.Data.SqlClient.SqlConnection connection = new System.Data.SqlClient.SqlConnection("ConnectoinString Here"); connection.Open(); System.Data.SqlClient.SqlCommand command = new System.Data.SqlClient.SqlCommand("INSERT INTO YourTable(Name) VALUES(@name)", connection); command.Parameters.Add("@name", DbType.String, namevalue); command.ExecuteNonQuery(); Put the above code behind the click event of submit button
  • 11 months ago
    Dear Sir/Madam, I am Sukumar. Now i join with u. I designed one project. I want to display print datas. I used datareport but one problem. first time i select and click button then print a data in data report, then after another one select and click a button then didn't print datas in datareport. previous only printed. I used backend access table. Please help me Thanking You, Regards, R. Sukumar 9751984166
  • 11 months ago
    Dear Sir/Madam, I am Sukumar. Now i join with u. I designed one project. I want to display print datas. I used datareport but one problem. first time i select and click button then print a data in data report, then after another one select and click a button then didn't print datas in datareport. previous only printed. I used backend access table. Please help me Thanking You, Regards, R. Sukumar 9751984166

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback