Peace upon u all
I wanna retrieve data from sql server db to form control
I wanna what is the correct sentence I should put :
i made datareader and wanna pass data
Text2.Value = dr[LocalNo];
User Profile
Collapse
-
Retrieve data from sql server db to form controls
-
Thanks sir 4 reply and inshallah I will do so... -
-
Display user data from db after he logins
Peace upon u all
The senario is as following:
1-The user should 1st login(The login part at master page)
2-phone, mobile, country, city from customer table will be displayed at form as initial value.
What I did:
I made stored procedure to retrieve these data and the parameter of stored was session["id"]. when I tested my code I noted that the session...Leave a comment:
-
Peace upon u
Yes I use asp.net.
I tried what u told me but still the same problem happen.
Thanks...Leave a comment:
-
How to retrieve and pass data from sql server db to form controls
Peace upon u all
I wanna know how to retrieve data from db and pass it to form controls (textboxes and dropdownlists). -
Peace upon u
I put login at master page, I wanna user when login , his data will retrieved from db according to his user name at my form.
at 1st time of loading page the session["id"] returned null and that is normal.
I traced the code and note that after 2nd page load I can put my code.
I tried to make counter to count times of loading but at every time of load the counter is reset to its initial value.
...Leave a comment:
-
-
How to retrieve data from sql server db to form controls?
Peace upon u all
I wanna know how to retrieve data from db and pass it to form controls.
No activity results to display
Show More
Leave a comment: