New Message on dotNET User Group Hyd

Help in adding columm in Datagrid after doing operation in class

Reply
  Reply to Sender   Recommend Message 2 in Discussion
From: Roopesh

Hi,

The only solution for this after getting the data from the database into the dataset.

1] Add a new column to the table within the dataset.
2] Loop thru (different alternates can be possible) all the rows and update the value into the new column
3] Now bind the dataset to the grid.

Thanks
-Roopesh


From: "dkumar3016" <[EMAIL PROTECTED]>
Reply-To: "dotNET User Group Hyd" <[email protected]>
To: [email protected]
Subject: Help in adding columm in Datagrid after doing operation in class
Date: Mon, 5 Jun 2006 22:33:33 -0700

<META content="Microsoft SafeHTML" name=Generator> <STYLE> ThmFgColumnHeader, A.FrameLink, A.HeaderLink, A.FooterLink, A.LgtCmd, A.MSNLink {color:#FFFFFF;} ThmFgTitleLightBk {color:#FF6600;} ThmFgSmallLight {color:#ff0000;} ThmFgNavLink, A.NavLink, A.ChildLink:hover {color:#666699;} ThmFgInactiveText, A.SystemLink {color:#666666;} ThmFgFrameTitle {color:#FFFFCC;} ThmFgMiscText, A.Cat, A.SubCat {color:#336699;} ThmFgCommand, A.Command, A.LargeCommand, A.MsgLink {color:#003366;} ThmFgHeader {color:#333333;} ThmFgDivider {color:#CCCCCC;} ThmBgStandard {background-color:#FFFFFF;} ThmBgUnknown1 {background-color:#FF6600;} ThmBgFraming {background-color:#666699;} ThmBgUnknown2 {background-color:#666666;} ThmBgHighlightDark {background-color:#FFFFCC;} ThmBgHighlightLight, #idToolbar, #tbContents {background-color:#FFFFE8;} ThmBgTitleDarkBk {background-color:#F1F1F1;} ThmBgAlternate {background-color:#ECF1F6;} ThmBgUnknown3 {background-color:#CCCCFF;} ThmBgDivider {background-color:#CCCCCC;} ThmBgHeader {background-color:#9999CC;} ThmBgLinks {background-color:#8696C9;} ThmBgSharkBar {background-color:#8696C9;} ThmBgGlobalNick {background-color:#9394A9;} calfgndcolor {color:#E00505;} calbgndcolor {color:#E00505;} </STYLE>
New Message on dotNET User Group Hyd

Help in adding columm in Datagrid after doing operation in class

Reply
  Reply to Sender   Recommend Message 1 in Discussion
From: dkumar3016

 how we add columm i n datagrid as we have some columm which we have not in table.
how we can add columm in datagrid for this.Please help me about this situtaion
suppose we have

table in our database

Amounttable

amount       Date      Schema 
12000    12/12/2005     1 
15000   03/04/2006      2
15000   06/05/2006      3

 

Ratetable

Schema               Rate 
1                          12
2                           5 
3                           8

create a interstclass in which write the code for this

if no of days is less  than  90 days from current date interest is zero.
if no of days is greater than 90 days from current date calculate interest.
For schema 1,2 calculate  Simple Interest.
For schema 3 calculate compound interset.


and show the result in  webform data grid which consist of
amout  date  schema  noofdays  Rate  Interest

Don't modify the table in Database



View other groups in this category.


To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.


View other groups in this category.


To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to