Click here to Skip to main content
16,017,261 members

Comments by Darshan E Ksheerasagar (Top 10 by date)

Darshan E Ksheerasagar 11-Apr-17 7:02am View    
Use Ajax Timer
Darshan E Ksheerasagar 10-Apr-17 2:02am View    
Thank You Sir
Darshan E Ksheerasagar 24-Nov-16 2:39am View    
--------------------------------------------------------------------------------
Serial Number Last Name First Name Salary Mobile No.
--------------------------------------------------------------------------------
1 Kulkarni Ramesh 1,500.00 9,48,56,21,025.00
2 Rani Suresh 2,500.00 8,95,10,25,469.00
--------------------------------------------------------------------------------


---------------------------------------------------------------
Serial Number Last Name First Name Salary
---------------------------------------------------------------
1 Kulkarni Ramesh 1,500.00
2 Rani Suresh 2,500.00
---------------------------------------------------------------

First Table is my Original table Second is want i want my result .
Darshan E Ksheerasagar 24-Oct-16 6:34am View    
As you told i changed my code to Like this below

public partial class A1
{
public A1()
{
AA = new B1();
}

private B1 objB1;
public B1 AA
{
get
{
return this.objB1;
}
set
{
this.objB1 = value;
}
}

}

public partial class B1
{
public B1()
{
BB = new C1 { };
}

private C1 objC1;
public C1 BB
{
get
{
return this.objC1;
}
set
{
this.objC1 = value;
}
}

}

public partial class C1
{
public C1()
{
CC = new D1();
}

private D1 objD1;
public D1 CC
{
get
{
return this.objD1;
}
set
{
this.objD1 = value;
}
}

}

public partial class D1
{
public D1()
{
//DD = new E1();
}

private E1[] objE1;
public E1[] DD
{
get
{
return this.objE1;
}
set
{
this.objE1 = value;
}
}

}

public partial class E1
{
private string ValE1;
public string EE
{
get
{
return this.ValE1;
}
set
{
this.ValE1 = value;
}
}
}


but problem is in Class D1 constructor i want to create object of E1 which is array type how can i create object ...?
Darshan E Ksheerasagar 24-Oct-16 4:44am View    
How can i add item of enum into I1[] { } array...?