المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : sql error



C# Programming
05-05-2009, 04:13 AM
Hello,

I use dataadapter to fill datagrid (using datatable).
dataAdapter =

new SqlDataAdapter(selectcommand3, connectionstring);

But my sql query command is too long. because i receive an error that sqlexception was unhandled (incorrect syntax near '='). But when i write another much shorter sql query it works fine. What can i do to solve it?