<?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-6388863239828558270</id><updated>2011-11-27T17:18:08.759-08:00</updated><category term='Other'/><category term='ASP.NET'/><title type='text'>.Net Programming</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6388863239828558270.post-4253874870418544454</id><published>2007-07-13T10:24:00.000-07:00</published><updated>2007-07-13T10:25:15.227-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>How To Allow HTML to be Submitted in Your Forms</title><content type='html'>Ever gotten an error when you click submit when you enter some HTML in your form?  Want users to be able to submit HTML tags?  Not only is it possible, it’s easy!  Somewhere in your page directive on your .aspx page, simply include the attribute: validateRequest=”False”.&lt;br /&gt;Yeah, that’s it.&lt;br /&gt;WARNING: doing this means that the .NET engine will not check for possibly harmful code a user could enter via HTML or Javascript, so make sure you know what you’re getting into before you turn off this feature.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6388863239828558270-4253874870418544454?l=aspvbdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/4253874870418544454/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6388863239828558270&amp;postID=4253874870418544454' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/4253874870418544454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/4253874870418544454'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/2007/07/how-to-allow-html-to-be-submitted-in.html' title='How To Allow HTML to be Submitted in Your Forms'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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-6388863239828558270.post-5974300760543794883</id><published>2007-07-13T10:21:00.002-07:00</published><updated>2007-07-13T10:23:56.239-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>ELMAH - Google Code</title><content type='html'>I have blogged &lt;a href="http://rbazinet.wordpress.com/2006/07/16/elmah-for-aspnet-20-available/"&gt;in the past&lt;/a&gt; about using ELMAH (Error Logging Modules and Handlers) for error logging in my ASP.NET applications.   I still use it and love it, still one of the best tools out there.&lt;br /&gt;The project has moved from GotDotNet, which Microsoft abandoned in favor of CodePlex, to Google Code.   You can find it here - &lt;a href="http://code.google.com/p/elmah/"&gt;elmah - Google Code&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6388863239828558270-5974300760543794883?l=aspvbdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/5974300760543794883/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6388863239828558270&amp;postID=5974300760543794883' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/5974300760543794883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/5974300760543794883'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/2007/07/elmah-google-code.html' title='ELMAH - Google Code'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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-6388863239828558270.post-8040720626373425741</id><published>2007-07-13T10:21:00.001-07:00</published><updated>2007-07-13T10:21:25.612-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Exporting Datagrid OutPut To EXCEL</title><content type='html'>The following code can be used to export datagrid output to EXCEL format&lt;br /&gt;&lt;br /&gt;Response.Clear();&lt;br /&gt;Response.AddHeader(”content-disposition”, “attachment;filename=filename.xls”);&lt;br /&gt;Response.Charset = “”;&lt;br /&gt;Response.ContentType = “application/excel”;&lt;br /&gt;System.IO.StringWriter stringWrite = new System.IO.StringWriter();&lt;br /&gt;System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);&lt;br /&gt;DataGrid1.RenderControl(htmlWrite);&lt;br /&gt;System.Web.HttpContext.Current.Response.Write(stringWrite.ToString());&lt;br /&gt;System.Web.HttpContext.Current.Response.End();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6388863239828558270-8040720626373425741?l=aspvbdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/8040720626373425741/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6388863239828558270&amp;postID=8040720626373425741' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/8040720626373425741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/8040720626373425741'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/2007/07/exporting-datagrid-output-to-excel.html' title='Exporting Datagrid OutPut To EXCEL'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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-6388863239828558270.post-7506684508962874639</id><published>2007-07-13T10:16:00.001-07:00</published><updated>2007-07-13T10:17:04.011-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>DataGrid or GridView Paging</title><content type='html'>Protected Sub GridView1_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles GridView1.PageIndexChanging&lt;br /&gt;        GridView1.PageIndex = e.NewPageIndex&lt;br /&gt;        GetData()&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;Private Sub GetData()&lt;br /&gt;Dim ds As New DataSet()&lt;br /&gt;ds.ReadXml(Server.MapPath(”.”) &amp; “\..\Xml\PartList.xml”)&lt;br /&gt;&lt;br /&gt;Me.GridView1.DataSource = ds.Tables(0).DefaultView&lt;br /&gt;Me.GridView1.DataBind()&lt;br /&gt;&lt;br /&gt;ds.Clear()&lt;br /&gt;ds.Dispose()&lt;br /&gt;g = Nothing&lt;br /&gt;‘Me.Dispose()&lt;br /&gt;End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6388863239828558270-7506684508962874639?l=aspvbdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/7506684508962874639/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6388863239828558270&amp;postID=7506684508962874639' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/7506684508962874639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/7506684508962874639'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/2007/07/datagrid-or-gridview-paging.html' title='DataGrid or GridView Paging'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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-6388863239828558270.post-3128939695700414124</id><published>2007-07-13T10:11:00.000-07:00</published><updated>2007-07-13T10:12:01.094-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Adding item to Databoud Drop Down control</title><content type='html'>It was quite a struggle for me to add a string “All” to a data bound drop down list box. It was really becoming for me a challenge as everytime my client would bring this point and when I tell my problem he would give some stupid way to solve this issue. So atlast taken this challenge.&lt;br /&gt;Suppose you have drop down list box, and you have SqlDataSource to bound it some data. In my case I was trying to populate with some user list. Now there was an option for All which I have to add initially I added a checkbox next to the dropdown but then I got a way to do it googling. The solution is to use the Insert method to add an list item to the drop down&lt;br /&gt;&lt;strong&gt;ListItem item = new ListItem(”All”, “All”);&lt;br /&gt;cmbUseList.Items.Insert(0,item);&lt;/strong&gt;   //The first is the index&lt;br /&gt;Thanks to the customer who challenged to bring the good solutions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6388863239828558270-3128939695700414124?l=aspvbdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/3128939695700414124/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6388863239828558270&amp;postID=3128939695700414124' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/3128939695700414124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/3128939695700414124'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/2007/07/adding-item-to-databoud-drop-down.html' title='Adding item to Databoud Drop Down control'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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-6388863239828558270.post-4121340406960019791</id><published>2007-07-13T10:10:00.000-07:00</published><updated>2007-07-13T10:12:17.570-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Introducing MS ASP.NET AJAX (Pro - Developer)</title><content type='html'>AUTHOR : by Dino Esposito (Author)&lt;br /&gt;PUBLISHER : MS Press publisher&lt;br /&gt;PUB DATE : May 09, 2007LANGUAGE : EnglishRLS&lt;br /&gt;DATE : 06/28/2007FORMAT : CHM&lt;br /&gt;Get an expert introduction to the new JavaScript enhancements (code-named “Atlas”) for Microsoft ASP.NET 2.0. More than a basic AJAX (Asynchronous JavaScript And XML) script library, the Microsoft implementation brings object orientation to JavaScript, together with enhanced client-side and server-side controls that greatly simplify coding while delivering enhanced Web experiences with any browser. Scheduled for release with the next version of Microsoft Visual Studio®, code named “Orcas,” AJAX extensions and tools can be used by developers today. This book offers expert insights direct from the Microsoft product team and noted ASP authority Dino Esposito, as well as hands-on instruction and examples of Web development with AJAX. This ideal reference will be updated online, keeping readers up to date with the evolving tool. The book includes code samples in ASP.NET 2.0 created using C# and JavaScript.&lt;br /&gt;Key Book Benefits:-Provides coverage of both client-side and server-side development-Covers ASP.NET AJAX 1.0, as released in January 2007-Features Online Product Extensions for updated code samples during the continuing development process&lt;br /&gt;Download:&lt;a href="http://rapidshare.com/files/41072441/Microsoft.Press.Introducing.Microsoft.ASP.NET.AJAX.May.2007.chm" target="_blank"&gt;http://rapidshare.com/files/41072441/Microsoft.Press.Introducing.Microsoft.ASP.NET.AJAX.May.2007.chm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6388863239828558270-4121340406960019791?l=aspvbdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/4121340406960019791/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6388863239828558270&amp;postID=4121340406960019791' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/4121340406960019791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/4121340406960019791'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/2007/07/introducing-ms-aspnet-ajax-pro.html' title='Introducing MS ASP.NET AJAX (Pro - Developer)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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-6388863239828558270.post-4023691858209097973</id><published>2007-07-13T10:09:00.000-07:00</published><updated>2007-07-13T10:12:36.740-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Error al ejecutar aplicación ASP.NET con IIS 6.0</title><content type='html'>A veces pasa que llevamos mucho tiempo trabajando en una aplicación y que desde Visual Studio se ve de fábula. Una vez acabada la publicamos, ponemos los archivos en el directorio C:\Inetpub\wwwroot\ , abrimos el navegador, escribimos localhost en la barra de direcciones y…. TACHÁN!!! ERROR!!! El mundo abajo…. veamos hoy el típico error : App-Domain could not be created.&lt;br /&gt;El error que muestra es:&lt;br /&gt;“Failed to execute request because the App-Domain could not be created. Error: 0×80131902″ . (Nota: El número de error puede variar…)&lt;br /&gt;Esto ocurre la primera vez que inicias una aplicación en el IIS con el framework 2.0 . No se exactamente porque (posiblemente sea por el orden de instalación del IIS y el framework 2.0) pero la solución es la siguiente:&lt;br /&gt;Ve a Inicio-Ejecutar y allí escribe cmd (abrir una ventana de comandos de Windows).&lt;br /&gt;Dirígete al path donde tengas instalado el framework 2.0, si lo tienes por defecto seguramente será: C:\Windows\Microsoft.Net\Framework\v2.0.50727\ .&lt;br /&gt;Una vez allí escribe: net stop w3svc para parar los servicios web.&lt;br /&gt;Luego escribe aspnet_regiis.exe -i para instalar ASP.NET en el IIS.&lt;br /&gt;Y finalmente reinicias los servicios de web: net start w3svc .&lt;br /&gt;Una vez hecho esto prueba a ejecutar la aplicación. Si está todo correcto funcionará.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6388863239828558270-4023691858209097973?l=aspvbdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspvbdotnet.blogspot.com/feeds/4023691858209097973/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6388863239828558270&amp;postID=4023691858209097973' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/4023691858209097973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6388863239828558270/posts/default/4023691858209097973'/><link rel='alternate' type='text/html' href='http://aspvbdotnet.blogspot.com/2007/07/error-al-ejecutar-aplicacin-aspnet-con.html' title='Error al ejecutar aplicación ASP.NET con IIS 6.0'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06584412958533754375</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>
