|
|
thanks for the response. actually i know the concepts. but i didn't understand why microsoft introduced these master pages over Usercontrols?. we can achieve the master pages concept using usercontrols (as per my knowledge. sorry if i am worng)
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... "
|
|
|
|
|
Re-read the documents. They are different technologies serving different purposes.
Master pages provide functionality that developers have traditionally created by copying existing code, text, and control elements repeatedly; using framesets; using include files for common elements; using ASP.NET user controls; and so on. Advantages of master pages include the following:...
only two letters away from being an asset
|
|
|
|
|
They are 2 completely different paradigms. Check the documents again.
|
|
|
|
|
hi, i upload the asp project on my ftp and when i am going to the url where the query.aspx its telling me:
Runtime Error <br />
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. <br />
<br />
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<br />
The problem is that i made the mode to off but nothing happens. all the time this error occurs .. why is this?
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
You may have installed your application without the proper directory structure. Thus it cannot find its web.config.
|
|
|
|
|
I want to be able to add a link to a dataview (eg More Info..) which will open a pdf that is saved in a subdirectory of the site (eg uploaded_files). the file is identified by taking the ID field number and using that as the name (eg id+.pdf). I need to be able to program this but it is beyond me. of course a problem is that the filename differs according to which view you click. a tutorial or similar would be welcome as well!
cheers
nick neutron
|
|
|
|
|
hi Guys,
I am having LDAP troubles Im trying to connect to AD by using the code below, but I get error messages saying the "server is not operational" !!!!
DirectoryEntry entryAgent = new DirectoryEntry("LDAP://localhost:636/", "username", "pswrd", AuthenticationTypes.SecureSocketsLayer | AuthenticationTypes.Secure); <br />
<br />
DirectorySearcher searchAgent = new DirectorySearcher(entryAgent);<br />
<br />
searchAgent.Filter = "(objectClass=*)";<br />
<br />
foreach (SearchResult result in searchAgent.FindAll())<br />
{<br />
Response.Write(result.GetDirectoryEntry().Name.ToString());<br />
}
Can anyone tell me what is it that Im not doing right?? Thanks in advance!!
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
I'm creating some crystal reports in visual studion .net but for some strange reason, some of the reports are not reflecting the changes I've made to my stored procedure query.
For example, if I switch my query from "SELECT id, name FROM table1" to "SELECT TOP 1 ID, name FROM table1", this change is not reflected in the report. Instead, the report continues to return the 1000 rows it always did instead of only the top row. Some of my other reports however, DO reflect this change.
I've tried re-verifying my database and even deleting the entire reference to my stored proc and then reconnecting but so far, have had no luck. So I'm a little perplexed right now.
Any ideas as to why this may be happening and what I can do to aleviate something like this?
Thanks.
-Goalie35
|
|
|
|
|
Sir,
My question is based on ensapsulation.I know the encapsulation(hiding the background details from the user).
Now my question is when the website is uploaded .In the aspx page we can view only the html code .I mean vb file or .cs don't appear online.If we can't view the vb file or .cs file then what makes the encaplulation means .
Thanks
|
|
|
|
|
I think you're confusing the role of the "user" here. The user would be the programmer that is using that class, not the end user.
|
|
|
|
|
The "user" can also be another class. If class A is using class B, it only needs to know enough to use the class B, not everything that the class B contains.
---
b { font-weight: normal; }
|
|
|
|
|
I didnt want to confuse him. He seemed lost already
|
|
|
|
|
I have sql server database and the user will key some data from databse.
After that, i want to transfer this data to a PDF form.
How can i do that?
|
|
|
|
|
Check here:
http://www.codeproject.com/cs/samples/CreatePDF.asp
|
|
|
|
|
|
Hi Thanks for reply but
i dont wants to generate pdf from crsytal reports.
I already have pdf form file and wants to write into it.
i dont know the fields name and i wants to write it . is there any way to write in a pdf form,and you dont know the name of the form fields????
|
|
|
|
|
I am creating a setup project for my project which am deploying together with an sqlserver database using SQLEXPRESS. During the installation a custom action attaches the database to the SQLEXPRESS instance. The installation is smooth in most cases, but it fails in some instances when the instance is NOT set to log on as a Local System account. Could someone help me with some code (or just insights) to programmatically check whether SQLEXPRESS on the deployment machine logs on as a local system account, and if not configure it to log on as local system account?
|
|
|
|
|
Did you set up SQL Server to use Mixed Mode?
|
|
|
|
|
How to: Change Server Authentication Mode
http://msdn2.microsoft.com/en-us/library/ms188670.aspx
|
|
|
|
|
This is not about the authentication mode. An SQL Server Instance uses an account to log on (I don't know whether this is the correct language to use but it is what Microsoft uses.) This account can be changed through Administrative Tools -> Services -> (SQLServer instance) -> Right Click -> Properties -> Log On Tab. This is the process I want to perform programmatically.
Sorry for the late clarification. I retired for the night.
Thank you.
|
|
|
|
|
Hi All,
I have a string. I want to put all characters in an arraylist. How to do it?
Help me.
Regards,
Jegastar
|
|
|
|
|
Use the ToCharArray method to get the string as an array of characters, then use that array in the call to the constructor when you create the ArrayList.
---
b { font-weight: normal; }
|
|
|
|
|
This'll float ya boat im sure:
a string is a list, it is simply a list of char 's. You can access them in much the same way as any list
string myString = "Hello World";<br />
char char0 = myString[0];
char char3 = myString[3];
Also, as noted above you can use the ToCharArray() to get it as a simpler array to use elsewhere.
|
|
|
|
|
It is working!!!!!!!!Thank you.
|
|
|
|