Click here to Skip to main content
15,885,856 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in run mode Datagridview as follows;

Date Session Course Faculty Code
18/3/2013 1 REO GS

in the database i saved the above record.


Suppose in the above records any changes i made that data should be saved in the new column.

for the above record i made changes from 1 REO GS to 2 ASM VB.

the above changes should be saved in the new column as below i mentioned.

Date Session Course Faculty Code Period Subject Name

18/3/2013 2 ASM VB



for that how can i do using csharp.

Regards,

Narasiman P.
Posted
Comments
_Maxxx_ 19-Mar-13 0:34am    
Your question isn't clear. You have added two columns (Period and Subject Name) but not populated them with any values - you need to explain better what you want to achieve
Kuthuparakkal 19-Mar-13 0:43am    
Not clear

1 solution

You have to save changes as new record in database and get result again, i think it is better to display these records as rows because you have to convert rows into columns each time.But if it is mandatory then you can use Pivot table.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900