Click here to Skip to main content
15,893,508 members

Comments by Ankita M (Top 23 by date)

Ankita M 12-Apr-14 2:16am View    
Steps:

Add report File
Add your Dataset file
Using Reports Create wizards
Initially select only 2 filed fields that is student name and suppose roll no
Then using group by ...group by student name
and in detail section select roll no
then your student name will come in group header section and roll no will be in detail section
then drag that roll no filed in group section ...similary what fields you want to add that drag into to group header section
not in detail section
then it will come in same page
Ankita M 11-Apr-14 6:13am View    
int CurrentMonth = Convert.ToInt32(DateTime.Today.Month);
int CurrentDate = Convert.ToInt32(DateTime.Now.Day);
int CurrentYear = Convert.ToInt32(DateTime.Now.Year);

but it is not working correctly
if my date is between 1-4 then also it is not allowing me to enter data
if ( !(CurrentMonth == Convert.ToInt32(obj.Challan_Date.Month) && (CurrentDate <= 5) && (CurrentYear == Convert.ToInt32(obj.Challan_Date.Year) )))
{
throw new DataException("Previous Months challan can not be deleted after 5th of every month."); // except User having special rights (Removed at behest of Malek)
}
Ankita M 10-Apr-14 5:22am View    
can you please explain with eg.
Ankita M 8-Apr-14 7:25am View    
thank u...it was my mistake...solved my problem
Ankita M 8-Apr-14 4:28am View    
No this is not giving me correct output

when the differnce is 16 min and 23 sec
it is showing me 16.383333