﻿<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Quomon - asp.net 2</title>
    <link>https://quomon.com</link>
    <description>Questions and Answers for IT &amp; Graphic Design Professionals - asp.net 2</description>
    <language>en-us</language>
    <copyright>Quomon</copyright>
    <generator />
    <webMaster />
    <lastBuildDate>Tue, 09 Jun 2026 19:32:32 GMT</lastBuildDate>
    <ttl>20</ttl>
    <item>
      <guid>https://quomon.com/51361/Need-regular-expression-for-email</guid>
      <title>Need regular expression for email</title>
      <link>https://quomon.com/51361/Need-regular-expression-for-email</link>
      <description>That validate &lt;a href="http://www.ss@yahoo.com" target="_blank" rel="nofollow"&gt;www.ss@yahoo.com&lt;/a&gt;</description>
      <author>Arfanhust</author>
      <pubDate>Thu, 03 Jul 2008 05:59:51 GMT</pubDate>
      <comments>https://quomon.com/51361/Need-regular-expression-for-email#comments</comments>
      <category>asp.net 2, C#</category>
    </item>
    <item>
      <guid>https://quomon.com/51356/In-Asp-Net-forgot-password-Control-I-want-to-add-extra-feature-email-as-the-confirmation-of-user</guid>
      <title>In Asp.Net forgot password Control, I want to add extra feature email as the confirmation of user</title>
      <link>https://quomon.com/51356/In-Asp-Net-forgot-password-Control-I-want-to-add-extra-feature-email-as-the-confirmation-of-user</link>
      <description>In Asp.Net forgot password Control, I want to add extra feature email as the confirmation of user.
&lt;br&gt;want to increase permutation of security.</description>
      <author>kanishkakim</author>
      <pubDate>Tue, 24 Jun 2008 05:20:40 GMT</pubDate>
      <comments>https://quomon.com/51356/In-Asp-Net-forgot-password-Control-I-want-to-add-extra-feature-email-as-the-confirmation-of-user#comments</comments>
      <category>asp.net 2, visual basic</category>
    </item>
    <item>
      <guid>https://quomon.com/46859/what-is-dll-how-to-work-in-dotnet</guid>
      <title>what is dll? how to work in dotnet</title>
      <link>https://quomon.com/46859/what-is-dll-how-to-work-in-dotnet</link>
      <description>what is dll? how to work in dotnet(that is what type of excution)
&lt;br&gt;</description>
      <author>suryahills</author>
      <pubDate>Sat, 03 May 2008 10:06:06 GMT</pubDate>
      <comments>https://quomon.com/46859/what-is-dll-how-to-work-in-dotnet#comments</comments>
      <category>asp.net 2, web development, Visual Basic .NET</category>
    </item>
    <item>
      <guid>https://quomon.com/46811/DIIFF-BETWEEN-ASP-Jscript</guid>
      <title>DIIFF BETWEEN ASP &amp; Jscript</title>
      <link>https://quomon.com/46811/DIIFF-BETWEEN-ASP-Jscript</link>
      <description>we have a questionnaire session today hence the need !!!!!!!!!!!!!!!!  related to web technologies
&lt;br&gt;</description>
      <author>rajeshr95</author>
      <pubDate>Tue, 22 Apr 2008 04:55:59 GMT</pubDate>
      <comments>https://quomon.com/46811/DIIFF-BETWEEN-ASP-Jscript#comments</comments>
      <category>information technology, images, forms, colors, browsers, asp.net 2, web development</category>
    </item>
    <item>
      <guid>https://quomon.com/46758/ASP-net-application</guid>
      <title>ASP.net application</title>
      <link>https://quomon.com/46758/ASP-net-application</link>
      <description>I have a server in the USA and data entry is done in Japan. when the users in Japan enters date they get error say the date is in the future. I  know this error result in the time differents but How do I fix this problem so that the my friends in Japan can enter date.</description>
      <author>easy1</author>
      <pubDate>Tue, 25 Mar 2008 15:42:14 GMT</pubDate>
      <comments>https://quomon.com/46758/ASP-net-application#comments</comments>
      <category>asp.net 2, servers, Errors</category>
    </item>
    <item>
      <guid>https://quomon.com/51257/how-i-split-a-string-if-it-has-two-differnt-symbol-as-</guid>
      <title>how i split a string if it has two differnt symbol as "," &amp;"-"</title>
      <link>https://quomon.com/51257/how-i-split-a-string-if-it-has-two-differnt-symbol-as-</link>
      <description>i have a string as
&lt;br&gt;my_string="java-3,os-2,internet-4,c-1,ospm-2"
&lt;br&gt;
&lt;br&gt;i want that each subject name and digit comes into different array
&lt;br&gt;how it, i can do</description>
      <author>deep0607</author>
      <pubDate>Sat, 01 Mar 2008 09:47:02 GMT</pubDate>
      <comments>https://quomon.com/51257/how-i-split-a-string-if-it-has-two-differnt-symbol-as-#comments</comments>
      <category>asp.net 2</category>
    </item>
    <item>
      <guid>https://quomon.com/51247/How-to-insert-SELECT-in-a-dropdown-list-in-Anthem-Net-to-promt-user-to-select-one-of-the-category</guid>
      <title>How to insert SELECT in a dropdown list in Anthem.Net to promt user to select one of the category.</title>
      <link>https://quomon.com/51247/How-to-insert-SELECT-in-a-dropdown-list-in-Anthem-Net-to-promt-user-to-select-one-of-the-category</link>
      <description>I am unable to insert the "select" as the first element in the dropdown list which is anthem dropdown in asp.net.The drop down list is filled by object data source.</description>
      <author>mahesh3bd</author>
      <pubDate>Tue, 12 Feb 2008 05:55:54 GMT</pubDate>
      <comments>https://quomon.com/51247/How-to-insert-SELECT-in-a-dropdown-list-in-Anthem-Net-to-promt-user-to-select-one-of-the-category#comments</comments>
      <category>asp.net 2, web development, Content Management System</category>
    </item>
    <item>
      <guid>https://quomon.com/51166/i-want-to-know-what-exactly-nhibernate-is-and-difference-between-sql-and-nhibernate</guid>
      <title>i want to know what exactly nhibernate is and difference between sql and nhibernate</title>
      <link>https://quomon.com/51166/i-want-to-know-what-exactly-nhibernate-is-and-difference-between-sql-and-nhibernate</link>
      <description>i want to know what exactly nhibernate is and difference between sql and nhibernate</description>
      <author>veenanallapaneni</author>
      <pubDate>Wed, 05 Dec 2007 01:55:54 GMT</pubDate>
      <comments>https://quomon.com/51166/i-want-to-know-what-exactly-nhibernate-is-and-difference-between-sql-and-nhibernate#comments</comments>
      <category>asp.net 2</category>
    </item>
    <item>
      <guid>https://quomon.com/46142/I-need-ur-help-plz</guid>
      <title>I need ur help.plz</title>
      <link>https://quomon.com/46142/I-need-ur-help-plz</link>
      <description>Hi guys.
&lt;br&gt;
&lt;br&gt; i can explain for my doubt with example.see.my table have multiple type of employee details like as Managmment,Programmer,Designers,Accountants,Contra ctEmployees.Each type of department having many employee details.Now my drop down list having types of department names like that above types of department names..if i select any one type of department data wil be display in gridview format .gridview data column as employee Name,Address,Phone_No,email_address and each every row with checkboxes.gridview showing data according to select the dept.No problem. first I select Managmment type of employee grid view showing that type of employee details ,here i checked first two employee details then i go to Programmer type of employee it showing that type employee details here i want to checked two employee details using checkbox after then i click button control,so we want two plus two, four employee details values..getting values i putting in arraylist then i puttong one view state.
&lt;br&gt;
&lt;br&gt;If we are not select dropdown list index change selecting checkbox values are getting proper. but problem is whenever i go to select dropdown list index change i mean page post back    previous checked checkbox values are getting improper.
&lt;br&gt;
&lt;br&gt;This one viewstate problem or dropdown list or gridview problem
&lt;br&gt;
&lt;br&gt; I  used arraylist stored in session state also. But no one improvement.
&lt;br&gt;
&lt;br&gt;see my code behind..whats problem in here code tell me..
&lt;br&gt;
&lt;br&gt; --------dropdown list selected change event-------------------------- 
&lt;br&gt;
&lt;br&gt;Protected Sub Selcon_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Selcon.SelectedIndexChanged getselected()databind1 () 
&lt;br&gt;
&lt;br&gt;setSelected()
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;End Sub 
&lt;br&gt;
&lt;br&gt;--------------Getting the checkbox values from gridview then put in session state-------------------
&lt;br&gt;
&lt;br&gt;Public Sub getselected() 
&lt;br&gt;
&lt;br&gt;Dim arrayListContactGroup As New ArrayList 
&lt;br&gt;
&lt;br&gt;If Session("ArrayList") IsNot Nothing ThenarrayListContactGroup = CType(Session("ArrayList"), ArrayList) 
&lt;br&gt;
&lt;br&gt;Session.Remove(
&lt;br&gt;
&lt;br&gt;"ArrayList") 
&lt;br&gt;
&lt;br&gt;End IfFor Each row As GridViewRow In gridview1.Rows 
&lt;br&gt;
&lt;br&gt;Dim chkselectcontacts As CheckBox = CType(row.FindControl("chksel"), CheckBox)Dim arraylistlabel As Label = CType(row.FindControl("contid"), Label) 
&lt;br&gt;
&lt;br&gt;If chkselectcontacts.Checked Then 
&lt;br&gt;
&lt;br&gt;If Not arrayListContactGroup.Contains(arraylistlabel.Text) Then 
&lt;br&gt;
&lt;br&gt;arrayListContactGroup.Add(arraylistlabel.Text)
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;End If 
&lt;br&gt;
&lt;br&gt;Else 
&lt;br&gt;
&lt;br&gt;If arrayListContactGroup.Contains(arraylistlabel.Text) Then 
&lt;br&gt;
&lt;br&gt;arrayListContactGroup.Remove(arraylistlabel.Text)
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;End If 
&lt;br&gt;
&lt;br&gt;End If 
&lt;br&gt;
&lt;br&gt;NextSession("ArrayList") = arrayListContactGroup 
&lt;br&gt;
&lt;br&gt;End Sub 
&lt;br&gt;
&lt;br&gt;-----------------checking the checkboxes are checked or unchecked from session state -----------------
&lt;br&gt;
&lt;br&gt;Public Sub setSelected() 
&lt;br&gt;
&lt;br&gt;Dim arrayListContactGroup As New ArrayList 
&lt;br&gt;
&lt;br&gt;If Session("ArrayList") IsNot Nothing ThenarrayListContactGroup = CType(Session("ArrayList"), ArrayList) 
&lt;br&gt;
&lt;br&gt;End IfFor Each row As GridViewRow In gridview1.Rows 
&lt;br&gt;
&lt;br&gt;Dim chkselectcontacts As CheckBox = CType(row.FindControl("chksel"), CheckBox)Dim arraylistlabel As Label = CType(row.FindControl("contid"), Label) 
&lt;br&gt;
&lt;br&gt;If arrayListContactGroup.Contains(arraylistlabel.Text) Then 
&lt;br&gt;
&lt;br&gt;chkselectcontacts.Checked = 
&lt;br&gt;
&lt;br&gt;True 
&lt;br&gt;
&lt;br&gt;Else 
&lt;br&gt;
&lt;br&gt;chkselectcontacts.Checked = 
&lt;br&gt;
&lt;br&gt;False 
&lt;br&gt;
&lt;br&gt;End If 
&lt;br&gt;
&lt;br&gt;Next 
&lt;br&gt;
&lt;br&gt;End Sub 
&lt;br&gt;
&lt;br&gt;---------Final stage checkbox values are submitting to the button control-------------
&lt;br&gt;
&lt;br&gt;Protected Sub btnsel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsel.Click getselected() 
&lt;br&gt;
&lt;br&gt;contactsselected()
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;End Sub 
&lt;br&gt;
&lt;br&gt;-------------checkbox values are passed to database then retrieve to requering field data .i wrote one function in Button control ---------------
&lt;br&gt;
&lt;br&gt;Public Sub contactsselected() 
&lt;br&gt;
&lt;br&gt;Dim arrayListContactGroup As New ArrayList 
&lt;br&gt;
&lt;br&gt;If Session("ArrayList") IsNot Nothing ThenarrayListContactGroup = CType(ViewState("ArrayList"), ArrayList) 
&lt;br&gt;
&lt;br&gt;End If 
&lt;br&gt;
&lt;br&gt;If arrayListContactGroup.Count = 0 ThenResponse.Write(" </description>
      <author>thanigaimani83</author>
      <pubDate>Mon, 19 Nov 2007 12:50:10 GMT</pubDate>
      <comments>https://quomon.com/46142/I-need-ur-help-plz#comments</comments>
      <category>asp.net 2, Visual Basic .NET, web development, information technology, Websites</category>
    </item>
    <item>
      <guid>https://quomon.com/51072/checkboxlist</guid>
      <title>checkboxlist</title>
      <link>https://quomon.com/51072/checkboxlist</link>
      <description>checkboxlist has 5 controls.
&lt;br&gt;        every end user is able to select  5 boxes but not less than one .asp.net
&lt;br&gt;</description>
      <author>bhanu36</author>
      <pubDate>Thu, 11 Oct 2007 11:43:53 GMT</pubDate>
      <comments>https://quomon.com/51072/checkboxlist#comments</comments>
      <category>asp.net 2</category>
    </item>
    <item>
      <guid>https://quomon.com/45906/how-can-i-use-asp-net-file-wth-php</guid>
      <title>how can i use asp.net file wth php</title>
      <link>https://quomon.com/45906/how-can-i-use-asp-net-file-wth-php</link>
      <description>this Q is Related to PHP and Asp.net.B'coz i have an website developed in PHP.But i want to enhance hat website with including some file of asp.net.</description>
      <author>guptad12</author>
      <pubDate>Wed, 10 Oct 2007 07:24:21 GMT</pubDate>
      <comments>https://quomon.com/45906/how-can-i-use-asp-net-file-wth-php#comments</comments>
      <category>asp.net 2, colors, Websites</category>
    </item>
    <item>
      <guid>https://quomon.com/45554/javascript-alert-to-warn-users-to-prevent-session-time-out-using-net-20</guid>
      <title>javascript alert to warn users to prevent session time out using .net 2.0</title>
      <link>https://quomon.com/45554/javascript-alert-to-warn-users-to-prevent-session-time-out-using-net-20</link>
      <description>i want to display a javascript alert to prevent session time out. if the user doesnt click then the session automatically expires after 30 sec and if the user clicks the the session shouldnt expire</description>
      <author>nilaybhatt</author>
      <pubDate>Wed, 05 Sep 2007 13:39:51 GMT</pubDate>
      <comments>https://quomon.com/45554/javascript-alert-to-warn-users-to-prevent-session-time-out-using-net-20#comments</comments>
      <category>asp.net 2</category>
    </item>
    <item>
      <guid>https://quomon.com/44230/Submit-when-pressing-enter</guid>
      <title>Submit when pressing enter?</title>
      <link>https://quomon.com/44230/Submit-when-pressing-enter</link>
      <description>How do I make it so that if a user is pressing the enter key when typing in a textbox, the form will be automatically submitted?</description>
      <author>david</author>
      <pubDate>Thu, 21 Dec 2006 07:26:22 GMT</pubDate>
      <comments>https://quomon.com/44230/Submit-when-pressing-enter#comments</comments>
      <category>JavaScript, html, asp.net 2</category>
    </item>
  </channel>
</rss>