|
Can U please provide the code?
Regards,
Arun Kumar.A
|
|
|
|
|
This normally means that the security has been locked down so that you can't fire things off.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
hi friends
how to create rating system in asp.net,c#.net
regards
saravanan
|
|
|
|
|
The Five Star Rating System means look at the article in CP Rating System[^] By Andrey Butov.
This will help you to create the rating System.
Regards,
Satips.
|
|
|
|
|
|
In my grid view I want to show only date but it is showing date and time.
How can I show Date only
|
|
|
|
|
Check for DataFormatString property in your Columns.
Mazy
"This chancy chancy chancy world."
|
|
|
|
|
Thank you can you tell me how should I give inside the property column.
I had given like this{dd/mmm/yyyy} but it is showing eror(input string is not in correct format).
|
|
|
|
|
U can do this in query it self, use this:
SELECT Convert(nvarchar(11), Ur Date , 13) AS DateOnly
From Table.
Hope this helps u....
|
|
|
|
|
hi,
you can use split function, then it will solve.
thanks
|
|
|
|
|
A kamath wrote: I had given like this{dd/mmm/yyyy} but it is showing eror(input string is not in correct format).
give it as {dd/mm/yyyy} then it will not show Error.
Regards,
Satips.
|
|
|
|
|
|
Paste your code here we will check it out.
Regards,
Satips.
|
|
|
|
|
<asp:boundfield datafield="RECIEVEDDATE" headertext="RECIEVEDDATE" sortexpression="RECIEVEDDATE" dataformatstring="{dd/mm/yyyy}">
|
|
|
|
|
Regards,
Satips.
|
|
|
|
|
<asp:BoundField DataField="RECIEVEDDATE" HeaderText="RECIEVEDDATE" SortExpression="RECIEVEDDATE" DataFormatString="{dd/mm/yyyy}" />
|
|
|
|
|
In the BoundField event of the DataGrid, Place you code to convert the format.
private void dg_BoundField(object, e)
{
e.Items[3].Value = ((System.DateTime) e.Items[3]).ToString("dd/MM/yyyy",
System.Globalization.DateTimeFormatInfo.InvariantI nfo)
}
Try with this code this will solve your problem.
It will display only date.
Regards,
Satips.
|
|
|
|
|
|
Welcome.
Regards,
Satips.
|
|
|
|
|
Hi,
Better you check for the proper formatstring on the google.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
hi,
You can set
DataFormatString="{0 }" to your column in datagrid
hope it will work
|
|
|
|
|
Respected Gurus
I get the following error whenever i try to create or open a web application.
"A connection with the server could not be established."
I think this is the problem related to IIS
plz suggest some solution.......
|
|
|
|
|
Install IIS ? Make sure ASP.NET is installed ( run aspnet_regiis from your .NET directory, I think it's -i to install )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i cannot find aspnet_regiis
i tried the path C:\WINNT\Microsoft.NET\Framework\v1.1.4322
i had installed IIS version 5.1
what to do
|
|
|
|
|
I built the first few pages of a app and i think it's looking good (the last web app i built was in cold fusion just after IE 4 came out).
As seems to be the standard I've separated my javascript and css from the HTML and it all seemed to be looking nice and clean.
I decided to attach a master page so that i could have consistent menus across pages. I then had to change my javascript to reflect the new names that asp had given all my controls. Shortly after i realised i wanted a master above that because i want the look and feel available for my login screen but the menus shouldn't have loaded at that point. At this point i've realised that i need a more sensible approach then renaming again. All the MS docs suggest that i should emit my JS at runtime to get round this, for all sorts of reasons this is not a path i want to go down. Anything i've dreamt up seems to require my master pages knowing something about the content of their children.
How do other people get round these kinds of problems?
Russell
|
|
|
|