Dear Friends,
Here I've situation like that, I've to generate a table/gridview monthwise. If user select January, 2011 then my table/gridview will display at 1st row 1,2,...,31. The second row will display the DropDownList with items "Y","N","H". Now I can do up to this. But if user change the value of the dropdown to any of above listed three(Y/N/H) then I have to update it to the table/database with a particular column (ex. On the 7th day I would be changed "N" instead of "Y"). So How it would be done/possible?
It is not necessary to update it on each n every dynamically bind dropdowns, it ok with a single Update button.
"The records are columwise"
it's like...
1 2 3 4 5 6 7 8.....31
Y Y Y Y Y Y N Y......Y
Thanks in advanced.
Loading
bhavin prajapatiPosted Mar 28, 2011, 2:43 AM
I know that it's difficult, so I have made some trick for that,
First of all I've made a Temporary table as I required, and save the data to the Database.
At this time I have not bind anything to The GRID.
Now Once my data has been saved I can do anything....
I 'd taken a Grid & Bind the Data & using DataAccessKey I've made a Editable Grid to Edit/Update existing/created record of a particular month.
(The difference is Only that I have to Show a GRID Rowwise. like,
1 Mon Yes Edit
2 Tue Yes Edit
3 Wed No Edit
4 Thu Holiday Edit
md Nadeem AkhtarPosted Mar 28, 2011, 1:24 AM
this nadeem here, i am getting problem in , so please give me if u solved this problem,
bhavin prajapatiPosted Mar 21, 2011, 7:15 AM
it's like...
1 2 3 4 5 6 7 8.....31
Y Y Y Y Y Y N Y......Y
Suthish NairPosted Mar 21, 2011, 3:51 AM