public class reference details
{
// some logic i write
}

here is my presentation layer

 namespace satish
  {
class profile:system.web.ui.page
{

protected button1_click()
{

   rf1=new reference details();// this works perfectly

but i want to generate an object dynamically for refernce details class dynamically
// here i wan to generate an object for reference details class dynamically

}
}

i want to create an objects dynamically for reference details class when i click the button.i want to build an object dynamically for my reference details class for each button click.if i click one time i want to generate one object dynamically.on second click another object want to generate for same class dynamically.how i should do in order to achieve that.

Related posts

Recent Viewed