No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Check out on these links... I think it may be enough for you as a beginner... [url]http://asp.dotnetheaven.com/howto/doc/adoplus/overviewcontents.aspx#[/url] [url]http://www.c-sharpcorner.com/Beginners/[/url]
I can't say what are the steps you missed actually... we studied data access before ejb. I don't know whether it is the correct way or not. So please go through the link and find if any step is missing...? [url]http://advanceddotnettutorial.blogspot.com/2010/06/j2ee-introduction.html[/url]
switch is an conditional statement where we can specify actions according to conditions. Syntax: [CODE] switch (variable_name) { case [condition_1]: //statements... break; case [condition_2]: //statements break; ... ... case [condition_n]: // statements break; default : //statements break; } [/CODE] Note : 1. condition's value must be the same data type …
I didn't get which way of data access you are using ? Direct or Indirect ? If you are using indirect, try this. Write the code for filling the grid in one separate function, and after closing the connection, call the function once. It will work just as refreshing....
Hi, I am devi .. I want to use validation of dateofbirth which was entered in a textbox using Asp.net Ajax Calender Extender in my Project. I want to validate it, like " when some one enters a dateofbirth before 110 years and dateofbirth greater than todays date are invalid" …
public static bool IsValidDate(string date) { try { Regex reDate = new Regex(@"\b([0-9]{1,2}[\s]?[\-/\.\–][\s]?[0-9]{1,2}[\s]?[\-/\.\–][\s]?[0-9]{2,4})\b|\b(([0-9]{1,2}[TtHhSsRrDdNn]{0,2})[\s]?[\-/\.,\–]?[\s]?([Jj][Aa][Nn][Uu]?[Aa]?[Rr]?[Yy]?|[Ff][Ee][Bb][Rr]?[Uu]?[Aa]?[Rr]?[Yy]?|[Mm][Aa][Rr][Cc]?[Hh]?|[Aa][Pp][Rr][Ii]?[Ll]?|[Mm][Aa][Yy]|[Jj][Uu][Nn][Ee]?|[Jj][Uu][Ll][Yy]?|[Aa][Uu][Gg][Uu]?[Ss]?[Tt]?|[Ss][Ee][Pp][Tt]?[Ee]?[Mm]?[Bb]?[Ee]?[Rr]?|[Oo][Cc][Tt][Oo]?[Bb]?[Ee]?[Rr]?|[Nn][Oo][Vv][Ee]?[Mm]?[Bb]?[Ee]?[Rr]?|[Dd][Ee][Cc][Ee]?[Mm]?[Bb]?[Ee]?[Rr]?)[\s]?[\-/\.,\–]?[\s]?[']?([0-9]{2,4}))\b|\b(([Jj][Aa][Nn][Uu]?[Aa]?[Rr]?[Yy]?|[Ff][Ee][Bb][Rr]?[Uu]?[Aa]?[Rr]?[Yy]?|[Mm][Aa][Rr][Cc]?[Hh]?|[Aa][Pp][Rr][Ii]?[Ll]?|[Mm][Aa][Yy]|[Jj][Uu][Nn][Ee]?|[Jj][Uu][Ll][Yy]?|[Aa][Uu][Gg][Uu]?[Ss]?[Tt]?|[Ss][Ee][Pp][Tt]?[Ee]?[Mm]?[Bb]?[Ee]?[Rr]?|[Oo][Cc][Tt][Oo]?[Bb]?[Ee]?[Rr]?|[Nn][Oo][Vv][Ee]?[Mm]?[Bb]?[Ee]?[Rr]?|[Dd][Ee][Cc][Ee]?[Mm]?[Bb]?[Ee]?[Rr]?)[\s]?[,]?[\s]?[0-9]{1,2}[TtHhSsRrDdNn]{0,2}[\s]?[,]?[\s]?[']?[0-9]{2,4})\b"); Match mDate = reDate.Match(date); if (!mDate.Success) return false; System.IFormatProvider ifpformat = new System.Globalization.CultureInfo("en-GB", true); DateTime tempDate = Convert.ToDateTime(date, ifpformat); if ((tempDate.Year > 1900) && (tempDate.Year < 2100)) return true; else return false; } catch (System.FormatException) { return …
The End.
devi.....