<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2017394872897273447</id><updated>2011-07-07T13:59:09.194-07:00</updated><title type='text'>Problem Solution</title><subtitle type='html'>The solution to the problem</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-1303826701525964817</id><published>2010-03-23T04:21:00.000-07:00</published><updated>2010-03-23T04:23:09.101-07:00</updated><title type='text'>function that removes the HTML tags along with their contents in php</title><content type='html'>function strip_tags_content($text, $tags = '', $invert = FALSE) {&lt;br /&gt;&lt;br /&gt;  preg_match_all('/&lt;(.+?)[\s]*\/?[\s]*&gt;/si', trim($tags), $tags);&lt;br /&gt;  $tags = array_unique($tags[1]);&lt;br /&gt;   &lt;br /&gt;  if(is_array($tags) AND count($tags) &gt; 0) {&lt;br /&gt;    if($invert == FALSE) {&lt;br /&gt;      return preg_replace('@&lt;(?!(?:'. implode('|', $tags) .')\b)(\w+)\b.*?&gt;.*?&lt;/\1&gt;@si', '', $text);&lt;br /&gt;    }&lt;br /&gt;    else {&lt;br /&gt;      return preg_replace('@&lt;('. implode('|', $tags) .')\b.*?&gt;.*?&lt;/\1&gt;@si', '', $text);&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;  elseif($invert == FALSE) {&lt;br /&gt;    return preg_replace('@&lt;(\w+)\b.*?&gt;.*?&lt;/\1&gt;@si', '', $text);&lt;br /&gt;  }&lt;br /&gt;  return $text;&lt;br /&gt;}&lt;br /&gt;Sample text:&lt;br /&gt;$text = '&lt;b&gt;sample&lt;/b&gt; text with &lt;div&gt;tags&lt;/div&gt;';&lt;br /&gt;&lt;br /&gt;Result for strip_tags($text):&lt;br /&gt;sample text with tags&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-1303826701525964817?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/1303826701525964817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2010/03/function-that-removes-html-tags-along.html#comment-form' title='33 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1303826701525964817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1303826701525964817'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2010/03/function-that-removes-html-tags-along.html' title='function that removes the HTML tags along with their contents in php'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>33</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-5388951684552227748</id><published>2010-03-23T02:44:00.001-07:00</published><updated>2010-03-23T02:44:40.792-07:00</updated><title type='text'>generating Unique random key in php</title><content type='html'>function get_cripta()&lt;br /&gt;{&lt;br /&gt;        $year = date('Y');&lt;br /&gt;        $month = date('m');&lt;br /&gt;        $day = date('d');&lt;br /&gt;        $hour = date('H');&lt;br /&gt;        $min = date('i');&lt;br /&gt;        $sec = date('s');&lt;br /&gt;        $coef = rand(1,99999);&lt;br /&gt;        $quo1 = ($year*$month*$day);&lt;br /&gt;        $quo2 = ($hour+$min+$sec);&lt;br /&gt;        $result = ($quo1*$quo2)*$coef;&lt;br /&gt;        $final = md5($result);&lt;br /&gt;        return $final;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-5388951684552227748?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/5388951684552227748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2010/03/generating-unique-random-key-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5388951684552227748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5388951684552227748'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2010/03/generating-unique-random-key-in-php.html' title='generating Unique random key in php'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-6506802224703795297</id><published>2010-03-23T02:39:00.000-07:00</published><updated>2010-03-23T02:42:04.019-07:00</updated><title type='text'>Date and Time Zone in php</title><content type='html'>Function to get Date format by time zone:&lt;br /&gt;&lt;?php&lt;br /&gt;function get_date(DateTime $time)&lt;br /&gt; {&lt;br /&gt;&lt;br /&gt;   $t = clone $time;&lt;br /&gt;        // set time zone here&lt;br /&gt;        $t-&gt;setTimezone(new DateTimeZone("America/Denver"));&lt;br /&gt;      return $t-&gt;format("Y-m-d H:i:s");&lt;br /&gt;   }&lt;br /&gt;?&gt;&lt;br /&gt;// usages&lt;br /&gt;&lt;?php&lt;br /&gt;$date ="2008-08-03 14:52:10";&lt;br /&gt;$datetime = date_create($date);&lt;br /&gt;echo get_ebay_UTC_8601($datetime);&lt;br /&gt;?&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-6506802224703795297?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/6506802224703795297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2010/03/date-and-time-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/6506802224703795297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/6506802224703795297'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2010/03/date-and-time-in-php.html' title='Date and Time Zone in php'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-2823461117536686292</id><published>2009-03-19T06:08:00.001-07:00</published><updated>2009-03-19T06:08:55.944-07:00</updated><title type='text'>Getting Connection String from Webconfig file</title><content type='html'>&lt;script src="http://www.bytemycode.com/api/blogit/930/1/" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-2823461117536686292?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/2823461117536686292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/getting-connection-string-from.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/2823461117536686292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/2823461117536686292'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/getting-connection-string-from.html' title='Getting Connection String from Webconfig file'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-3439643784504269914</id><published>2009-03-19T05:50:00.000-07:00</published><updated>2009-03-19T05:51:03.394-07:00</updated><title type='text'>Creating Dynamic Dataset in C#</title><content type='html'>&lt;script src="http://www.bytemycode.com/api/blogit/926/1/" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-3439643784504269914?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/3439643784504269914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/creating-dynamic-dataset-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/3439643784504269914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/3439643784504269914'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/creating-dynamic-dataset-in-c.html' title='Creating Dynamic Dataset in C#'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-8853187266158596162</id><published>2009-03-19T05:49:00.001-07:00</published><updated>2009-03-19T05:49:35.488-07:00</updated><title type='text'>Custom Pagination in C#</title><content type='html'>&lt;script src="http://www.bytemycode.com/api/blogit/928/1/" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-8853187266158596162?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/8853187266158596162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/custom-pagination-in-c.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/8853187266158596162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/8853187266158596162'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/custom-pagination-in-c.html' title='Custom Pagination in C#'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-1280315266913743690</id><published>2009-03-17T04:38:00.001-07:00</published><updated>2009-03-17T04:38:41.304-07:00</updated><title type='text'>Ensure directory exists</title><content type='html'>&lt;script src="http://www.bytemycode.com/api/blogit/921/1/" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-1280315266913743690?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/1280315266913743690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/ensure-directory-exists.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1280315266913743690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1280315266913743690'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/ensure-directory-exists.html' title='Ensure directory exists'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-9064675815185535854</id><published>2009-03-17T04:35:00.001-07:00</published><updated>2009-03-17T04:35:44.789-07:00</updated><title type='text'>File to ByteArray</title><content type='html'>&lt;script src="http://www.bytemycode.com/api/blogit/920/1/" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-9064675815185535854?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/9064675815185535854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/file-to-bytearray.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/9064675815185535854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/9064675815185535854'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/file-to-bytearray.html' title='File to ByteArray'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-5338382677323507065</id><published>2009-03-17T02:44:00.000-07:00</published><updated>2009-03-17T02:45:15.426-07:00</updated><title type='text'></title><content type='html'>&lt;script src="http://www.bytemycode.com/api/blogit/915/1/" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-5338382677323507065?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/5338382677323507065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5338382677323507065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5338382677323507065'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/03/blog-post.html' title=''/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-7673110098935543787</id><published>2009-02-09T22:45:00.001-08:00</published><updated>2009-02-09T22:45:39.162-08:00</updated><title type='text'>silverlight sql data grid</title><content type='html'>http://silverlight.net/learn/tutorials/sqldatagrid.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-7673110098935543787?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/7673110098935543787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/02/silverlight-sql-data-grid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/7673110098935543787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/7673110098935543787'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/02/silverlight-sql-data-grid.html' title='silverlight sql data grid'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-5663337469367300855</id><published>2009-01-19T20:50:00.000-08:00</published><updated>2009-01-19T20:51:07.613-08:00</updated><title type='text'>डेट परसे इन sql</title><content type='html'>DateTime.Parse(Request["ctl00$ContentPlaceHolder1$GridView1$ctl0"+Rownum.ToString()+"$txt_date"], new CultureInfo("fr-FR", false));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-5663337469367300855?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/5663337469367300855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5663337469367300855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5663337469367300855'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/sql.html' title='डेट परसे इन sql'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-9019239040561385103</id><published>2009-01-16T05:12:00.001-08:00</published><updated>2009-01-16T05:12:34.540-08:00</updated><title type='text'>Using DropDownList control in DataGrid</title><content type='html'>http://www.csharphelp.com/archives/archive212.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-9019239040561385103?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/9019239040561385103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/using-dropdownlist-control-in-datagrid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/9019239040561385103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/9019239040561385103'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/using-dropdownlist-control-in-datagrid.html' title='Using DropDownList control in DataGrid'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-4111006535684685562</id><published>2009-01-16T05:10:00.000-08:00</published><updated>2009-01-16T05:11:27.442-08:00</updated><title type='text'>GridView add multiple controls to edit item template</title><content type='html'>&lt;EditItemTemplate&gt;&lt;br /&gt;&lt;asp:TextBox ID="TextBox1" runat="server"&lt;br /&gt;Text='&lt;%# Bind("project") %&gt;'&gt;&lt;/asp:TextBox&gt;&lt;br /&gt;&lt;asp:LinkButton ID="LinkButton3" runat="server"&lt;br /&gt;OnClick="LinkButton3_Click"&gt;PV&lt;/asp:LinkButton&gt;&lt;br /&gt;&lt;/EditItemTemplate&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-4111006535684685562?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/4111006535684685562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/gridview-add-multiple-controls-to-edit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/4111006535684685562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/4111006535684685562'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/gridview-add-multiple-controls-to-edit.html' title='GridView add multiple controls to edit item template'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-5059358237190961970</id><published>2009-01-16T05:09:00.001-08:00</published><updated>2009-01-16T05:09:58.967-08:00</updated><title type='text'>Reading values from Gridview Item Templates</title><content type='html'>//write this coding in gridview1_RowUpdating event // Read the values from Text Box String name = ((TextBox)(gridview1.Rows[e.RowIndex].FindControl("NAME"))).Text; //Read the values from Label String ID = ((Label)(dgSummary.Rows[e.RowIndex].FindControl("ID"))).Text; //Read Html Check Box value boolean bol=((HtmlInputCheckBox)(gridview1.Rows[e.RowIndex].FindControl("CheckBox1"))).Checked&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-5059358237190961970?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/5059358237190961970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/reading-values-from-gridview-item.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5059358237190961970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5059358237190961970'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/reading-values-from-gridview-item.html' title='Reading values from Gridview Item Templates'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-2113993969407660414</id><published>2009-01-16T05:05:00.000-08:00</published><updated>2009-01-16T05:06:21.196-08:00</updated><title type='text'>An API for Google Image Search</title><content type='html'>find the url listed below&lt;br /&gt;&lt;br /&gt;http://www.codeproject.com/KB/IP/google_image_search_api.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-2113993969407660414?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/2113993969407660414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/api-for-google-image-search.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/2113993969407660414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/2113993969407660414'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/api-for-google-image-search.html' title='An API for Google Image Search'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-1942615220328931729</id><published>2009-01-16T05:02:00.001-08:00</published><updated>2009-01-16T05:02:31.072-08:00</updated><title type='text'>Upload any type of File through a C# Web Service</title><content type='html'>http://www.c-sharpcorner.com/UploadFile/scottlysle/UploadwithCSharpWS05032007121259PM/UploadwithCSharpWS.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-1942615220328931729?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/1942615220328931729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/upload-any-type-of-file-through-c-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1942615220328931729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1942615220328931729'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/upload-any-type-of-file-through-c-web.html' title='Upload any type of File through a C# Web Service'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-4416995740871886477</id><published>2009-01-16T04:58:00.001-08:00</published><updated>2009-01-16T04:58:57.808-08:00</updated><title type='text'>Get Values from CheckBoxList</title><content type='html'>String values = "";&lt;br /&gt;for (int i=0; i&lt; cbl.Items.Count; i++)&lt;br /&gt;{&lt;br /&gt;        if(cbl.Items[i].Selected)&lt;br /&gt;        {&lt;br /&gt;                values += cbl.Items[i].Value + ",";&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;                       &lt;br /&gt;values = values.TrimEnd(',');&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-4416995740871886477?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/4416995740871886477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/get-values-from-checkboxlist.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/4416995740871886477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/4416995740871886477'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/get-values-from-checkboxlist.html' title='Get Values from CheckBoxList'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-5861419328853860486</id><published>2009-01-16T04:55:00.000-08:00</published><updated>2009-01-16T04:56:01.115-08:00</updated><title type='text'>How to get the Content Type(MimeType) of a file</title><content type='html'>private string MimeType (string Filename)&lt;br /&gt;{&lt;br /&gt;string mime = "application/octetstream";&lt;br /&gt;string ext = System.IO.Path.GetExtension(Filename).ToLower();&lt;br /&gt;Microsoft.Win32.RegistryKey rk = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(ext);&lt;br /&gt;if (rk != null &amp;&amp; rk.GetValue("Content Type") != null)&lt;br /&gt;mime = rk.GetValue("Content Type").ToString();&lt;br /&gt;return mime;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-5861419328853860486?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/5861419328853860486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/how-to-get-content-typemimetype-of-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5861419328853860486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/5861419328853860486'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/how-to-get-content-typemimetype-of-file.html' title='How to get the Content Type(MimeType) of a file'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-1430224741503780750</id><published>2009-01-14T23:17:00.000-08:00</published><updated>2009-01-14T23:18:10.742-08:00</updated><title type='text'>displaying gridview row index number</title><content type='html'>&lt;asp:TemplateField&gt;&lt;br /&gt;    &lt;ItemTemplate&gt;&lt;br /&gt;        &lt;%# Container.DataItemIndex + 1 %&gt;&lt;br /&gt;    &lt;/ItemTemplate&gt;&lt;br /&gt;&lt;/asp:TemplateField&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-1430224741503780750?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/1430224741503780750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/displaying-gridview-row-index-number.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1430224741503780750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1430224741503780750'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/displaying-gridview-row-index-number.html' title='displaying gridview row index number'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2017394872897273447.post-1506716541293277215</id><published>2009-01-14T23:05:00.000-08:00</published><updated>2009-01-14T23:08:43.738-08:00</updated><title type='text'>Dropdown in Gridview in Asp.net</title><content type='html'>  &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" Width="600px" &gt;&lt;br /&gt;                     &lt;Columns &gt;&lt;br /&gt;                         &lt;br /&gt;                            &lt;br /&gt;                           &lt;br /&gt;                         &lt;asp:TemplateField HeaderText = "Project" &gt;&lt;br /&gt;                                &lt;ItemTemplate&gt;&lt;br /&gt;                                &lt;asp:DropDownList id="dd_project" runat="server"&lt;br /&gt;                             &lt;br /&gt;                                DataSource="&lt;%#  GetProjectDs() %&gt;"&lt;br /&gt;                                DataTextField="PROJECT_NAME"&lt;br /&gt;                                DataValueField="PROJECT_ID"&lt;br /&gt;                                SelectedIndex='&lt;%# GetProjectSelectedIndex((int)DataBinder.Eval(Container.DataItem,"PROJECT_ID")) %&gt;' &lt;br /&gt;                              &gt;&lt;br /&gt;                             &lt;br /&gt;                              &lt;/asp:DropDownList&gt;&lt;br /&gt;                                &lt;/ItemTemplate&gt;&lt;br /&gt;                                &lt;br /&gt;                            &lt;/asp:TemplateField&gt;&lt;br /&gt;                             &lt;asp:TemplateField HeaderText = "Task" &gt;&lt;br /&gt;                                &lt;ItemTemplate&gt;&lt;br /&gt;                                &lt;asp:DropDownList id="dd_task" runat="server"&lt;br /&gt;                                DataSource="&lt;%#  GetTaskDs() %&gt;"&lt;br /&gt;                                DataTextField="TASK_NAME"&lt;br /&gt;                                DataValueField="TASK_ID"&lt;br /&gt;                                SelectedIndex='&lt;%# GetTaskSelectedIndex((int)DataBinder.Eval(Container.DataItem, "TASK_ID")) %&gt;' &lt;br /&gt;                                /&gt;&lt;br /&gt;                                &lt;/ItemTemplate&gt;&lt;br /&gt;                            &lt;/asp:TemplateField&gt;&lt;br /&gt;                             &lt;asp:TemplateField HeaderText = "Date" &gt;&lt;br /&gt;                                &lt;ItemTemplate&gt;&lt;br /&gt;                                     &lt;asp:TextBox ID="txt_date" runat="server" Text='&lt;%# Bind("DATE") %&gt;'  size="10" &gt;&lt;/asp:TextBox&gt;&lt;a href="javascript:void(0)" onclick="displayDatePicker('ctl00$ContentPlaceHolder1$GridView1$ctl0&lt;%# Container.DataItemIndex + 2 %&gt;$txt_date', this);"&gt;&lt;img src="images/icon-calendar.gif" alt="pick date" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;                                &lt;/ItemTemplate&gt;&lt;br /&gt;                            &lt;/asp:TemplateField&gt;&lt;br /&gt;                            &lt;asp:TemplateField HeaderText = "Time Taken (Hrs)" &gt;&lt;br /&gt;                                &lt;ItemTemplate&gt;&lt;br /&gt;                                &lt;asp:TextBox ID="time_spent" runat="server" Text='&lt;%# Bind("TIME_SPENT") %&gt;'  size="10" &gt;&lt;/asp:TextBox&gt;&lt;br /&gt;                                &lt;/ItemTemplate&gt;&lt;br /&gt;                              &lt;/asp:TemplateField&gt;&lt;br /&gt;                            &lt;asp:TemplateField HeaderText = "Action" &gt;&lt;br /&gt;                                &lt;ItemTemplate&gt;&lt;br /&gt;                                   &lt;span style="margin-top:5px"&gt;&lt;a href="#." onclick="javascript:ConfirmDelete(&lt;%# Eval("TIME_SHEET_ID") %&gt;,'view_time_sheet.aspx?action=delete')"&gt;&lt;img src="images/delete.jpeg"  border="0"  alt="Delete Task" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;br /&gt;                                   &amp;nbsp; &lt;span&gt; &lt;a href="#." onclick="UpdateTimeSheet(&lt;%# Eval("TIME_SHEET_ID") %&gt;,&lt;%# Container.DataItemIndex + 2 %&gt;)"&gt;&lt;img src="images/edit.jpeg"  border="0"  alt="Update Task" width="15px"  /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;                                    &lt;br /&gt;                                &lt;/ItemTemplate&gt;&lt;br /&gt;                              &lt;/asp:TemplateField&gt;&lt;br /&gt;                              &lt;br /&gt;                     &lt;/Columns&gt;    &lt;br /&gt;                &lt;/asp:GridView&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2017394872897273447-1506716541293277215?l=shailendra-problemsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shailendra-problemsolution.blogspot.com/feeds/1506716541293277215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/dropdown-in-gridview-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1506716541293277215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2017394872897273447/posts/default/1506716541293277215'/><link rel='alternate' type='text/html' href='http://shailendra-problemsolution.blogspot.com/2009/01/dropdown-in-gridview-in-aspnet.html' title='Dropdown in Gridview in Asp.net'/><author><name>shailendra</name><uri>http://www.blogger.com/profile/08391747994548582806</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
