Desing Problem in ASP.Net With Diffrent Browser Like Crome,Safari,Opera

Hello ,
in Asp.Net Menu There are Problem With Browser Like Crome,Safari,Opera.  Menu CSS Not display According to What we Have Done for Designing. Look Below Image Which Shown Problem In Above Browser With Design.


You can Solved this By writing Below Code in each Page or in Master Page It solved Your Problem.

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
        {
            Request.Browser.Adapters.Clear();
        }

See Below Image After Applying Above Coding.

Posted in | 1 comments

Drop All Table In SQL Server

Hello Frd's.

Excute below Script to Drop all Table in Database for SQL server.


EXEC sp_MSForEachTable 'DROP TABLE ?'

Posted in | 0 comments

Learn AJAX For Newbie ......

Hello Frd's

If you are New to AJAX and Want to Implement It. Then Just Go below Site.

First Download AJAX Tool Kit from below Site.download tool kit according to your Framework.


http://www.asp.net/ajax/downloads/

Second go online Sample to See Which control Suitable for your Site.

http://ajaxcontroltoolkit.com/

With tool Kit There are Sample example Provide With Source Code So you Can easily Learn it.

Other Frd's if you are having any more Information Related to AJAX which Help Other Please Contribute it Here.


Posted in | 0 comments

send email using asp.net from gmail account

Hello Frd's

Below Code are For Sending Email From your gamil account to any other Account.It's Working Code you can directly run that Code Without Changing Any Value.

Or Change From , to , NetworkCredential

Code :-

MailMessage msg = new MailMessage();
msg.From = new MailAddress("ketantest.test@gmail.com");
msg.To.Add("ketan_erp@yahoo.com");
msg.Subject = "test";
msg.Body = "body";
msg.IsBodyHtml = true;
msg.Priority = MailPriority.High;
System.Net.NetworkCredential authorise = new
System.Net.NetworkCredential("ketantest.test@gmail.com", "ketantesttest");
SmtpClient spclient = new SmtpClient("smtp.gmail.com", 587);
spclient.EnableSsl = true;
spclient.UseDefaultCredentials = false;
spclient.Credentials = authorise;
spclient.Send(msg);

Posted in | 1 comments

3 Tier Architecture Application (Full Project)

Download Source Code from ASP.Net Site.


It's very good application to learn best programming methodogy. Application developed in 3 Tier Architecture.Whole application divided in User Interface layer,Business Logic layer and Data Access Layer.Application using Store Procedure.That's best methodology wo work with Database.Application developed using OOPS Concepts. if u want to make application whose performance is better,run faster then just go away for above Style.
Enjoy !!!!!

Posted in | 2 comments