|
Hi Chetan
My suggestion is you can take the other details entered by user like DOB, LastName, FirstName etc and generate a set of possible combinations. Now check these combinations exist in the DB, if not display names to the user.
Hope this helps
|
|
|
|
|
Hey Navneeth,
Thank you very much for the reply.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
hi this sis vishal ...... cud any1 help me from this plz...i wud like to get number of days from a given month
|
|
|
|
|
|
DateTime.DaysInMonth(2007, 7);
Tried MSDN???
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Hi Vaishu,
DateTime.DaysInMonth() will return the number of days in the month.
Hope this reply helps you.
Happy Programming!!!
|
|
|
|
|
|
hey,
try the following
DateTime.DaysInMonth(YEAR,MONTH)
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
I need to post some data from the mail message body to ASP.Net Page.
The mail contains few radio buttons and a submit button. On the click of submit button i need to post data to the ASP.Net Web page.
Ashwani
|
|
|
|
|
try this
MailMessage objEmail = new MailMessage();
objEmail.To = txtTo.Text;
objEmail.From = txtFrom.Text;
objEmail.Cc = txtCc.Text;
objEmail.Subject = "Test Email";
objEmail.Body = txtName.Text + ", " +
txtComments.Text;
objEmail.Priority = MailPriority.High;
//SmtpMail.SmtpServer = "localhost";
try{
SmtpMail.Send(objEmail);
Response.Write("Your Email has been sent sucessfully -
Thank You");
}
catch (Exception exc){
Response.Write("Send failure: " + exc.ToString());
}
|
|
|
|
|
My question is different. I know how to send email.
Actually email is send to the user. The body of the mail contains the HTML tages that forms the complete html page.
Now I want to post the information from that HTML page to ASP.Net page.
Ashwani
|
|
|
|
|
Hi
Make the action attribute of your form to your aspx page. Change method to get. And in ASPX page get these values using Request.QueryString method. But I am not sure that this will work because, usually email providers won't allow any executable scripts on the body. That will cause severe security problems. Some providers may spam this type of messages.
Tell me on what scenario you need to do like this ? Instead of doing this you can send a link where users can do the same.
Happy Programming
|
|
|
|
|
Hi,
I assigned OnTextChanged event to a TextBox using the following code:
<TD><asp:textbox id="txt4" Width="400px" Runat="server" OnTextChanged="NumericOnly(event);"></asp:textbox></TD>
But i'm receiving this error:
"Compiler Error Message: CS1513: } expected"
Could anyone please tell me why this happens?
Regards,
Blumen
|
|
|
|
|
The compiler expected a closing curly brace (}) that was not found.
Please check with the Closing Braces and run your application.
Regards,
Satips.
|
|
|
|
|
Is numericOnly your javascript function?
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
yes, its a JavaScript function:
function NumericOnly(p)
{
if(window.event.keyCode>=48 && window.event.keyCode<=57)
{
//window.event.keyCode=true;
return true;
}
else
{
window.event.keyCode=false;
return false;
}
}
But this happens for RadioButton CheckedCHange event also.
But with onKeypress of textBox there is no error
|
|
|
|
|
hai friends,
i got following error while trying to show crystal report from my web application,in web server
Server Error in '/' Application.
------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.
Please review the following URL and make sure that it is spelled correctly
do have any solution, help ?
|
|
|
|
|
Please check with the URL which you have reffered to open the Document.
Regards,
Satips.
|
|
|
|
|
hai friend,
the same is working on local machine..
after uploading, when i tries to access crystal report from my site,
it shows that error.. I think ,the following part "(or one of its dependencies) could have been removed" in error description is important.
do you have any idea about dependencies ?
can u help me ?
thanks satips...
|
|
|
|
|
Hello to every One,
i hav created a page in asp.net 1.0 where i use 17'inch monitor screen and when the same project is opened in smaller monitor the every time we have to scroll down the page.
Can anybody tell me what should i do so that different users with different monitor screen can see the page according to their monitor size.
Thank You..
|
|
|
|
|
instead of using pixel size in ur web page design,plz use percentage..
eg:
" table width=75% height=80%
like...
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
But how and where to use it
|
|
|
|
|
In the CSS you would have mentioned abt the Pixels and in that change it to % and check the webpage.
Regards,
Satips.
|
|
|
|
|
I had alerady post the answser few weeks ago,
just do the following thing to set your screen resolutions on any monitor (either 15/17 inchs)
Firstoff all U should have to pur your all control within table tag means in & second thing U should have to give your width of the control in % (percentage) not in Pixcel(100px)
did u do that ????
if you directly drag and drop the controls on the webform then they may be get disturb after change in resolution....
regards,
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
how to parse date using java script? provide code to implement date parsing same as microsoft access .
|
|
|
|