471,310 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

Dataview returns 0 rows


My dataview is returning 0 rows however I know there are rows in the
dataset with the matching data. Do you see anything wrong with my code. Can
you suggest a way to debug?



public DataView BindCodeDropDown()
SqlConnection oConn = new SqlConnection(DBConnectionString);
SqlDataAdapter dadCode = new SqlDataAdapter("sp_web_835_ddl_code",oConn)
DataSet dstCode = new DataSet();
// return dstCode;

DataView CodeView = new DataView(dstCode.Tables["CodeTables"]);
return CodeView;

Message posted via DotNetMonster.com
Jul 21 '05 #1
0 897

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Raymond Lewallen | last post: by
20 posts views Thread by Mark | last post: by
4 posts views Thread by Aaron Smith | last post: by
7 posts views Thread by Bernie Hunt | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.