Click here to Skip to main content
16,012,223 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSetting up an enviroment for sharpoint 2007 Pin
TheEagle3-Sep-08 21:36
TheEagle3-Sep-08 21:36 
QuestionHandling Browser Close button Pin
K V Sekhar3-Sep-08 21:30
K V Sekhar3-Sep-08 21:30 
AnswerRe: Handling Browser Close button Pin
Abhijit Jana3-Sep-08 22:43
professionalAbhijit Jana3-Sep-08 22:43 
GeneralRe: Handling Browser Close button Pin
K V Sekhar3-Sep-08 23:03
K V Sekhar3-Sep-08 23:03 
GeneralRe: Handling Browser Close button Pin
K V Sekhar4-Sep-08 0:07
K V Sekhar4-Sep-08 0:07 
AnswerRe: Handling Browser Close button Pin
eyeseetee3-Sep-08 22:57
eyeseetee3-Sep-08 22:57 
Questiongridview rowupdating using parametrized query. Pin
wajans3-Sep-08 21:20
wajans3-Sep-08 21:20 
QuestionGrid view issue while editing Pin
trilokharry3-Sep-08 20:27
trilokharry3-Sep-08 20:27 
How Can I use ListBox for multiple values in gridview in asp.net 2.0
while editing only.
look on below code:
<asp:GridView ID="grdBusScheduling" runat="server" ForeColor="#333333" DataKeyNames="DetailID"
AutoGenerateColumns="False" CellPadding="5" Visible="False" DataSourceID="SqlDataSource1">
<EmptyDataTemplate>
<b>There is no Bus Schedule</b>
</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Date">
<ItemTemplate>
<%#Eval("ForDate", "{0:dd-MMM-yyyy}")%>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="FareForAdult" HeaderText="Fare For Adult" />
<asp:BoundField DataField="FareForChild" HeaderText="Fare For Child" />
<asp:BoundField DataField="FareForSr" HeaderText="Fare For Senior" />
<%--<asp:BoundField DataField="OpenStatus" HeaderText="Open" />--%>
<asp:TemplateField HeaderText="Open">
<ItemTemplate>
<%#Eval("OpenStatus")%>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandField ShowEditButton="True" HeaderText="Edit" />
</Columns>
<FooterStyle BackColor="#003366" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#003366" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#003366" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringTravel %>"
SelectCommand="BusDetailSelectByFields" SelectCommandType="StoredProcedure"
UpdateCommand="BusDetailEditByDetailID" UpdateCommandType="StoredProcedure">
<SelectParameters>
<asp:ControlParameter ControlID="ddlCityFrom" Name="CityFromID" PropertyName="SelectedValue"
Type="Int64" />
<asp:ControlParameter ControlID="ddlCityTo" Name="CityToID" PropertyName="SelectedValue"
Type="Int64" />
<asp:ControlParameter ControlID="ddlBusType" Name="BusTypeID" PropertyName="SelectedValue"
Type="Int64" />
<asp:ControlParameter ControlID="ddlVendor" Name="VendorID" PropertyName="SelectedValue"
Type="Int64" />
<asp:ControlParameter ControlID="ddlBus" Name="BusID" PropertyName="SelectedValue"
Type="Int64" />
<asp:ControlParameter ControlID="Date1" Name="FromDate" PropertyName="Text" Type="DateTime" />
<asp:ControlParameter ControlID="Date2" Name="ToDate" PropertyName="Text" Type="DateTime" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="DetailID" Type="Int64" />
<asp:Parameter Name="FareForAdult" Type="Int64" />
</UpdateParameters>
<UpdateParameters>
<asp:Parameter Name="DetailID" Type="Int64" />
<asp:Parameter Name="FareForChild" Type="Int64" />
</UpdateParameters>
<UpdateParameters>
<asp:Parameter Name="DetailID" Type="Int64" />
<asp:Parameter Name="FareForSr" Type="Int64" />
</UpdateParameters>

</asp:SqlDataSource>

You get the best out of others when you give the best of yourself.

QuestionEmail domain verification code not working Pin
Learning IT3-Sep-08 20:23
Learning IT3-Sep-08 20:23 
AnswerRe: Email domain verification code not working Pin
Guffa3-Sep-08 20:45
Guffa3-Sep-08 20:45 
GeneralRe: Email domain verification code not working Pin
Learning IT3-Sep-08 21:31
Learning IT3-Sep-08 21:31 
QuestionAdding the Datatable values to GridView in .net 2005 Pin
Karan_TN3-Sep-08 20:19
Karan_TN3-Sep-08 20:19 
Questiondisplay Records details inside formview on linkbutton click (problem) Pin
Rameez Raja3-Sep-08 20:01
Rameez Raja3-Sep-08 20:01 
QuestionDownload three datagrid in one excel file Pin
Tarun Dudhatra3-Sep-08 19:19
Tarun Dudhatra3-Sep-08 19:19 
QuestionUsing Aspnet_regsql.exe Pin
ASPnoob3-Sep-08 17:26
ASPnoob3-Sep-08 17:26 
Question3.5 sp1 and vs 2008 sp1 Pin
ToddHileHoffer3-Sep-08 6:06
ToddHileHoffer3-Sep-08 6:06 
AnswerRe: 3.5 sp1 and vs 2008 sp1 Pin
ToddHileHoffer3-Sep-08 8:23
ToddHileHoffer3-Sep-08 8:23 
GeneralRe: 3.5 sp1 and vs 2008 sp1 Pin
N a v a n e e t h3-Sep-08 17:21
N a v a n e e t h3-Sep-08 17:21 
QuestionHTML CONTROL Pin
kibromg3-Sep-08 4:40
kibromg3-Sep-08 4:40 
AnswerRe: HTML CONTROL Pin
NeverHeardOfMe3-Sep-08 4:50
NeverHeardOfMe3-Sep-08 4:50 
AnswerRe: HTML CONTROL Pin
Pete O'Hanlon3-Sep-08 4:51
mvePete O'Hanlon3-Sep-08 4:51 
GeneralRe: HTML CONTROL Pin
kibromg3-Sep-08 5:07
kibromg3-Sep-08 5:07 
AnswerRe: HTML CONTROL Pin
Perspx3-Sep-08 6:03
Perspx3-Sep-08 6:03 
GeneralRe: HTML CONTROL [modified] Pin
NeverHeardOfMe3-Sep-08 5:55
NeverHeardOfMe3-Sep-08 5:55 
GeneralRe: HTML CONTROL Pin
ToddHileHoffer3-Sep-08 6:12
ToddHileHoffer3-Sep-08 6:12 

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.