ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

استفاده از Textbox در دستورات Sql وی بی 6

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET
View previous topic :: View next topic  
Author Message
park
مهمون يكي دو روزه


Joined: 24 Dec 2008
Posts: 2

PostPosted: Wed Dec 24, 2008 2:08 pm    Post subject: استفاده از Textbox در دستورات Sql وی بی 6 Reply with quote

با سلام و عرض خسته نباشی خدمت دوستان عزیز
می خواهم در وی بی 6 در یک Textbox مقداری را دریافت کنم و مقدار موجود در Textbox را در دستورات Sql جستجو نمایم.چگونه می توانم این کار را انجام دهم؟
به طو مثال این جور کاری
data1.recordsource="select name from table1 where name=text1.text
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Sat Dec 27, 2008 2:07 pm    Post subject: Reply with quote

data1.recordsource="select name from table1 where name='" & text1 & "'"
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum