CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Nov 2005
    Posts
    66

    Exclamation Multiline Textbox Using Query......

    Hi All,

    How to save multiline Textbox Using SQL Query .am saving using following SQL

    <Code> = <\code>
    SQL = " insert into Sitemaster (Srno,Site_name,Site_id,Bsc_id,Site_stru,Hub,Site_city,Dist_hq,Site_add )" & " values (" & txtsrno & ","
    SQL = SQL & "'" & txtsitename.Text & "','" & txtsiteid.Text & "','" & txtbscid.Text & "','" & txtsitestru.Text & "',"
    SQL = SQL & "'" & txthub.Text & "','" & txtsitecity.Text & "','" & txthq.Text & "','" & txtsiteadd.Text & "')"

    Txtsiteadd will multiline textbox
    but its saving only First line
    while other lines are not saving

    Appericiated Help

    Thanks
    Last edited by rajeshidea; January 17th, 2006 at 02:18 AM. Reason: spellmistake

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured