c# - Populate textboxes from SQL Datasource Stored Procedure -


i have database has data first name, last name, address, etc. able use stored procedure created. here stored procedure.

alter procedure edituser @uid int select * contacts userid=@uid 

now on page in visual studio create sqldatasource, link stored procedure, , how populate text boxes data has retrieved? not sure if should use reader , loop maybe, im not sure can help.

thank you

try using detailsview or formview , bind columns appropriate display controls.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -