Click here to Skip to main content
15,890,123 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: SqlCommands.ExecuteNonQuery always return -1 Pin
Parwej Ahamad18-Jul-09 22:25
professionalParwej Ahamad18-Jul-09 22:25 
GeneralRe: SqlCommands.ExecuteNonQuery always return -1 Pin
vnsraj18-Jul-09 23:25
vnsraj18-Jul-09 23:25 
GeneralRe: SqlCommands.ExecuteNonQuery always return -1 Pin
Abhijit Jana19-Jul-09 0:26
professionalAbhijit Jana19-Jul-09 0:26 
AnswerRe: SqlCommands.ExecuteNonQuery always return -1 Pin
Blue_Boy18-Jul-09 22:29
Blue_Boy18-Jul-09 22:29 
AnswerRe: SqlCommands.ExecuteNonQuery always return -1 Pin
Abhijit Jana18-Jul-09 23:22
professionalAbhijit Jana18-Jul-09 23:22 
Questionprint continuously in javascript Pin
billcodes18-Jul-09 21:22
billcodes18-Jul-09 21:22 
AnswerRe: print continuously in javascript Pin
Christian Graus19-Jul-09 14:05
protectorChristian Graus19-Jul-09 14:05 
Questionproblem with DataSource & GridView Pin
Sider8918-Jul-09 19:46
Sider8918-Jul-09 19:46 
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DataObjectTypeName="G1_OnlineStoreObjects.Book"
        DeleteMethod="Delete" SelectMethod="LoadBySeries" TypeName="G1_OnlineStoreDAO.BookDAO"
        UpdateMethod="Update">
        < SelectParameters >
            <asp:QueryStringParameter Name="seriesID" Type="Int32" QueryStringField="SeriesID" />
        < / SelectParameters >
    < / asp:ObjectDataSource >
    
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" DataObjectTypeName="G1_OnlineStoreObjects.Book"
        DeleteMethod="Delete" SelectMethod="LoadByVolumes" TypeName="G1_OnlineStoreDAO.BookDAO"
        UpdateMethod="Update">
        < SelectParameters >
            <asp:QueryStringParameter Name="volumeID" Type="Int32" QueryStringField="VolumeID" />
        < / SelectParameters >
    < / asp:ObjectDataSource >

 <asp:GridView Visible="false" ID="GridView1" runat="server" AutoGenerateColumns="False"
        DataKeyNames="ID,SeriesID,VolumeID" DataSourceID="ObjectDataSource1" CellPadding="4"
        ForeColor="#333333" GridLines="None">
        < Columns >
            <asp:CommandField ShowEditButton="True" ShowDeleteButton="True" />
            <asp:BoundField DataField="BookName" HeaderText="BookName" SortExpression="BookName" />
        < / Columns >
< / asp:GridView >

 <asp:GridView Visible="false" ID="GridView2" runat="server" AutoGenerateColumns="False" DataKeyNames="ID,VolumeID,SeriesID"
        CellPadding="4" DataSourceID="ObjectDataSource2" ForeColor="#333333" GridLines="None">
        < Columns >
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="BookName" HeaderText="BookName" SortExpression="BookName" />
        < / Columns >   
    < / asp:GridView >



besides that i have 2 page: Series.aspx and Volume.aspx. in Series when I click at some field I want it redirect me on ObjectDataSource1 and GridView1. like that when I click at Volume's field must redirect me on ObjectDataSource2 and GridView2.

How different this 2 DataSource in codebehind?

C# Developer

Questionbind css to web user control Pin
Spurple18-Jul-09 1:01
Spurple18-Jul-09 1:01 
AnswerRe: bind css to web user control Pin
Abhijit Jana18-Jul-09 1:08
professionalAbhijit Jana18-Jul-09 1:08 
AnswerRe: bind css to web user control Pin
Brij18-Jul-09 1:09
mentorBrij18-Jul-09 1:09 
QuestionSending mail....problem Pin
RajpootRohan18-Jul-09 0:11
professionalRajpootRohan18-Jul-09 0:11 
AnswerRe: Sending mail....problem Pin
Abhijit Jana18-Jul-09 0:22
professionalAbhijit Jana18-Jul-09 0:22 
AnswerRe: Sending mail....problem Pin
Gary Stafford18-Jul-09 4:07
Gary Stafford18-Jul-09 4:07 
QuestionShow Routeplanner to HighSlidepopup in .net Pin
getaccessyr18-Jul-09 0:04
getaccessyr18-Jul-09 0:04 
AnswerRe: Show Routeplanner to HighSlidepopup in .net Pin
Abhijit Jana18-Jul-09 0:34
professionalAbhijit Jana18-Jul-09 0:34 
GeneralRe: Show Routeplanner to HighSlidepopup in .net Pin
getaccessyr19-Jul-09 19:40
getaccessyr19-Jul-09 19:40 
QuestionNeed help! Excel 2007 throiwng RPC failed/RPC Unavailable exception on large datasets Pin
Member 420977017-Jul-09 23:09
Member 420977017-Jul-09 23:09 
Questionmenu Pin
mylogics17-Jul-09 21:23
professionalmylogics17-Jul-09 21:23 
AnswerRe: menu Pin
Blue_Boy17-Jul-09 22:24
Blue_Boy17-Jul-09 22:24 
GeneralRe: menu Pin
Manas Bhardwaj17-Jul-09 22:28
professionalManas Bhardwaj17-Jul-09 22:28 
GeneralRe: menu Pin
Blue_Boy17-Jul-09 22:31
Blue_Boy17-Jul-09 22:31 
GeneralRe: menu Pin
Abhijit Jana17-Jul-09 22:33
professionalAbhijit Jana17-Jul-09 22:33 
AnswerRe: menu Pin
Manas Bhardwaj17-Jul-09 22:27
professionalManas Bhardwaj17-Jul-09 22:27 
Questionblank forms submitting on server, all validations not working. Pin
er.puneet17-Jul-09 19:57
er.puneet17-Jul-09 19:57 

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.