G
Guest
Hi,
How can I fill my dataset with a call to an SP created in sybase 11.5? The
SP queries several tables and dumps the resultset in a #temp_table. What
would I need to do in my SP to transfer that data to ado.net?
This is my code for calling the SP:
da_SP.SelectCommand = cmd_callSP;
cmd_callSP.CommandText = "{call proc_generate_webAds_interface}";
cmd_callSP.CommandType = CommandType.StoredProcedure;
cmd_callSP.Connection = serverConn;
da_SP.Fill(ds_SP); //it executes the SP but the dataset remains empty.
Any help is appreciated.
Thanks.
How can I fill my dataset with a call to an SP created in sybase 11.5? The
SP queries several tables and dumps the resultset in a #temp_table. What
would I need to do in my SP to transfer that data to ado.net?
This is my code for calling the SP:
da_SP.SelectCommand = cmd_callSP;
cmd_callSP.CommandText = "{call proc_generate_webAds_interface}";
cmd_callSP.CommandType = CommandType.StoredProcedure;
cmd_callSP.Connection = serverConn;
da_SP.Fill(ds_SP); //it executes the SP but the dataset remains empty.
Any help is appreciated.
Thanks.