i have table in databse named customer_details where i stored details of customer with image.
i wana show these details(withimage) on lable when customer login with username and password.(with help of session)
1. What do you mean by help of session?
2. Do you have an Id field in table? Please provide the columns and table name
filelds in table is.
1.cust_name
2.cust_nameid
3.cust_uname
4.cust_pass
5.cust_mobile
6.cust_address
7.cust_image
Meaning Of session is when customere login with there username and password all details stored in session variable and printed on lable and image into an imagebox.
You can fire the following query
select * from customers where cust_uname = @uname
A complete example of databinding label is here
http://www.aspsnippets.com/Articles/DataBinding-DropDownList-Label-and-Textbox-Controls-in-ASP.Net.aspx
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.