|
You would have to point the window to another page that would display the result
|
|
|
|
|
hi,
thanks, i got it
jai prakash
|
|
|
|
|
I want to set the css class of a Table row in a c# code.
The TR attribut is set to runnat="server".
Do good and have good.
|
|
|
|
|
Hi,
r.CssClass = "sss";
Where "r" is and object of TableRow class.
I hope this wil help u.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
But i m using HTML table and it doesnot give CssClass property in C# file[code behind]
Do good and have good.
|
|
|
|
|
Hi,
You can do this by following.
tbl1.Rows[rowindex].Attributes["class"] = "cssclassname";
here "tbl1" is the id of your HTMLTable and "rowindex" is the index of row in that table.
I hope this will help you.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
i have an excel file, i need to print that file using asp.net...how to do it? plz any one help me...
Pradeep Reddy
|
|
|
|
|
HI,
1. Connect to excel file and get data from it.
2. Display that data in Gridview/Datagrid or in tabular format.
3. Use javascript window.print() to print the content of page.
I hope this will help u.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
thanks for the reply...
actually iam exporting data to an excel file from datagrid and storing that excel file at server side, now i want to print that excel file by clicking a server button...how to do it?
Pradeep Reddy
|
|
|
|
|
Hi,
I got you requirement but I can not see any direct way to achieve this.
The way I suggest you would be fine for you according to me.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
|
Do you mean to print it on the server or the client? on the client you would have to link to the Excel file so the browser could download it.
|
|
|
|
|
if u save the excel file in certain location then load it in the program when u click the button raise the print event.
I think it will help u
|
|
|
|
|
I am building an asp.net application in which i am sending mails to various people..But the problem is that the mail are going into spam or bulk folders.
Please provide me the right way..or give me correction in my code.. i am giving code which i am using in a console application..
MailMessage newMail = new MailMessage();
newMail.To = "abc@gmail.com"
newMail.From = "panel@rebuscode.com";
newMail.Cc = "";
newMail.Bcc = "";
newMail.BodyFormat = MailFormat.html;
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "mail.rebuscode.com");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "25");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "pane@rebuscode.com");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password");
newMail.Subject = "Activate your account.";
newMail.Body = str;
SmtpMail.SmtpServer="mail.rebuscode.com";
SmtpMail.Send(newMail);
hiiiiii
|
|
|
|
|
Is your body text big size?
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
|
No even if i am sending a single line it is going to spam..but I have to sent a 10 or 12 lines email
hiiiiii
|
|
|
|
|
Try with adding some more headers for the mail ?
|
|
|
|
|
To Navaneeth..
please tell me what types of headers?????
hiiiiii
|
|
|
|
|
I am not finding a soln yet plz.. help..
hiiiiii
|
|
|
|
|
I want host my demo website on the internet.Anyone knows how to Register our asp.net website along with database on any free webserver.
GIRISH
|
|
|
|
|
|
Hye guys,
I am using VS2005 with C# as a backend. The problem is that Session_End is not getting fired in normal run. While in Debug after the session time out it does work well. I writing to a file for testing when session end event fires. The code is working fine with debug mode. But under normal run the session does get time out but the event never fires...when i check the session variable it does get null. But the respective code is not executed.. I m using inproc timeout 1 min for testing. I have also tried using Session.Abandon() to manullay fire the event...even its also not working in normal run. but the session does not null. I have also tried setting the value of Application variable on Session_end to see whether it changes the existing value of Application variable..Its not working...It means Session_End is firmly not working...
from last two days i have been surfing internet to find the answer to the issue...found alot like it..but nothing similiar. So i m requesting the global guru...
your help is required.
thkx,
-- modified at 6:02 Tuesday 19th June, 2007
hello
|
|
|
|
|
There is no answer. I hate to tell you this but session end is very unreliable. I would not use code in that event to do anything of significane.
|
|
|
|
|
if anyone knows how to implement remember me feature in asp.net 1.1 then plz provide some idea of it.
|
|
|
|