|
Yes i think so. I am sad that my all works become useless. I have work again from the scratch. Can you please give me any useful links of articles about this subject?
Thank you
Ken,Mexico(Guanajuato)
|
|
|
|
|
Not off hte top of my head. Just remember, the layers are seperate, they shouldn't have any need for any common base classes, and the business layer should be built around the different business objects, not the different pages.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Ok. Even though I didn't fully understand what you trying to say, thanks for your response and the time to spend me.
Now I am going to sit back and starting to learn what is Data layer, what is Business layer from all the possible resources.
Ken,Mexico(Guanajuato)
|
|
|
|
|
Hello everyone,
I have webpage1 that sends email when button1 is click. I want to go back to previous page once button1 is click so I use history.back code.
Below is my sample code for your reference.
If Page.IsValid And SaveIssue() Then
Dim msg As New MailMessage
msg.To = Test@dc.com
msg.From = "ACSC@noreply.com"
msg.Subject = "Reply- " & txtTitle.Text
msg.Body = "Hello"
msg.BodyFormat = MailFormat.Html
SmtpMail.SmtpServer = "abc.com"
SmtpMail.Send(msg)
msg = Nothing
btnDone.Attributes.Add("onClick", "history.back(); return false;"
End If
My problem is, it will only work on the second time you will click button1. Kindly advise for the right code. Thanks in advance.
|
|
|
|
|
History.back to me, is not the right way as I found it useless in firefox. So Simply navigate to your WebForm1.aspx like
<br />
btnDone.Attributes.Add("onClick", "window.location = 'WebForm1.aspx'; return false;"<br />
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
Hello,
Its because I have some control in my previous page that I want to retain the value, thats why I just simply use history.back.
Do you have any suggestion?
|
|
|
|
|
Then it depends on if you care about FireFox. If you do, find out how to do it in FF and write script that calls the right thing.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Add it in the aspx, not the code behind. I'd say it's only working the second time because the first time your if statement fails.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Do you mean, i'll put the history.back on the onclick event of my button?
<asp:button1 onclick="history.back" id="Button1" runat="server" text="Button">
|
|
|
|
|
Yes, if you add properties to a server control and the server does not recognise them, they get passed through to the client verbatim.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi.. but got an error
Compiler Error Message: BC30456: 'history' is not a member of 'ASP.webform1_aspx'.
|
|
|
|
|
Hello Everyone,
Can anybody not try to have a bit of time to solve my problems
Actually i want to run my flash files and videos in media player
As running in this url
"http://www.gurumaa.com/online-video-discourses.php"
plz solve my probs.........................
Thnx in Advance
|
|
|
|
|
|
i ve tabs in master page. i want to move to another page (which is in the content page of a tab) when clicking a link in the popup .
how can i do that ?
|
|
|
|
|
Revathij wrote: i want to move to another page (which is in the content page of a tab)
What do you mean by this. Do you want to move to some other page ? How a page can be in the content page of a tab ? Or am I missing something ?
|
|
|
|
|
hi all,
How can I add a role selection to my CreateUserWizard? I mean, I want administrator to select role for user he is adding to system.
Thanks
|
|
|
|
|
hi all,
i want to copy the excel sheet data to db table, in most reference , its mentioned to use SqlBulkCopy, so , how can i import this,is it available in framework 1.0, if so which is the base class, if not how can i do this import in asp.net.
reply soon...
|
|
|
|
|
Hi all..
I have five HTML textboxes in my aspx page.I want to restrict the user from entering the number 0 or 00 in the text boxes..How to do it with the help of java script..?
someone help in this regard as early as possible...
Regards,
Balaguru
|
|
|
|
|
if ( parseFloat(TextBoxValue)==0 )<br />
{<br />
alert("your alert");<br />
return false;<br />
}<br />
|
|
|
|
|
i want to learn web programming.i dont know any thing about html,asp,asp.net my question is that what sould i learn at the first?i have asp.net 2005 book.if you help me so i ll be pleasure.
|
|
|
|
|
If you are planning to learn only webprogramming, then first of all you need to learn HTML, Javascript. Then go for server side programming. Are you familiar with OOPS concepts ?
|
|
|
|
|
First u must understand the basic web programming, my suggestion u must know about the HTML First and Javascript..And if u already simmilar with the HTML and Javascript Syntax, u can start build your first web application..After that u can learn about web programming using PHP, ASP.Net, and more..
Good Luck
Regards,
Tomi
|
|
|
|
|
Dear all,
i am using asp.net ,C# (VS 2005) and sql server 2005.
i have written sp for inserting the the data which written last inserted idendity no.
i would like to which method should i use(reader , nonexecutequery or executescalar ) so that i get that value and display the value in the form.
please guide me.
thanks
imaran khan
|
|
|
|
|
hello imaran,
Use ExecuteScalar() method so that insert and retrieve the value from the database.
ok byeee
Murali
|
|
|
|
|
hi,
if u r using the sqlserver , there is one
after ur insert query u can use @@identity
with this u will get the last inserted identity value.
for ex:
declare @lastid int output
insert into temp (..)
set @lastid =@@identity
remember it will return the value of last inserted identity column.
|
|
|
|