Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Does anybody know how to merge two columns of data from stored procedure?

$
0
0

Hi, I have a SQL stored precedure which returns the two columns of data such as:

ProductID         Description

12234               Computer hard drive

......                    ......

Now, since my dropdown list field need to populate this data source, but I need ProductID + Description both showing on the dropdownlist for user selection.  Does anybody know how to make it work in a simple way or need to create an object of datatable? Appreciate any example codes. thanks a lot,

Modify this storedprocedure is not an option since I do not have access to do it.


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>