|
Hi,
Can you guide me how to create a XSD schema in VS 2005 adhearing webservice as a source for the schema?
From the Visual Studio 2005, I can able to create a new XSD from the New Item dialog box, but I culd not able to proceed to create a XSD for a webservice? Please give me the solutin for this?
Thanks in advance
Mohan
|
|
|
|
|
Hi Dear All,
"Having problem in making of website in ASP.NET using C#.NET with MS-Access"
I having problem with textbox
I want to add date in textbox in date formate
what should i do?
like. Date is 12/11/2006 i want directly add date in textbox The TextBox should Look Like
" __/__/____" and also Time for TextBox " _ _:_ _ p.m."
I hope u understand
please reply me as soon as possible
Thanks,
Vipul
Vipul
|
|
|
|
|
http://www.cnblogs.com/codingcow/archive/2006/07/23/113339.html
TextBox1.Text = DateTime.Now.ToString("MM/dd/yyyy");
TextBox1.Text = DateTime.Now.ToString("hh:mm tt");
|
|
|
|
|
Thanks
Dear
But Dear I dont want coding format I want in design time disply when i run my web application my TEXTBOX should LOOK LIKE "__/__/____" and Time will be "__:__" on Textbox
{If u know the VB 6.0, MaskedBox Control is there for date/time/etc.,,}
and when i entered my date my TextBox should Look Like as a "12/12/2006" and Time "12:00"
I think u understood very well
Please reply ASAP.
Thanks
Vipul
Vipul
|
|
|
|
|
|
Thanx Once again Dear
I instal custom Control but how can i use this ctl in ASP.net how can i designing,scripting i dnt know so plz give right direction as well as complete description
Thanx
Vipul
Vipul
|
|
|
|
|
You could try something like DateTime.Now.ToString("dd/MM/yyyy")
|
|
|
|
|
Thanks
Dear
But Dear I dont want coding format I want in design time disply when i run my web application my TEXTBOX should LOOK LIKE "__/__/____" and Time will be "__:__" on Textbox
{If u know the VB 6.0, MaskedBox Control is there for date/time/etc.,,}
and when i entered my date my TextBox should Look Like as a "12/12/2006" and Time "12:00"
I think u understood very well
Please reply ASAP.
Thanks
Vipul
|
|
|
|
|
I have seen an article in the asp.net articles section on here that deals with this somebody had developed a control that extends the textbox control to do exactly what you need
|
|
|
|
|
|
hi all,
my problem as follows, here i am using datagrid for display of persons name and ticket numbers in item template . it is working fine . the problem here i am getting is i want to display winning ticket number as bold in group of tickect nmbers . which are sparated by comma . can u help me in this please .
regards ,
guru
P.gurukiran
|
|
|
|
|
try to make a template column
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
hi Tamimi ,
i am displaying data in label by using template colum only but i am trying lot to display perticular ticket number in bold .
P.gurukiran
|
|
|
|
|
|
I think u can put the code in Item Data Bound event of datagird.
|
|
|
|
|
hi all,
I'm using Microsoft Excel Object library 11.0 to create an Excel sheet, write some values and read it to send it to the client side. I'm closing the Excel application using Excel.Quit(), but it still resides in the TaskManager, occupying 7000K+ memory. For each request, more such objects are created, and doesn't terminate. Anybody got some suggestions??
Important
|
|
|
|
|
This is a known issue, this is why using Office automation on the server is not recommended. check out this link.
http://support.microsoft.com/kb/257757
You may have to write a little utility that will go an clear up the Excel objects, or alternatively you can take a look at Office 2007, that I believe will be able to be used in automation on the server.
|
|
|
|
|
Hi Gary,
Thank you for your valuable reply. I tried to clear up the excel objects after closing them, but nothing seems to work. I used system.Runtime.InteropServices.Marshal.ReleaseComObject(<excelobject>) for this, but no use. Could you please give me any hints on clearing up these resident objects? That would be of immense help to me..
Regards,
Vigith.
|
|
|
|
|
Unfortunately I have nothing to hand at the minute, and my laptop is in London at the moment and I am in Dublin, so I won't be able to get my code till about 2 weeks.
Sorry for this, but I will try rack my memory for something for you.
Regards,
Gary
|
|
|
|
|
|
|
hi.
i am a web development student and would like to put some of what i have learnt to good use. i'm thinking a photography portfolio on the lines of http://www.deviantart.com (i'm not looking to compete but to practice). now i find it easy to code this using queries in the address bar (such as: www.someip.com/view.aspx?user=manti in order to view the user page of "manti") but i would like something more challenging... something like www.someip.com/manti -- thinking along the lines of myspace here.
but i have no idea how i should go around this! what i have thought about was:
a. user registers with username "manti"
b. new sub-folder in the web's directory called "manti" (this can be accessed through the web using www.someip.com/manti)
c. copy a default default.aspx page which is filled at runtime by the server with code-behind to show all required information (such as gallery or whatever) into the new subfolder
is this a good way of doing it? any better ones? i'm open to suggestions.
PS: my biggest problem here is: the code behind will still need what username i am viewing in order to retrieve the data from the database (something like getImageList(username)). how can i read the username with my method -- or yours -- since it's not in the address bar as a query?
Thanks a lot for your time,
m4nti ========== In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
il_manti wrote: PS: my biggest problem here is: the code behind will still need what username i am viewing in order to retrieve the data from the database (something like getImageList(username)). how can i read the username with my method -- or yours -- since it's not in the address bar as a query?
The form method you are familiar with is called "get" , where the browser passes the variable data along by appending a '? ' followed by the variable name , an '= ' and the variable data to the target url. Multiple variables are seperated by an ampersand (& ).
i.e. user_reply.asp?forumid=12076&main=/script/comments/forums.asp&select=1798826
It's a quick way to pass information and the model also allows you to create dynamic links (which you will no doubt need in your project).
Another method you might remember or have seen at least once is "post ". Post is often used to transmit more sensitive information such as login names and passwords, birthdates and credit card information which should not be visible to the user. It is adviseable to use this method when working with a secure connection, or when transmitting a large string such as this paragraph. It may also help prevent SQL injection.
A variable passed using "post" is not displayed in the url, but may be used in much the same way. If you are looking for a cleaner look you may use this method, but you should also consider the fact that you must balance functionality and SEO. Search engines might not be able to effectively crawl a site that uses a "post " form method as a means of navigation, unless you include an xml sitemap that is constantly updated as new directories are created.
Roswell
"Angelinos -- excuse me. There will be civility today." Antonio VillaRaigosa City Mayor, Los Angeles, CA
|
|
|
|
|
Hi all,
Just wondering if you could help me with a newbie problem !
I have opened up asp.net 2.0 found the design screen and added a button – so far so good !
However I cannot position the button where I want it everything just goes in a line and I am not able to drag it. It behaves more like word than a UI designer
Any help would be most appreciated !!!
Thanks Again
John
|
|
|
|
|
if you are building a web application the solution would be to create a table for all your elements, so the placement would be handled by html, or a less newbie-friendly solution would be CSS...
so basically it's like
<table>
<tr>
<td>
<asp:button id="ButtonID" runat="server" Text="ButtonText"></asp:button>
</td>
</tr>
</table>
Roswell
"Angelinos -- excuse me. There will be civility today."Antonio VillaRaigosa City Mayor, Los Angeles, CA
|
|
|
|