|
plz view my blog........
http://gparwez.blogspot.com
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Unfortunately I am having Windows XP Home edition. When I went to Control Panel/Administrative tools - there is no IIS in there. What next....
|
|
|
|
|
XP Home is not for developers. You will not get IIS from XP Home OS. We can install IIS from some shortcut ways by changing registry and extracting some dl files from 2000 server and putting it in Root directory. But it will give you errors only. You will not get SMTP server also. Please install XP Professional.
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
|
|
|
|
|
I have a form that deletes users, I use a a dropdown to select the user I want to delete(using SQL Server Database), I want the first element to be "Please select one of the following"
How could it be?
Regards
|
|
|
|
|
Add the item to the data source before populating the list, or use the Insert method of the list to insert an item after you have populated it.
---
Year happy = new Year(2007);
|
|
|
|
|
Hi Dear
Thanks alot for your reply
give me a ststement how to use the insert method in my case, here i send you the code if needed:
If Not IsPostBack Then
conn1.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Hosting;Data Source=JICC"
conn1.Open()
Dim cm1 As New OleDbCommand("select * from Types", conn1)
Dim ds1 As New DataSet
Dim da1 As New OleDbDataAdapter
Dim dr1 As OleDb.OleDbDataReader
dr1 = cm1.ExecuteReader()
If dr1.HasRows = False Then
Label1.Text = "No records..."
Label1.Visible = True
DropDownList1.Enabled = False
Button1.Enabled = False
Else
Dim cmd1 As New OleDbCommand("select * from Types order by t_name", conn1)
da1.SelectCommand = cmd1
da1.Fill(ds1, "types")
DropDownList1.DataTextField = "t_name"
DropDownList1.DataValueField = "t_id"
DropDownList1.DataSource = ds1.Tables(0).DefaultView
DropDownList1.DataBind()
da1.Dispose()
End If
End If
|
|
|
|
|
ddlTitle.Items.Insert(0, New ListItem("Choose Title", "0"))
put this after finishing data binding.
|
|
|
|
|
thanks alot dear
it works
have a nice day
regards...
Nour Abdel-Salam
|
|
|
|
|
Lets say I have a bunch of html files stored on the server..is there any asp .net control that can be used to load a html file inside it and then allow me to change the html page that is loaded in it dynamically? or is there any other way that i can do such a thing??
|
|
|
|
|
Use an iframe or a frameset.
---
Year happy = new Year(2007);
|
|
|
|
|
How can I control the download of a zip file? CodeProject does this. When I click on a zip file link while I am not signed in it redirects me to login page.
Tomorrow is a blank page
|
|
|
|
|
You can simply point the link to a web page, say Download.aspx, instead of a zip file, and then you can authenticate the anonymous user with the ASP.NET.
|
|
|
|
|
Or you can monitor all incoming requests that whether they are authunticated or not in a custom developed http handler.
But be aware of the performance issue.
|
|
|
|
|
Hi,
Uploading file of larger size than specified in config file directly shows
"The page cannot be displayed" page. How can I show message that file uploaded is of larger size than allowed.
Thanks in Advance.
|
|
|
|
|
in the web.config file, go to <httpruntime> and modify the maxRequestLength value
<httpruntime maxrequestlength="1000000kb"> Remember the value is in KB
HC
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
sorry but it seems the code has been filtered from the above post
in the web.config file, go to <httpRuntime/> and modify the maxRequestLength value
<httpRuntime maxRequestLength="10000000" />
Remember the value is in KB
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
Thanks.
I had already update the maxRequestLength value
in config file .
Problem Is that let i have set maxRequestLength value
for 10MB now if user upload a file of 11MB or more it directly shows
"Page Can not be displayed" page, i have to show message of length of uploaded file is more than allowed.For that where i have to change settings.
|
|
|
|
|
Haissam thanks for your help. I was having this same problem. IS there any concerns or issues I should be aware of when I set the maxRequestLength to a large value like 40000kb?
httpRuntime maxRequestLength ="40000"
Thanks for you help!!
Patrick
|
|
|
|
|
Hi all,
How can I get the virtual directory name at runtime. If possible please give me some code snippet. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
use
Request.ApplicationPath
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
Hello
I was working on ASP.NET 2003. Now I converted the entire project into VS2005. Everything is working fine. But I am confused about the files to be uploaded ? I could not find any dll like .NET 2003. Please advise me what are the files to be uploaded.
Cheers
Navaneeth!!
|
|
|
|
|
Use the Publish Web Site option in the Build menu.
If you want more control over the deployment, you can download the Web deplyment project add-on for Visual Studio.
---
Year happy = new Year(2007);
|
|
|
|
|
Hi,
I have a GPRS modem with me and i want to send sms with the help of this modem in Asp.net 2003 using vb code.The code shown in http://www.codeproject.com/aspnet/SendingSMS.asp is not working it shows the message "Send Successfully" but no message is not received.
Please help with a code .Is it possible to code to send sms using Component similar to coding in VB or is it possible to integrate the vb code with Asp.net to send sms if so how.
Thank You
Anju
|
|
|
|
|
Could anyone assist me. I want to write an asp.net to access data from another web page(containing Data in table format).
t.aransiola
|
|
|
|
|
what you can do is to add that table in the session state and in your another webform retrieve it from the session
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|