Click here to Skip to main content
15,890,123 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionexpress checkout keep loading did'tn return to merchant Pin
awakepoh6-Feb-12 21:09
awakepoh6-Feb-12 21:09 
AnswerRe: express checkout keep loading did'tn return to merchant Pin
Richard MacCutchan6-Feb-12 22:48
mveRichard MacCutchan6-Feb-12 22:48 
QuestionKilling the session on click of Brwoser X Pin
hooters_263-Feb-12 1:44
hooters_263-Feb-12 1:44 
AnswerRe: Killing the session on click of Brwoser X Pin
Dave Kreskowiak3-Feb-12 2:30
mveDave Kreskowiak3-Feb-12 2:30 
AnswerRe: Killing the session on click of Brwoser X Pin
sund7wells5-Feb-12 20:05
sund7wells5-Feb-12 20:05 
GeneralRe: Killing the session on click of Brwoser X Pin
Not Active6-Feb-12 1:33
mentorNot Active6-Feb-12 1:33 
QuestionCould I improve my class which contains multiple class references Pin
Simon_Whale2-Feb-12 22:48
Simon_Whale2-Feb-12 22:48 
Question.net GridView error(server tag not well formed) Pin
brindhasudar2-Feb-12 5:21
brindhasudar2-Feb-12 5:21 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication2._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<p style="text-align:right;">

<asp:Button ID="btnAdd" runat="Server" Text="Add New Record" OnClick="AddNewRecord" /></p>


<asp:GridView ID="GridView1" runat="Server" AutoGenerateColumns="False"BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"CellPadding="4" ForeColor="Black" GridLines="Vertical" SkinID="RecordList" Width="100%"OnRowCommand="GridView1_OnRowCommand1" ShowFooter="False" AutoGenerateEditButton="true" OnRowEditing="EditRecord" OnRowCancelingEdit="CancelRecord"OnRowUpdating="UpdateRecords" DataKeyNames="AutoID" EnableViewState="True">

<Columns>

<asp:BoundField DataField="AutoID" HeaderText="AutoID" ReadOnly="True" />

<asp:TemplateField HeaderText="UserName">
<ItemTemplate><%# Eval("UserName") %></ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtUserName" runat="Server" Text='<%# Eval("UserName") %>'></asp:TextBox>
</EditItemTemplate>
<FooterTemplate><asp:TextBox ID="txtNewUserName" runat="Server"></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="Password">
<ItemTemplate><%# Eval("Password") %></ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtPassword" runat="Server" Text='<%# Eval("Password") %>'></asp:TextBox>
</EditItemTemplate>
<FooterTemplate><asp:TextBox ID="txtNewPassword" runat="Server"></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="SuperPassword">
<ItemTemplate><%# Eval("SuperPassword") %></ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtSuperPassword" runat="Server" Text='<%# Eval("SuperPassword") %>'></asp:TextBox></EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtNewSuperPassword" runat="Server"></asp:TextBox></FooterTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="UserType">
<ItemTemplate><%# Eval("UserType") %></ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="dropType" runat="server" SelectedValue='<%# Eval("UserType").ToString() %>'>
<asp:ListItem Text="Admin" Value="Admin"></asp:ListItem><asp:ListItem Text="Maint" Value="Maint"></asp:ListItem>
</asp:DropDownList>
</EditItemTemplate>
<FooterTemplate>
<asp:DropDownList ID="NewdropType" runat="server">
<asp:ListItem Text="Admin" Value="Admin">
</asp:ListItem><asp:ListItem Text="Maint" Value="Maint">
</asp:ListItem></asp:DropDownList>
</FooterTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="AdminDesc">
<ItemTemplate><%# Eval("AdminDesc") %></ItemTemplate>
<EditItemTemplate><asp:TextBox ID="txtAdminDesc" Columns="30" runat="Server" Text='<%# Eval("AdminDesc") %>'>
</asp:TextBox></EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtNewAdminDesc" runat="Server" Text='<%# Eval("AdminDesc") %>'></asp:TextBox>
</FooterTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="Active">
<ItemTemplate><%# Eval("Active") %></ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="dropActive" runat="server" SelectedValue='<%# Eval("Active").ToString().ToLower().Equals("true") ? "True" : "False" %>'><asp:ListItem Text="Yes" Value="True"></asp:ListItem><asp:ListItem Text="No" Value="False"></asp:ListItem></asp:DropDownList></EditItemTemplate>
<FooterTemplate><asp:DropDownList ID="dropNewActive" runat="server"><asp:ListItem Text="Yes" Value="True"></asp:ListItem><asp:ListItem Text="No" Value="False"></asp:ListItem></asp:DropDownList> <br />
<asp:Button ID="butIns" runat="Server" Text="Insert" CommandName="Insert" UseSubmitBehavior="False" /></FooterTemplate>
</asp:TemplateField>

</Columns>



<FooterStyle BackColor="#CCCC99" /><RowStyle BackColor="#F7F7DE" />
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" /><HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />


<EmptyDataTemplate>UserName
<asp:TextBox ID="txtUserName2" runat="Server"></asp:TextBox> Password
<asp:TextBox ID="txtPassword2" runat="Server"></asp:TextBox> SuperPassword
<asp:TextBox ID="txtSuperPassword2" runat="Server"></asp:TextBox> User Type
<asp:DropDownList ID="dropType2" runat="server">
<asp:ListItem Text="Admin2" Value="Admin"></asp:ListItem>
<asp:ListItem Text="Maint" Value="Maint"></asp:ListItem></asp:DropDownList> Admin Desc

<asp:TextBox ID="txtAdminDesc3" runat="Server" /> Active
<asp:DropDownList ID="dropActive3" runat="server">
<asp:ListItem Text="Yes" Value="True"></asp:ListItem>
<asp:ListItem Text="No" Value="False"></asp:ListItem></asp:DropDownList>

<asp:Button ID="btnInsert" runat="Server" Text="Insert" CommandName="EmptyInsert" UseSubmitBehavior="False" />

</EmptyDataTemplate>

</asp:GridView>

</div>
</form>
</body>
</html>
GeneralRe: .net GridView error(server tag not well formed) Pin
Manfred Rudolf Bihy2-Feb-12 5:37
professionalManfred Rudolf Bihy2-Feb-12 5:37 
Question.Net and Windows API Pin
Mohibur Rashid1-Feb-12 22:43
professionalMohibur Rashid1-Feb-12 22:43 
AnswerRe: .Net and Windows API Pin
Dave Kreskowiak2-Feb-12 2:23
mveDave Kreskowiak2-Feb-12 2:23 
GeneralRe: .Net and Windows API Pin
Mohibur Rashid2-Feb-12 11:35
professionalMohibur Rashid2-Feb-12 11:35 
GeneralRe: .Net and Windows API Pin
Dave Kreskowiak2-Feb-12 13:40
mveDave Kreskowiak2-Feb-12 13:40 
AnswerRe: .Net and Windows API Pin
Abhinav S2-Feb-12 5:28
Abhinav S2-Feb-12 5:28 
QuestionCreating Admin Page Pin
pimzy31-Jan-12 18:38
pimzy31-Jan-12 18:38 
AnswerRe: Creating Admin Page Pin
Richard MacCutchan31-Jan-12 21:23
mveRichard MacCutchan31-Jan-12 21:23 
GeneralRe: Creating Admin Page Pin
pimzy1-Feb-12 19:58
pimzy1-Feb-12 19:58 
AnswerRe: Creating Admin Page Pin
Eddy Vluggen1-Feb-12 12:25
professionalEddy Vluggen1-Feb-12 12:25 
GeneralRe: Creating Admin Page Pin
pimzy1-Feb-12 19:57
pimzy1-Feb-12 19:57 
GeneralRe: Creating Admin Page Pin
Eddy Vluggen2-Feb-12 5:54
professionalEddy Vluggen2-Feb-12 5:54 
QuestionWhich books to refer..... Pin
Jαved30-Jan-12 21:18
professionalJαved30-Jan-12 21:18 
AnswerRe: Which books to refer..... Pin
thatraja30-Jan-12 22:25
professionalthatraja30-Jan-12 22:25 
Questiongrid view Pin
arockiarajaro0329-Jan-12 23:01
arockiarajaro0329-Jan-12 23:01 
AnswerRe: grid view Pin
Abhinav S29-Jan-12 23:28
Abhinav S29-Jan-12 23:28 
QuestionHow to pause and restart a Thread Pin
dwadasi27-Jan-12 4:56
dwadasi27-Jan-12 4: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.