Mahernoz Daruwala

My Articles, My Company , My Life & Dreams...

  Home  |   Contact  |   Syndication    |   Login
  11 Posts | 3 Stories | 3 Comments | 0 Trackbacks

News

Archives

January 2007 Entries

How to send Email in AsP.net? In Aspx write.... SmtpClient client = new SmtpClient(); MailMessage mail = new MailMessage(From, To, Subject, Body); mail.IsBodyHtml = true; client.Send(mail); return true; In Web.config After System.Web 192.168.1.100 = Is Your SMTP Server Address...(You need to configure your SMTP Server userName = Valid Username password = valid password...

"Programming is only a simple simulation of real life complexity" Everything has to be done step by step, Great big things come from a small start. Group Web Site A group IS CREATED. I CREATE A group, I AM THE ADMINISTRATOR, i can also create other groups and i can also own multiple groups. THE ADMIN INVITES OTHER MEMBERS TO JOIN THE group (SAME AS GOOGLE INVITE), each member can have multiple groups. A person who is not a member to the website can also apply for a group. The group admin can/cannot...

Shahnameh Made Simple Open Source Book Development Contribute your Knowledge here This is the story of my people, the Zoroastrians; the story’s name is Shahnameh. Shahnameh means “The Diary of the Kings” which includes all the stories of Persia’s greatest Kings right from Gayomard (the 1st Persian King) to Yazdezard (the last Persian King). Stories like Sohrab and Rustam are also taken from it. Shahnameh is much more bigger in depth than Homer’s Iliad and is as detailed...

For those young talents who come from code project.... Please leave an email to mahernoz@gmail.com, feedback to this post and mention... Name: Address: City: Country: Gender: Email Id: Course Enrolled In: Project Duration: University/Institute Name: Previous Work Details (if Any): Do you know N-Tier/3 Tier Architecture? (Ignore this if you don't know anything about it) As and When needed Mahernoz Softwares may ask you other relevant details. Hope to join with you soon. Thanks, Mahernoz...

The easiest way I suggest is to use the regular expression coupled with a regularexpressionvalidation control in asp.net... This will eliminate of cross site script attach and also eliminate ' (single quote) for sql injection attack problem. I used the following regular expresssion for a field name for e.g. TaskName ^[,.&!? 0-9a-zA-Z ]+$ This will ensure that only Alphabets and Numbers and a white space and symbols used in writing like ,.&!? are used. There is no possibility for the user to start...