|
You can't it's as simple as that. You were also told this below, so please stop repeat posting.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
hey guys whats up ? I've just been wrorkin on ASP.NET 2.0for less than a month. I usevisual web developer 2005 express edition. Here's my problem, I create a web project and first I created my master page and put some controls like login status, login name ..., then I created one page. when I run it I get this weird error sayin The page Login.aspx couldn't be found !!! I dunno why in the world it's askin for that page ?
and also could you introduce some useful sources to me ? I'm looking for some simple but helpful samples(logging in, add user, password and stuff like this)!
Thanx heaps guys !
Mr.K
|
|
|
|
|
mrkeivan wrote: when I run it I get this weird error sayin The page Login.aspx couldn't be found
What is u'r master page name?u said that u created one page what is the page name?
plz do more specific with u'r question
Try This Link For Simple Sample There is many example about ASP.NET
Best Regards,
Tomi
|
|
|
|
|
hey Tomi, thanx for replyin ! its the default name, master.masterpage, something like this !
Mr.K
|
|
|
|
|
Hmm, I dont know for sure,perhaps its because the login status control coz i never use the login status or login name control ..i always use programmatic to create a login
Just try to look at on This Linki think it will help ur problems
Best Regards,
Tomi
|
|
|
|
|
Thats exactly what I'm looking for !!! do u have by any chance some samples about this ? (creating login programatically !!!)
thanx
Mr.K
|
|
|
|
|
Some one please refer me a good Encrypt, Decrypt functions.
Thanks
Mohamed
|
|
|
|
|
System.Security.Cryptography
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi
i am reading a Powe point presentation in it author has put a Orchestration in application arctitecture using dot net ?
Can anyone explain me what is Orchestration ? How we achieve it ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Sandeep Akhare wrote: Can anyone explain me what is Orchestration ?
Orchestration[^]
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
Hi! All,
am accessing one multidimensional array declared at application level from one of my ASP page but I am unable to do so. When I am accessing this array from my page it is sating time mismatch.Can anyone tell me what to do in this case?
Thanks and regards,
Virendra
|
|
|
|
|
I have never ever seen the error message "time mismatch". Isn't it actually "type mismatch"?
As you have neither shown any code for how you store the data at application level, nor for how you try to access it, the only thing that I can say, really, is that you are doing something wrong...
As the problem is in your code, you have to show some of it for someone to help you with it.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hello Everyone,
Actually i want to send the email through my site at yahoo,gmail...... etc
Is it possible .............
Waiting for ur response
Thnx & Regards
Manoj Bisht
|
|
|
|
|
Yes it is possible
http://www.dotnet-guide.com/sending-emails.html[^]
Might be helpfull also if you are using ASP.NET 2.0 the there is System.Web.Mail namespace which provides all the classes requires for sending mail
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hello friends,
wish u a very happy friendship day.
I want to know how to upload a website on clients web space? This site is made by using Visual Web Developer 2005
Please Help me...
|
|
|
|
|
Use the "Publish Web Site" option in the build menu, and enter the address of the ftp account on the server.
---
single minded; short sighted; long gone;
|
|
|
|
|
I want to Creat many LinkButtons depend on the result of sum Query,
then i want to rais an even each of which has Deferent Argument value
|
|
|
|
|
Hi All,
I have tried couple of (Encrypt , Decrypt)functions, but thing is Decrypt fails in some cases like
when I encrypt a string = "FY 2004-2005"(encrypt function encrypts the string without any problem)
then I send encrypted string to other page through query string
I get encrypted the string in the other page from query string and when I decrypt that encrypted string, it fails there for some cases as I mentioned below
This Decrypt function I have fails for certain encrypted strings of "FY 2004-2005", "Q4 2004", "Jan 2004".
Can any one help me giving Encrypt, Decrypt function that would work for above strings. (like "FY 2004-2005" , "Q4 2004" , "Jan 2004" and all others)
Thanks in advance.
Arif
|
|
|
|
|
Hi, I've inherited a asp.net web project that is a front end to a legacy application which is accessed via a com api.
The seems to be some memory usage issues which I'd like to get some advice on.
Basically what happens is that in the Session_Start event the com object is stored in a session variable. When the user logs out or the Session_End event is called the object is destroyed with
Marshal.ReleaseComObject(HttpContext.Current.Session.Item(sessionvar))
This seems to work fine when one user logs in and then logs out, but if User 1 logs in and then User 2, User 3 etc each subsequent user adds 2MB to the memory usage. This memory does not seem to be released until all users have logged out. Obviously this is not ideal, as during a typical day users log in and out many times, but there are never any times when all users are logged out.
Can anyone offer any advice?
Thanks
|
|
|
|
|
Why do I get this error code when I enter javscript in my page.
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled Page" %>
<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
document.write("Hello, world!")
Why do I get the error code: Error Validation (Internet Explorer 6): Element 'html' cannot be nested within element 'td'.
Dell
|
|
|
|
|
i think your page includes master page so it should contain content placeholder Where you can add the javasrcipt .
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi, suppose I have binary files stored in a field called Resumes and mime type for each file stored in a field called DocType. Normally if one wants to display binary data in the browser, one has to use a data reader to read the binary data after retrieving them from the database. Then put the data into a byte array, determine the file to be displayed, and determine its mime type. Then finally to display data, one can use the Response.Write() method passing in the byte array as an argument. I have done all of the above, but I'm unsure if the way I determined the mime type and the file to be displayed is correct. I've put the names of the columns in to the the code like the following.
'Normally I would use the following line of code if only one file is to be displayed Response.AddHeader("Content-Disposition", "attachment;filename=something.doc")
'But to display many files I use the line of code below
Response.AddHeader("Content-Disposition", "attachment;filename=Resumes")
'I would use this if only one file is to be displayed Response.ContentType = DirectCast(AD("image/img"), String)
'But I use the code below for multiple files
Response.ContentType = DirectCast(AD("DocType"), String)
Can I grab data from a database like that, where I just pass in the column name as an argument? If not how should I go about it? Thank you in advance for your help.
-- modified at 17:35 Saturday 4th August, 2007
|
|
|
|
|
You can't. This code is telling the browser how to display a file. You cannot use this to embed multiple files into your page. If they are images, you need to write them to disc, and pass the paths to img tags. For this reason, it's better to store paths to images in your database. Other types, such as word docs, cannot be shown as anything less than the entire page.
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 Chris, thanks for answering. You said it can't be done but I've found the answer. The following code is what I have found
Dim PictureID As Integer = Convert.ToInt32(Request.QueryString("PictureID"))
'Connect to the database and bring back the image contents & MIME type for the specified picture
Using myConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("ImageGalleryConnectionString").ConnectionString)
Const SQL As String = "SELECT [MIMEType], [ImageData] FROM [Pictures] WHERE [PictureID] = @PictureID"
Dim myCommand As New SqlCommand(SQL, myConnection)
myCommand.Parameters.AddWithValue("@PictureID", PictureID)
myConnection.Open()
Dim myReader As SqlDataReader = myCommand.ExecuteReader
If myReader.Read Then
Response.ContentType = myReader("MIMEType").ToString()
Response.BinaryWrite(myReader("ImageData"))
End If
myReader.Close()
myConnection.Close()
End Using
This is what i wanted to do, all I wanted was to retrieve mime type and binary file from the database dynamically. Now I just need to make it work with text doc and write the output to the browser.
-- modified at 17:39 Sunday 5th August, 2007
|
|
|
|
|
As per the requirement of my development i have to draw a bar chart from ASP.net data grid or any other control that binds data.Can anyone please suggest the code for the same.
Malay Mukherjee
|
|
|
|