problem facing for updation/save in asp.net/vb.net

  • Thread starter Thread starter Dhananjay
  • Start date Start date
D

Dhananjay

hi all,
I am facing problem in updation/save with asp.net.because it has some
different type of requirements, that's unable to do.see first i have a
page(abc.aspx) on that i have placed link ( clicking link opens a new
page(xyz.aspx) with some controls like label, textbox,two buttons)
now on this new page( xyz.aspx) i have placed two buttons sendemail ,
save.
sendemail works fine.
but save is not working, i will explain you what i wanted to do with
save button.
save button functionality :- when xyz.aspx page loads it should
display some table(4 tables) columns using join relationship. the
thing is you can select record from many different tables using
join relationship, but you can't update the table columns(records)
doing same(using join relationship).
so what i wanted to do is first select all record without using select
query, instead of select query i can create
classes,methods,properties.
And by using <dataobjectmethod(dataobjectmethod.[select],true> i can
access the methods and properties of that class.
i have done the same for membershipuser class(by inheriting this class
into myclass, i was able to perform select,edit,delete,insert).
but here i am facing problem when doing the same steps for this save
buttons.

Can anyone please tell me how to proceed with this.

Thanks in advance
 
Dhananjay said:
hi all,
I am facing problem in updation/save with asp.net.because it has some
different type of requirements, that's unable to do.see first i have a
page(abc.aspx) on that i have placed link ( clicking link opens a new
page(xyz.aspx) with some controls like label, textbox,two buttons)
now on this new page( xyz.aspx) i have placed two buttons sendemail ,
save.
sendemail works fine.
but save is not working, i will explain you what i wanted to do with
save button.
save button functionality :- when xyz.aspx page loads it should
display some table(4 tables) columns using join relationship. the
thing is you can select record from many different tables using
join relationship, but you can't update the table columns(records)
doing same(using join relationship).
so what i wanted to do is first select all record without using select
query, instead of select query i can create
classes,methods,properties.
And by using <dataobjectmethod(dataobjectmethod.[select],true> i can
access the methods and properties of that class.
i have done the same for membershipuser class(by inheriting this class
into myclass, i was able to perform select,edit,delete,insert).
but here i am facing problem when doing the same steps for this save
buttons.

Can anyone please tell me how to proceed with this.

Maybe, you need to abandon this whole save thing you have going on and use
an MVP approach with Business object that uses Data Access object using SQL
Command object.

MODEL-VIEW-PRESENTER

http://www.polymorphicpodcast.com/

click 'Shows'

click 'Design Patterns Bootcamp: Model View * Patterns*

view parts 1-5

You can use Google to get more information about this or find books.

You should also understand an object's Public accessor properties of Get/Set
in C# or Let/Get in VB.Net, and how you create DAL object you make yourself.
 
Back
Top