سلام
من می خواستم در asp.net یک sql command تو در تو بنویسم مثلا
s="select *from entekhab where C#=(select C# from pish where pish1=@h)"
cmd = New SqlCommand(s, con)
cmd.Parameters.Add("@h", TextBox2.Text)
dr = cmd.ExecuteReader
dr.Read()
فکر میکنم رشته s اشتباه باشه