|
salam,
I have a web page which have some field like first name ane lastname address etc that is save in a database table i have i also print button. I want when i will press the print button than a report generate and printer print the the report, without opening the print dialog.just i press the button and printer print the reports. i am wainting ur response.
suhail shahab
|
|
|
|
|
I still want ur exact problem to solve the issue
Give also u r mail address , so that i can mail u the solution, if possible
Deo
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
salam,
I have a web page which have some field like first name ane lastname address etc that is save in a database table i have i also print button. I want when i will press the print button than a report generate and printer print the the report, without opening the print dialog.just i press the button and printer print the reports. i am wainting ur response.
suhail shahab
email address shahabsohail@hotmail.com
codeproject01@hotmail.com
suhial shahab
|
|
|
|
|
Hi,
I am developing a property retal website and I am looking for code that I can implement into my website that shows a user when a property has been booked for. I am looking for a simple calendar like in the link below. I need it to work on my website, not on a 3rd party's website:
http://rentors.org/calendar.aspx?propertyid=9&culturename=en-US[^]
The code can either be in C# or VB.NET, and I can change it to C#. I am running on .NET 2.0.
I hope someone can help.
Regards
ma se
|
|
|
|
|
Hi All
I have to download from FTP link as we are using in http(right click the http link a popup will come which will ask the location to save the downloaded file).
But it is not working.It is showing error :this format is not supported.
Can anyone please help me.
Thanks in advance
Vijay kumar
|
|
|
|
|
what kind of file are you trying to download?
Stef
|
|
|
|
|
|
Hi all,
I am working in migration project. I need to get the session from asp and i have maitian it in asp.net means in aspx page. Plz help me if any one have idea. I will be very happy if provide code ,coz i don't have any knowledge in asp
Suresh.R
|
|
|
|
|
|
Hi,
I'm having a problem that is slowly driving over the edge...
I have a page with 3 listboxes that I populate dynamically with the names of files on the server. I have a SelectedIndexChanged event on each of the listboxes that simply redirects the page to the selected document.
the problem is when i return from a document, i can only select a new doc if it is from the same listbox, or one on the left. If I select from a listbox on the right, the last doc opened comes up again.
Thanks in advance for any help,
Craig
|
|
|
|
|
rasdfsadfasdfasdfsa wrote: the problem is when i return from a document
How do you do to return from a document?
rasdfsadfasdfasdfsa wrote: i can only select a new doc if it is from the same listbox, or one on the left. If I select from a listbox on the right, the last doc opened comes up again.
I think that you have to show a bit of your code if anyone should be able to tell what's wrong with it.
---
single minded; short sighted; long gone;
|
|
|
|
|
I am returning via the back button. This is an intranet site, so these are actual word and excel docs on the network that i am linking to, not aspx pages.
this is pretty much all the code there is...
<asp:ListBox ID="lstMemos" runat="server" OnSelectedIndexChanged="lstMemos_SelectedIndexChanged"
AutoPostBack="true" Rows="10" Width="90%"></asp:ListBox>
protected void Page_Load(object sender, EventArgs e) {
if (!this.IsPostBack) {
//populate memos
string folderToBrowse = Server.MapPath(memoPath);
DirectoryInfo dirInfo = new DirectoryInfo(folderToBrowse );
foreach (FileInfo fileItem in dirInfo.GetFiles()) {
lstMemos.Items.Add(fileItem.Name);
}
}
//I populate 2 more listboxes here - same code
}
//there are 2 more functions just like this for the other 2 listboxes
protected void lstMemos_SelectedIndexChanged(object sender, EventArgs e) {
Response.Redirect(Path.Combine(memoPath, lstMemos.SelectedItem.Text));
}
|
|
|
|
|
Hello.
I have a website made in ASP.NET 2, with a login page. I'm not using the membership class. I'm checking in the active directory if my user exists.
If I have found my user, a new page appear with different links.
There is one on an Apache server. How can I do to not login again,on apache server ?
What should I put in my web config file for authentication mode ? "forms or windows" ?
How apache knows that I'm already connected ?
Thanks in advance for your help.
Pat3d
|
|
|
|
|
I have this html in my asp.net page:
<div id='topics'>
<asp:Repeater ID="repeaterTopics" runat="server" DataSourceID="SqlDataSourceTopics">
<ItemTemplate>
<input type="checkbox" id='<%#DataBinder.Eval(Container.DataItem, "TopicName")%>'
name='topic.<%#DataBinder.Eval(Container.DataItem, "TopicID")%>' />
<label for='<%#DataBinder.Eval(Container.DataItem, "TopicName")%>' class="topic">
<%#DataBinder.Eval(Container.DataItem, "TopicName")%>
</label>
<br />
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="SqlDataSourceTopics" runat="server" SelectCommand="SELECT [TopicID], [TopicName] FROM [Topics]">
</asp:SqlDataSource>
</div>
However, the data it gets back from the DB has a crap load of whitespace on the end, how can I trim it? I think it's causing a rendering bug in safari.
/\ |_ E X E GG
|
|
|
|
|
try with RTRIM ...you can search more from SQL online book
<< >>
|
|
|
|
|
Hi,
While retriving data from database you remove blank spaces by using "RTRIM & LTRIM" function.
Eg:-
SELECT LTRIM(RTRIM(Your_Column_Name)) from tableName
Regards,
Sandeep Kumar.V
|
|
|
|
|
Hi all,
I am using Sql Server 2005, ASP.Net and VB.net
The problem is that, i am using the datetime data type for the CourseTime column in the Course table, but when i want to display the time using a Gridview the date "1/1/1900" appears by default and i don't want any date to appear. How to solve this.
Thanks in advance for your help
yasso
|
|
|
|
|
Use convert(varchar(10), 'YOUR DATE COLUMN', 14) in the SP/SQL that populates the grid.
SG
|
|
|
|
|
Thanks for your help but I didn't understand, what is SP/SQL and where to find it, please give me more details
yasso
|
|
|
|
|
those are store proc and SQL query language...you can look for more info from SQL book online
<< >>
|
|
|
|
|
Could any one help me on how to send email in asp.net?
How do i test this on a Local Area Network? I was thinking of using outlook express but i do not know how to configure this on a LAN
t.aransiola
|
|
|
|
|
I'm not sure I can answer all your query...but try as much as posible..
aransiola wrote: Could any one help me on how to send email in asp.net?
using System.Web.Mail namespace...
aransiola wrote: How do i test this on a Local Area Network? I was thinking of using outlook express but i do not know how to configure this on a LAN
- install an email server
- How to Set Up Outlook Express
Hope those can help you
<< >>
|
|
|
|
|
Hi,
First Install SMTP server in your local machine.
using System.Net.Mail;<br />
<br />
static string HostName = System.Net.Dns.GetHostName();<br />
<br />
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();<br />
message.To.Add("test@mail.com");<br />
message.Subject = "This is the Subject line";<br />
message.From = new System.Net.Mail.MailAddress("test@mail.com");<br />
message.Body = "This is the message body";<br />
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient(HostName);<br />
smtp.Send(message);
Regards,
Sandeep Kumar.V
|
|
|
|
|
How do i test the sending and receiving of the mail on my LAN
t.aransiola
|
|
|
|
|
Anybody to help me with a asp.net datepicker control. The one i got from this forum(DatePicker), is requesting for licence after deployment on my intranet(LOcal Area Network). Pls
help
t.aransiola
|
|
|
|