PDA

Click to See Complete Forum and Search --> : need help


khalik_ash
Jan 15th, 2003, 05:06 AM
hi

i dont see much happen in this forum... but i give a try hoping some will help me....

as i am learning asp.net i may be sound silly to u gurus...

i have develop a small page.. for emp data entry

empid ---- text box
emname ---- text box
department --- dropdownlist
desigantion --- dropdownlist
salary ---- text box

submit ---- button
search ---- button

using ispostback in form load i am loading the department --- dropdownlist


the designation contain are loaded when the department is loaded in department --- dropdownlist itm changed event

and when search button clciked..
the data is load in form load event

now if i change the department --- dropdownlist the page is loaded and it search is doen and data is loaded where only the desigantion should load

please help me out

rdove
Jan 16th, 2003, 03:28 AM
now if i change the department --- dropdownlist the page is loaded and it search is doen and data is loaded where only the desigantion should load

I followed you all the way to this point. Can you be more clear?

khalik_ash
Jan 16th, 2003, 11:55 PM
thanks a lot for looking into but i have solved it... i was trying to write every thing in page load event.. now i have changed to the control...


now i have a new one can any one help me out

ok i have connection command datareader as module variables and i have 2 pages now i need to share these variable across the pages

i was able to share the datareader works fine...
but when i try to open new data reader with the connection i get a error already a datareader is open with this connection... is it so only one datareader acn be open with the connection :confused:

basicaly i am a vb programmer... i am trying to do the same..
a common connection ,datareader and command time to time set with diffrent thing.. trying to have few objects... is it possible if so how...


make a point i am new to .net