|
Hi
I want to show a list of Email clients installed on my computer in a list box........can any one help me out to get that list ..........veryyyyyyyyy urgent...i hope this is doable in .net.......
pls reply if u hav any idea or read any article.. pls give link
thanks in advance
happy coding
sanjeev sharma
sanjeev
|
|
|
|
|
<b>hello,
plz send me code for store images n reterive images from database.<b></b></b>
hi.
|
|
|
|
|
http://www.codeproject.com/cs/database/ImageSaveInDataBase.asp
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
Really they are quite similar.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hello,
I am a beginner in asp.net.I am in a problem pls help me to solve this.
My problem is after logout user can't see the pages when he click the back button of the browser.It will redirected to login page.In internet explorer i solved this problem but in mozilla it's not working.can anybody help me.
i am waiting, thanks in advance.
alex malayil
|
|
|
|
|
The user is not supposed to see anything in the website once he is logged out, that's the very definition of logout. It is very normal that he gets redirected to the login page if you're using Forms authentication in your website.
I'm curious to know how you managed to solve your problem with IE though
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
How to convert the contents of textfile(eg. notepad) to database.
Ex:
From
1,Jones,SE,23
2,James,DE,22
3 Smith AAR 25
to Database.
Thanks.
Prya
|
|
|
|
|
you can use SQLLoader for this. if you want data directly from file to database.
Nav.
|
|
|
|
|
is any other options to do manually. in my interview i had this question.like tokenizer in java.......
Thanks.
Prya
|
|
|
|
|
you can use stream reader to read file line by line and then parse each line.
using (StreamReader sr = new StreamReader("TestFile.txt")) <br />
{<br />
string line;<br />
while ((line = sr.ReadLine()) != null) <br />
{<br />
}<br />
}
Nav.
|
|
|
|
|
Thanks. I try for that.
Prya
|
|
|
|
|
Hi all,
I am using .Net Framework 1.1 and in my website I have most of
the URLs displayed like MyApp/Test.aspx?ID = 1 etc. Please tell me how to rewrite these URL s to user friendly ones like
MyApp/Home.aspx , MyApp/ContactUS.aspx etc, but I cannot create these pages --- Home.aspx , ContactUS.aspx . I got the URL
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp , and another one
http://www.15seconds.com/issue/030522.htm
but I find it a little bit complicated to understand and implement it. Pls anyone help me with this
|
|
|
|
|
what u have to do is when u r redirecting from one page to another use Server.Transfer instead of Response.Redirect.
save the id to a session variable and then give Server.Transfer(url);
and from the destination page u can give
Label1.Text=Session["name"].ToString();
so u can use the id from the lable and ur url will be clean.
Vipin
|
|
|
|
|
I beleive, if I Call Server.Transer("Page2.Aspx") from Page1.aspx The Url in adddress bar remains same as Page1.aspx.
But What I need is that when I am in Page2.aspx, I want the Url in address bar to be say "FriendlyUrl.aspx" and So on , but I do not have to create any web pages for FriendlyUrl.aspx , just rewrite the Url in address bar to a any friendly one.
I have experimented the following code:
Inside the projects Global.asax.cs, add the subroutine
Application_BeginRequest()
{
HttpContext hc = HttpContext.Current;
string strOldUrl = hc.Request.Path ;
string strNewUrl = "http://FriendlyURL";
if strOldUrl.equals(http://UglyURL) then hc.RewritePath(strNewURL)
}
But I getting the error Friendly Url does not exist.
Pl help. Thanks in advance
Pls help. Thanks in advance
-- modified at 0:20 Friday 7th July, 2006
|
|
|
|
|
This code will help you
Write this code in web.config
<configuration>
<system.web>
<urlrewrites>
<rule>
<url>/urlrewriter/show\.asp
<rewrite>show.aspx
<rule>
<url>/urlrewriter/wohs\.asp
<rewrite>show.aspx
<rule>
<url>/urlrewriter/show(.*)\.asp
<rewrite>show.aspx?$1
<rule>
<url>/urlrewriter/(.*)show\.html
<rewrite>show.aspx?id=$1&cat=2
<rule>
<url>/urlrewriter/s/h/o/w/(.*)\.html
<rewrite>/urlrewriter/show.aspx?id=$1
Vipin
|
|
|
|
|
hi everyone,
Iam a biginner,i want to know about creation of user control application to develope my webforms easily...............
plz help me.........
( (
suresh babu.k
-- modified at 10:14 Thursday 6th July, 2006
|
|
|
|
|
This article will help you in that.
http://www.15seconds.com/issue/020319.htm
Best Regards,
Apurva Kaushal
|
|
|
|
|
I m generating htmltable on serveside and then placing it on webform with placeholder.Now i can show all htmltable on webform and user can see results coming from database.But now i want user to edit that information he wants so how can i do this?
Plz help
|
|
|
|
|
can u plz make it more clearer. Probably i can help u.
Vipin
|
|
|
|
|
I m making rumtime table
for e.g
Dim table As New HtmlTable
Dim row As New HtmlTableRow
Dim cell As New HtmlTableCell
row = New HtmlTableRow
cell = New HtmlTableCell
cell.InnerText = "Observation"
cell.Align = "left" : cell.VAlign = "top"
cell.Width = "31%"
cell.Style.Add("font-weight", "bold")
row.Controls.Add(cell)
cell = New HtmlTableCell
cell.InnerText = "Amount"
cell.Align = "left" : cell.VAlign = "top"
cell.ColSpan = 2
cell.Width = "20%"
cell.Style.Add("font-weight", "bold")
row.Controls.Add(cell)
cell = New HtmlTableCell
cell.InnerText = "Cases"
cell.Align = "left" : cell.VAlign = "top"
cell.Width = "10%"
cell.Style.Add("font-weight", "bold")
row.Controls.Add(cell)
And put the values in cell from database.
Now table is shown in PlaceHolder.
Now user can view Different rows for that.
Now Question is that if user want to Edit Particular row ...How can he?Bcoz how will catch click event .....as in datagrid we can catch CLick event but i dont know how can we catch in PlaceHolder
Plz Help
|
|
|
|
|
Can anyone please tell me how to give serial numbers to a datagrid. dont misunderstand as paging in datagrid. I should have an extra field in the front showing the serial numbers based on the number of fields in the datagrid.
Thank you,
Vipin
Vipin
|
|
|
|
|
build serial no column from your sql query and display the numbering field as your first column
|
|
|
|
|
you need to create an extra TemplateColumn in DataGrid and bind it to ItemIndex and you will have a counter in DataGrid.
<asp:templatecolumn headertext="Serial Number">
<itemtemplate>
<span><%# Container.ItemIndex %></span>
</itemtemplate>
</asp:templatecolumn>
hope this help
Nav.
|
|
|
|
|
Thank u both of u for ur suggestions.
Vipin
|
|
|
|