Click here to Skip to main content
15,898,134 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: No GotFocus focus event in ASP.NET! Pin
Christian Graus8-Oct-09 9:18
protectorChristian Graus8-Oct-09 9:18 
QuestionHow do I display a frameless popup window? Pin
tunsten8-Oct-09 8:38
tunsten8-Oct-09 8:38 
AnswerRe: How do I display a frameless popup window? Pin
Christian Graus8-Oct-09 9:19
protectorChristian Graus8-Oct-09 9:19 
GeneralRe: How do I display a frameless popup window? Pin
awedaonline12-Oct-09 1:39
awedaonline12-Oct-09 1:39 
QuestionSMTPClient sends to spam but webclient sends to inbox (gmail) Pin
sigurdur einarsson8-Oct-09 7:45
sigurdur einarsson8-Oct-09 7:45 
QuestionDropdown list issue Pin
Aptiva Dave8-Oct-09 4:52
Aptiva Dave8-Oct-09 4:52 
AnswerRe: Dropdown list issue Pin
Imran Khan Pathan9-Oct-09 2:15
Imran Khan Pathan9-Oct-09 2:15 
GeneralRe: Dropdown list issue Pin
Aptiva Dave9-Oct-09 3:09
Aptiva Dave9-Oct-09 3:09 
Here it is. I've taken out the code that loads some of the other information from the session variables:
If Not IsPostBack Then
           
            ''load address info
            lblStreet.Text = Session("Street").ToString
            txtStreet.Text = Session("Street").ToString
            lblCity.Text = Session("City").ToString
            txtCity.Text = Session("City").ToString
            'pull state name from database
            Dim rdr As SqlDataReader = GetReader( _
                "select * from States where stateID = '" & Session("State").ToString & "'")
            Try
                While rdr.Read
                    lblState.Text = rdr("Name").ToString
                    dropState.SelectedValue = rdr("stateID").ToString
                End While
            Catch ex As Exception
                lblState.Text = Session("State").ToString
            Finally
                rdr.Close()
            End Try

            lblZip.Text = Session("Zip").ToString
            txtZip.Text = Session("Zip").ToString
            If Session("County").ToString <> "Null" Then
                lblLblCounty.Visible = True
                lblLblCounty.Text = "<label>County</label><br />" & _
                    "<label class=""displayLbl"">" & Session("County").ToString & "</label>"
                lblCountyEdit.Visible = True
                txtCounty.Visible = True
                txtCounty.Text = Session("County").ToString
            End If
        End If

QuestionInsert <br> for every 10 characters of asp label in C#.net</br> [modified] Pin
getaccessyr8-Oct-09 4:34
getaccessyr8-Oct-09 4:34 
AnswerRe: Insert for every 10 characters of asp label in C#.net Pin
Christian Graus8-Oct-09 9:26
protectorChristian Graus8-Oct-09 9:26 
GeneralRe: Insert for every 10 characters of asp label in C#.net Pin
getaccessyr8-Oct-09 19:27
getaccessyr8-Oct-09 19:27 
AnswerRe: Insert for every 10 characters of asp label in C#.net Pin
Imran Khan Pathan9-Oct-09 2:28
Imran Khan Pathan9-Oct-09 2:28 
QuestionTextChanged Event of a textbox does not do an ajax postBack [modified] Pin
Sudhanshu Mani Tripathi8-Oct-09 4:03
Sudhanshu Mani Tripathi8-Oct-09 4:03 
AnswerRe: TextChanged Event of a textbox does not do an ajax postBack Pin
Vimalsoft(Pty) Ltd8-Oct-09 4:17
professionalVimalsoft(Pty) Ltd8-Oct-09 4:17 
QuestionSession Pin
Sneha Bisht8-Oct-09 2:57
Sneha Bisht8-Oct-09 2:57 
AnswerRe: Session Pin
Not Active8-Oct-09 3:25
mentorNot Active8-Oct-09 3:25 
AnswerRe: Session Pin
Abhijit Jana8-Oct-09 3:28
professionalAbhijit Jana8-Oct-09 3:28 
AnswerRe: Session Pin
Vimalsoft(Pty) Ltd8-Oct-09 4:11
professionalVimalsoft(Pty) Ltd8-Oct-09 4:11 
AnswerRe: Session Pin
Christian Graus8-Oct-09 9:28
protectorChristian Graus8-Oct-09 9:28 
QuestionAdd Calender Control In Asp.Net GridView Control without PostBack The Page Pin
lrsalunkhe8-Oct-09 1:14
lrsalunkhe8-Oct-09 1:14 
AnswerRe: Add Calender Control In Asp.Net GridView Control without PostBack The Page Pin
Christian Graus8-Oct-09 1:15
protectorChristian Graus8-Oct-09 1:15 
AnswerRe: Add Calender Control In Asp.Net GridView Control without PostBack The Page Pin
Abhijit Jana8-Oct-09 3:32
professionalAbhijit Jana8-Oct-09 3:32 
QuestionStreamReader and StreamWrite for Text file Pin
sjs4u8-Oct-09 0:33
sjs4u8-Oct-09 0:33 
AnswerRe: StreamReader and StreamWrite for Text file Pin
Christian Graus8-Oct-09 1:10
protectorChristian Graus8-Oct-09 1:10 
AnswerRe: StreamReader and StreamWrite for Text file Pin
Atif Ali Bhatti8-Oct-09 1:56
Atif Ali Bhatti8-Oct-09 1:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.