Click here to Skip to main content
15,897,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncreating new control in code behind Pin
eyeseetee30-Jul-08 2:34
eyeseetee30-Jul-08 2:34 
AnswerRe: creating new control in code behind Pin
windhopper30-Jul-08 2:39
windhopper30-Jul-08 2:39 
AnswerRe: creating new control in code behind Pin
namn30-Jul-08 2:55
namn30-Jul-08 2:55 
AnswerRe: creating new control in code behind Pin
eyeseetee30-Jul-08 3:10
eyeseetee30-Jul-08 3:10 
AnswerRe: creating new control in code behind Pin
Anudeep Jaiswal31-Jul-08 1:39
Anudeep Jaiswal31-Jul-08 1:39 
QuestionProblem with GridView updating all records in database Pin
Dannyrod30-Jul-08 2:23
Dannyrod30-Jul-08 2:23 
AnswerRe: Problem with GridView updating all records in database Pin
Dannyrod30-Jul-08 2:57
Dannyrod30-Jul-08 2:57 
GeneralRe: Problem with GridView updating all records in database Pin
Dannyrod4-Aug-08 3:48
Dannyrod4-Aug-08 3:48 
Code in page:

<asp:accessdatasource id="DS1" runat="server" datafile="~/App_Data/ETS.mdb" xmlns:asp="#unknown">
   SelectCommand="SELECT ItemName, [Input], TimeOfInput, [User] FROM Turnovers WHERE (ChklstID = ?) AND (SecID = ?)"

           UpdateCommand="UPDATE Turnovers SET [Input] = ? WHERE (ChklstID = ?) AND (SecID = ?)">
           <UpdateParameters>
               <asp:SessionParameter Name="Checklist" SessionField="Checklist" Type="Int32" />
               <asp:SessionParameter Name="Section" SessionField="CurrentSection" Type="Int32" />
           </UpdateParameters>
           <SelectParameters>
               <asp:SessionParameter Name="Checklist" SessionField="Checklist" Type="Int32" />
               <asp:SessionParameter Name="Section" SessionField="CurrentSection" Type="Int32" />
           </SelectParameters>
       </asp:AccessDataSource></asp:accessdatasource>


Code Behind file:

Protected Sub NextSec_Click(ByVal sender As Object, ByVal e As EventArgs) Handles NextSec.Click
    If Session.Item("CurrentSection") <> 10 Then
        Session.Item("CurrentSection") += 1
    End If
End Sub

Protected Sub PrevSec_Click(ByVal sender As Object, ByVal e As EventArgs) Handles PrevSec.Click
    If Session.Item("CurrentSection") <> 1 Then
        Session.Item("CurrentSection") -= 1
    End If
End Sub


Someone please answer...
QuestionUnable to connect to an asp.net 2.0 using IP address with it is possible to connect using localHost [modified] Pin
Hassan Amaar30-Jul-08 2:04
Hassan Amaar30-Jul-08 2:04 
AnswerRe: Unable to connect to an asp.net 2.0 using IP address with it is possible to connect using localHost Pin
dadda_mac30-Jul-08 11:27
dadda_mac30-Jul-08 11:27 
QuestionJavascript implementation Pin
windhopper30-Jul-08 1:53
windhopper30-Jul-08 1:53 
Questiondisplaying user controls on form Pin
shruti tupkari30-Jul-08 1:46
shruti tupkari30-Jul-08 1:46 
QuestionImage display problem on crystal report in asp.net page Pin
Nagraj Naik30-Jul-08 1:26
Nagraj Naik30-Jul-08 1:26 
AnswerRe: Image display problem on crystal report in asp.net page Pin
azizogluali221-Dec-09 22:44
azizogluali221-Dec-09 22:44 
AnswerRe: Image display problem on crystal report in asp.net page Pin
Debashree257-Apr-10 23:19
Debashree257-Apr-10 23:19 
Questionupdatepanel inside modalpopup Pin
legend_of_zanado30-Jul-08 1:26
legend_of_zanado30-Jul-08 1:26 
AnswerRe: updatepanel inside modalpopup Pin
Venkatesh Mookkan30-Jul-08 1:34
Venkatesh Mookkan30-Jul-08 1:34 
GeneralRe: updatepanel inside modalpopup Pin
legend_of_zanado30-Jul-08 1:47
legend_of_zanado30-Jul-08 1:47 
Questionhide my form window............, Pin
Member 387988130-Jul-08 1:08
Member 387988130-Jul-08 1:08 
JokeRe: hide my form window............, Pin
Venkatesh Mookkan30-Jul-08 1:16
Venkatesh Mookkan30-Jul-08 1:16 
Questionauto resiging images in asp.net2.0 Pin
nileshsaraf30-Jul-08 1:05
nileshsaraf30-Jul-08 1:05 
AnswerRe: auto resiging images in asp.net2.0 Pin
Venkatesh Mookkan30-Jul-08 1:19
Venkatesh Mookkan30-Jul-08 1:19 
QuestionAsp.net Validation Controls are not working in Mozilla. Pin
Khawar Abbas130-Jul-08 1:01
Khawar Abbas130-Jul-08 1:01 
AnswerRe: Asp.net Validation Controls are not working in Mozilla. Pin
eyeseetee30-Jul-08 1:09
eyeseetee30-Jul-08 1:09 
GeneralRe: Asp.net Validation Controls are not working in Mozilla. Pin
Khawar Abbas130-Jul-08 1:19
Khawar Abbas130-Jul-08 1:19 

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.