Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
how to fill Ultragrid throw select query with join statment
posted

i have two table in data source and i need to make a selction with join statment

like:

"SELECT TOP 1000 [TCBatchNo] = tbw.[TCBatchNo],[ModelCode]= wsd.[ModelCode] "

 

+

"FROM [WorkSetDetail] wsd JOIN  [BatchWorkSets] tbw "

+

"ON wsd.sonumber = tbw.sonumber AND wsd.sotype = tbw.sotype AND wsd.soline = tbw.soline "

"WHERE tbw.[TCBatchNo] ="textbox.text;

 

and fill the UltraGrid with the result