|
how to get day no from any datetime in sql and asp.net.
like-sun 0,mon 1,...
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Can you explain much more your question?
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Is this a SQL question ? Ask it in the SQL forum. DatePart is probably what you want.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hey all. I have an ASP.net website that I would like to publish on a hosting server. But I would also like to be able to modify it directly without too much hassle. The problem right now is that once I publish it I can't directly change the code.
Can this be done? Or is it impossible since ASP.net is precompiled? :/
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
Which version of Asp.net are you using?
Apurva Kaushal
|
|
|
|
|
2
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
If you are making changes in the aspx pages then you just need to replace the same page there in hosting environment. The same case is there with the cs files also unless you are using the dlls for them.
Apurva Kaushal
|
|
|
|
|
yes but i want to access, and make changes to, the website remotely... can it be done?
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
I think yes you can open a remote web site from Visual Studio 2005 IDE.
Apurva Kaushal
|
|
|
|
|
Is it possible to resize the image at the time of uploading in asp.net.Actually I want to store only resized images in my database so that less space is occupied.
nilesh kumar saraf
|
|
|
|
|
Yes you can resize the image in asp.net. Here in this[^] article you can get the details of how to resize an image in Asp.net.
Apurva Kaushal
|
|
|
|
|
i m running my site with differnt browsers
it is working fine with IE
but the shapes and positions of controls are changing in Mozilla fire fox
can u tell mw what is the problem
thank u
vijay kumar d
|
|
|
|
|
There are different Javascript and tag that are not supported by cross browser.we can put a check on which browser the application is running and accrodingly define it.I think you can get better answer when you'll write the specific problem
Cheers!!
Brij
|
|
|
|
|
my problem is
i have a button, its size is changed when i run my site thru mozilla
the same site if i run thru IE it is fine .
where button position is absolute
i placed a button on a image if user clicks it then the corresponding data is shown to user in new page
but when i run it thru mozilla then button looks small and button text is not clearly visibled...
this is my problem
can i know the syntax for writing javascript basing on the browsers
plz tell me in detail about this
thank u
vijay kumar d
|
|
|
|
|
Hi Guys,
Im using asp.net2.0,i have created web setup .msi installation file.In the client machine they doesnt have framework2.0 and iis6.0,so i have include framework2.0 to the custom action--> Install folder and i also download the iis resource kit from the following link http://www.microsoft.com/downloads/details.aspx?familyid=56FC92EE-A71A-4C73-B628-ADE629C89499&displaylang=en and i have included this also to the same. but it doesnt getting install,how can i do this one.any suggestion??
Rgrds
Kanna...
|
|
|
|
|
What is not getting installed?
Is it the .NET framework or IIS installation?
Are you using the VS setup and deployment wizard or some other like Installshield?
Also, the link which you have posted is the one for Resource tools and not for the IIS
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
hi all
i have a gridview how and i bind to it rows creting on the run time
my case is iwant to delete specified row
so i add a delete command field
and in the rowdeleting event making some code to delete the specified row
does any one help me how can i delete the row in gridview in my case
thanks for your tims and i appritiate your help
Kareem Elhosseny
|
|
|
|
|
elhosseny wrote: and in the rowdeleting event making some code to delete the specified row
Are you getting any error? What code have you written for delete?
Apurva Kaushal
|
|
|
|
|
Here is the code but its not working
int index = e.RowIndex;
gvProfessions.DeleteRow(index);
gvProfessions.DataBind();
plz if u have another tech plz told me
Kareem Elhosseny
|
|
|
|
|
Here[^] you can find the details of how to delete a row from gridview.
Apurva Kaushal
|
|
|
|
|
thanks for your time
Kareem Elhosseny
|
|
|
|
|
Always welcome..
Apurva Kaushal
|
|
|
|
|
check this example[^] too
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
|
You could try instantiating a System.Net.Mail.MailAddress . The constructor validates the address and throws an exception for illegal addresses.
----------------------------------
Be excellent to each other
|
|
|
|