|
I want to print content of a table in database. I am using report but the print button in reportviewer don't work in aspx page.
Is it a better solution?
Ya Mahdi!
|
|
|
|
|
I have a solution for you. Learn how to program if you want to pretend to be a programmer.
I didn't get any requirements for the signature
|
|
|
|
|
excuse me. What you mean?
Mahdi 82
|
|
|
|
|
|
hi friends
i did javascript url validation.like this http://www.codeproject.com
but i give like this http://www.codeproject.it is also accepted.now i need
any body did not give .com..org it is also show the error
can u help me
regards
saravanan
|
|
|
|
|
Where is your code that you are using to validate? Could you post it so someone could help you?
I didn't get any requirements for the signature
|
|
|
|
|
this is my code
function check_it() {
var theurl=document.myForm.t1.value;
var tomatch= /http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{3}/
if (tomatch.test(theurl))
// if (checkMailId.test(theurl))
{
window.alert("URL OK.");
return true;
}
else
{
window.alert("URL invalid. Try again.");
return false;
}
}
regards
saravanan
|
|
|
|
|
saravanan05 wrote: var tomatch= /http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{3}/
^(http:\/\/www.|https:\/\/www.|ftp:\/\/www.|www.){1}[0-9A-Za-z\.\-]*\.[0-9A-Za-z\.\-]*$
try with this code.
Regards,
Satips.
|
|
|
|
|
|
Where the URL validation is carried out in this link?
Please post the correct link.
Regards,
Satips.
|
|
|
|
|
Hai there,
I'm using database connection in my ASP.NET application without store proceedure. Before each operaion i'm begin the transaction and commit transaction. Connecton open and close everything is fine. But sometime i'm getting TIMEOUT EXPIRED error. Would anyone plz give suggestion
Adv and Thks
Sam.M
|
|
|
|
|
Yeah, set the timeout in your connection string to a longer period of time. Write a more efficient query or add indexes to your tables.
I didn't get any requirements for the signature
|
|
|
|
|
Thanks
Regards n Thks
Sam.M
|
|
|
|
|
Cud any1 tell me how to upload a video file ...
|
|
|
|
|
there is no help for you.
I didn't get any requirements for the signature
|
|
|
|
|
Please make your subject as relavant and post your Questions.
Otherwise no one will help you.
Regards,
Satips.
|
|
|
|
|
Please read the forum guidelines. highlights include:
1. Don't include 'help' or 'urgent' in your message titles.
2. Name your message something meaninfull like 'question about uploading a video file.'
3. Do not use text speak. Please use plain English.
______________________
stuff + cats = awesome
|
|
|
|
|
Hi all,
In order to download file i have written this code
Response.Clear();
Response.AppendHeader("Content-Disposition", "attachment; FileName=" + dt.Tables ["Attachment"].Rows[0]["Attachment_Name"].ToString());
Response.BinaryWrite((Byte[])dt.Tables["Attachment"].Rows[0]["Attachment_File"]);
this code works well with SQL server but does nothing with MS Access. is there any alternative of this code is available or how can i make this code usefull for MS Access... Thanx to all
Regards, Qaiser Nadeem
|
|
|
|
|
Try with this code
Private Sub Page_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Response.ContentType = "application\octet-stream"
Dim filename as string=new string("c:\\downloads\\hi.doc")
Dim downloadFile As System.IO.FileStream = New System.IO.FileStream(filename, IO.FileMode.Open)
Response.Write(downloadFile.Length() & "#")
downloadFile.Close()
Response.WriteFile(filename)
Response.Flush()
Response.End()
End Sub
Regards,
Satips.
|
|
|
|
|
its VB.NET, do u have c# code???
Regards, Qaiser Nadeem
|
|
|
|
|
|
Can anybody let me know the code i've given below is sufficient or not for sending E-Mail on the net
If yes then i would like to tell u that it is not working properly
It is just sending the message "Mail Sent Successfully" as i used for success message but i'm not receiving the mail at my id as i've defined "manoj.manojbisht@gmail.com"
But i'm still confused about "SMTP SERVER" i've kept it blank. Should i use something else if yes plz let me know....................................................................................................................................................
MailMessage mail=new MailMessage();
mail.To="manoj.manojbisht@gmail.com";
mail.From="msb1984_620@yahoo.com";
mail.Subject="Manoj Bisht";
mail.Priority=MailPriority.High;
mail.Body="Hello How R U";
try
{
SmtpMail.SmtpServer="";
SmtpMail.Send(mail);
//Response.Write("Mail Sent Successfully");
lblMsg.Text="Mail Sent Succesffully";
lblMsg.ForeColor=Color.DarkBlue;
}
catch(Exception ex)
{
Response.Write("Message Failed");
}
|
|
|
|
|
Pls check the Spam Folder.
Regards,
Satips.
|
|
|
|
|
SPAM folder is also empty
|
|
|
|
|
Apply Break Point and check it whether it is blocked by your ISP or the code.
Regards,
Satips.
|
|
|
|