|
S. Its working in sql. Thank u. Can u explain how to call it from Asp.net?
|
|
|
|
|
I am not sure what you meant by
Karthick_gc wrote: how to call it from Asp.net?
Since, the date information is stored in the database you might want to do the processing in SQL (SQL function or stored proc) or directly execute a query. Take a look at Ado.Net.
|
|
|
|
|
HI All,
I am trying to Mask Url.
For Example inpalce of WWW.abc.com/Home.aspx Or Www.abc.com/Contact.aspx
it should come www.abc.com/pg .
That means it should not show www.abc.com/*.aspx.
Please suggest me how to do.
Thanks in advance
Subi
|
|
|
|
|
That is called as URL rewriting.
subrat4all wrote: That means it should not show www.abc.com/*.aspx.
If you are on IIS6.0, you have to create a directory named "pg" and put one index file. So you can access www.abc.com/pg and the default file will be loaded.
IIS7.0 allows you to create true extension-less URLs. Another option is to use ASP.NET MVC which produces extension-less URLs.
|
|
|
|
|
But How to do ???
Please write me
|
|
|
|
|
hello,
thanks for the people who gave me advice and help to solve my problems.
i did my application well, its working
now i need to deploy my web application,
i follow
File->Add Project->New Project from the main menu.
From the Project-->Setup and Deployment Projects-->Web Setup Project and i gave name
then
a File System Editor window appears
i Select Web Application Folder in the left pane in this window
then
From the Action menu i select Project then add project output then a Output Group dialog box appears with no data in it..
what will be the problem,
when i search in net the Output Group dialog box appears with some data in it.
could anyone help me?
self confidence+hard work=SUCCESS
|
|
|
|
|
How to retrieve a password in c#
|
|
|
|
|
wont you store it in DB?
self confidence+hard work=SUCCESS
|
|
|
|
|
Yes, I store it in a sql server 2005 database
|
|
|
|
|
How about explaining in detail?
|
|
|
|
|
Suppose u create an email id but unfortunately u lost your password than how will u access your password. So what is the code for 'Forget your password' in C# language.
|
|
|
|
|
get their user id(mail id)
get their secret question and answer, based on this i/p parameters get the password from the database
self confidence+hard work=SUCCESS
|
|
|
|
|
How to get the selected item of dropdownlistbox in textbox or viseversa
|
|
|
|
|
dropdown1.selecteditem.text=textbox1.text;
|
|
|
|
|
DropDownList To TextBox
on SelectedIndexChanged()
{
TextBox1.Text=DropDownList1.SelectedItem.Text;
}
TextBox text to DropDownList
ButtonClick()
{
if (DropDownList1.Items != null)
{
for (int i = 0; i < DropDownList1.Items.Count; i++)
{
if (DropDownList1.Items[i].Text == TextBox1.Text)
{
DropDownList1.Items[i].Selected = true;
break;
}
}
}
}
Raju.M
|
|
|
|
|
Hi All,
I am using an ActiveX control for Thermal Printing in my website.... It is working fine for most of the client but now it is causig am unarthodox problem....
Once the activex is installed... it prints the label for first time only but when I issues the command for second time... the website hangs...
Closing the browser and logging again solve the purpose but only for the first print command... for second print command it hangs.
please suggest what is causing the problem???
Thanks in advance,
Vishav
|
|
|
|
|
Hi all,
I've installed SQLServer 2005 in my pc with its Reporting Services. I used it for months and i can create Reports, but this last month, we install SQLServer 2008, VS 2008 and .NET 3.5 framework. I installed all these components with out uninstalling the lower versions. Now, i tried to create again a new Reporting project in VS2005 but it gets me an error and i can't create new report project, nor can't open an existing reporting service project.
This is the error:
"Method 'get_UserContext' in type 'Microsoft.ReportDesigner.Project.ReportServerInformation' from assembly 'Microsoft.ReportingServices.Designer, Version 9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation."
I tried to goggle but can't find anything explaining that error. Am i correct, maybe there's a conflict in installation? And i can't find the way to uninstall the Reporting Services. I tried to install it again, but it only stated, that the component is already installed.
Please can anyone help me. And send me a way to resolve it?
THANKS A LOT!
Regards,
Ewin
|
|
|
|
|
Just go to the Start->run->inetmgr .in that one find your project folder and right click on it,take the properties. You will get a window and select the ASP.NET tab ,there versions will be listed.Change that to 2.0,then click ok,
maybe this will help
!!!!!!!!!!
|
|
|
|
|
thanks. ah you are saying i have to change the asp .net version? but there's no project that has been created, no .sln file or anything, as in no project at all. I can't open the existing files/projects, that i've created before, so no build/compilation, and i can't assign or create also a virtual directory for it.
When i chose the New>Project>Business Intelligence Project>Report Server Project
that error message comes out that leads to no creation of project at all.
|
|
|
|
|
Hi,
I am trying to list the files stored in a directory on my web server, i want the visitor to be able to download these files. Following is the code.
]]>
Sub Page_Load(sender As Object, e As EventArgs)
Dim root As String = "files/"
Dim files() As String = Directory.GetFiles(root)
Dim sb As New StringBuilder(2048)
Dim f As String
For Each f In files
Dim filename As String = Path.GetFileName(f)
sb.Append("<br><a href="FileDownload?file=")<br" mode="hold" /> sb.Append(root).Append(Server.UrlEncode(filename))
sb.Append(">").Append(filename).Append("")
Next
fileList.Text = sb.ToString()
End Sub
</br>
<asp:label id="fileList" runat="server" xmlns:asp="#unknown">
and following is the filedownload.aspx (mentined as filedownload above) page
]]>
]]>
Sub Page_Load(sender As Object, e As EventArgs)
Dim root As String = "files/"
Dim filepath As String = Request.Params("file")
If Not filepath Is Nothing Then
If File.Exists(filepath) And filepath.StartsWith(root) Then
Dim filename As String = Path.GetFileName(filepath)
Response.Clear()
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", _
"attachment; filename=""" & filename & """")
Response.Flush()
Response.WriteFile(filepath)
End If
End If
End Sub
<title>Untitled Document
this code is working file on my localhost. but is giving a prob on web as:
Runtime Error
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.
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".
can anyone help me regarding this???
|
|
|
|
|
read what the error says and do it. Also, you'd do better to have your files all stored within the application root of your website. Then people could just be given a list and right click/save them, as well as fixing permissions errors.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how to make editor to change the taxt of the text box. can i get some example . or tutorial.or can i get editor form internet..give me some links if anybody have thnx..
|
|
|
|
|
Google broken where you live ?
A textbox IS a text editor, if you want something more, there's many you can buy, and even some free ones.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
ok thnx i find one.....thnx for urs time
|
|
|
|
|
Hi,
I want to edit a pdf through code but we cannot edit it because pdf is readonly.
N!dh!
<div class="ForumMod">modified on Friday, February 13, 2009 4:25 AM</div>
|
|
|
|