No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
can u plz tel me how to retrive only date from DateTime in C#. ex: 06/03/2008 12:00:00 i need only date 06/03/2008 in my application.
here wat info u want to populate into the textbox.. and when do u want to populate the text box on page load or on some event click.
Hi.., all, I need both date and time to be displayed in my grid view in the dd/MM HH:mm format. I used dataformatstring={0:dd/MM HH:mm} but its not giving wat i need. so please can u suggest what should i do to get my problem solved. Thanks in advance.
//code for aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="_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 runat="server"> <title>Untitled Page</title> </head> <body style="text-align: center; color: navy; background-color: #ffffcc;"> <form id="form1" runat="server"> <div > <asp:Label ID="lblLogin" runat="server" Font-Bold="True" Font-Names="Shruti" Font-Size="XX-Large" Height="48px" Text="User Login" Width="170px"></asp:Label><br …
hi... Its urgent please help in main page i'm filtering the records. filtered records are displayed in the grid which contains a hypelink to other page. when i navigate to other page and come back to main page i need to maintain the filtered criteria on the main page. please …
[QUOTE=ku4n;624160][B][COLOR="Red"]This is my Default.aspx.cs[/COLOR][/B] using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { …
string strlen; strlen=txtstr.txt.Length.tostring(); // if u r directly taking from the textbox control. string strlen; strlen=somestring.Length;// in general
After creating the table i tried to specify the unique key constraint in sql server 2005 but its asking for the expression. I don't know what to give in that expression. can u please help me out in this. thanx in advance.
Can u plz tell how u did this..
How we can allow only excel sheet to be uploaded in file uppload functionality.
The End.
vinaya