|
Hi,
I am new with SMTP, I want to configure my system with SMTP.
I have installed Windows 2000 Adv SErver.
From Where should I start ?
Thanks,
Rameez
|
|
|
|
|
|
Guys,
I am working on a project which is developed by someone and i found strange javascript code there
$(document).ready(function(){
$(document).pngFix();
});
Is something wrong ? or it is correct code?
Browser gives error - "Object expected"
|
|
|
|
|
Looks like they've used one of the JavaScript frameworks such as jQuery[^]
|
|
|
|
|
|
Hi Coders,
Can any one tell me answer of this question How can You trap a request come from another website to your website in ASP.net.
Any help will be appreciated!
Gautam
|
|
|
|
|
gautamamit8 wrote: How can You trap a request come from another website to your website in ASP.net.
Try checking the referrer. Request.UrlReferrer . Make sure you check for NULL before using it.
|
|
|
|
|
alter proc CopyObject
(@ObjectId int,
@NewParentId int)
as
declare @NewId int,
@NewName varchar
select @NewId = max(Id) + 1 from Object
select @NewName = [Name] + 'copy' from [Object] where Id = @ObjectId
-- copy object
INSERT INTO [Object]
([Id]
,[Name]
,[ParentId]
select @NewId,
@NewName,
@NewParentId
from [Object]
where Id = @ObjectId
-- copy children and set their parent to the newly created object
declare c cursor fast_forward for
select Id
from [Object]
where ParentId = @ObjectId
declare @ChildId int
open c
fetch next from c into @ChildId
while @@fetch_status = 0
begin
exec CopyObject
@ObjectID = @ChildId,
@NewParentId = @NewId
fetch next from c into @ChildId
end
close c
deallocate c
But htis throws an error that the cursor already exists:
Raghvendra
|
|
|
|
|
1 - Read this[^]. Specially point 5
2 - Goto correct forum.
|
|
|
|
|
Yors given link navigate to to some page
url of it is http://www.codeproject.com/script/Forums/View.aspx?fid=12076&select=2775545&tid=1278599
which shows nothing to me sir
Please give me some hint bcose it is really urgent to me
Raghvendra
|
|
|
|
|
I m eagerly waiting urs response sir
Raghvendra
|
|
|
|
|
stp tlking in txt, go to rite forum an u mite get an anser
|
|
|
|
|
You need to stick this in the SQL forum, but you might want to look at the fact that you are declaring a global cursor within a procedure that you recursively call from within the cursor...
|
|
|
|
|
Sir If u can Give me some help regarding i would be thankful to u bcos i nedd it urgent
i m facing same prob since last 2 days
Raghvendra
|
|
|
|
|
He did give you some help. Read the post and look at what you were told about global cursors.
Member 4659001 wrote: i nedd it urgent
Urgency is all in the eye of the beholder.
More urgently, you nedd a new keyboard, some of ur keys r mssing
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi
I want to know a way by which i can create a .txt file in another system having username and password connecting through a path
Eg:"ftp//68.288.132.109/UserName/Password"
|
|
|
|
|
As you have IP/Username/Pwd, WMI should allow u to connect to remote computer and create files in it. So google your problem with WMI in the search query and u should be able to get some code snippets
srinivaskonijeti wrote: Subject:Creating a .txt file in a web form (Urgent)
Urgent is beautifully ignored by all of us
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
srinivaskonijeti wrote: create a .txt file in another system having username and password connecting through a path
You can't. ASP.NET is not built for that.
|
|
|
|
|
Hi all
I am developing a web application wher i need to have some parent child relations.
I need a special gridview (something else doesn't matter) where i can do multiple add/update/delete events then in one click save all. My client cann't handle a server trip on each event.
Any Help !!!!
|
|
|
|
|
This is my first.cs page.....
namespace testvalueobject
{
/// <summary>
/// Summary description for first
/// </summary>
[Serializable]
public class first
{
int a, b, c;
public first()
{
a = 10;
b = 20;
}
[XmlAttribute]
public int add()
{
c = a + b;
return c;
}
}
}
this is my default.aspx.cs page....
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using App_Data.testvalueobject;
using App_Data.testvalueobject.first;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
i can't access the methods of cs page in aspx.cs page......
kindly help me soon
sarala.s
|
|
|
|
|
Create an object of the class file in aspx file and then you can access the variables. You can also access it using properties.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
First F=new First();
int a=F.Add()
What is issue with that ? are you talking about some thing different ?
cheers,
Abhijit
|
|
|
|
|
I am using an Update Panel in my page called Company.aspx for populating Countries and States. There are two dropdownlists for the States and Countries. This is working perfectly fine.
In the database, there is a table called Company where the StateId and CompanyId is stored.
Now, if I want to display back the Country and State in the particular dropdownlists, how should I do that in the dropdownlists which is in the UpdtePanel? When I try to do as follows, it doesn't give me any error, but not selecting that particular value:
ddlCountry.SelectedItem.Value = Codtls.CountryName; // CoDtls.CountryName is a property having the country name.
Can anybody pls help me? Any code examples? Thanks in advance for any help.
Please let me know if I need to clarify more.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Couldn't get your problem
Can you explain a bit little more
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
I have two dropdownlist in my form for populating Country and States. When user selects a Country, the corresponding States will populate in the State dropdownlist. I have done this using the UpdatePanel. So whenever user selects a country, the States dropdownlist will automatically populated without a postback. While saving the data, I'm passing the selected CountryId and StateId.
Now, if I want to show those selected values back in the respective dropdownlists from the database, how should I do that? I can get the value from DB, but not able to show those selected values while loading. By default, in the Country Dropdownlist the first item is selected and nothing in StateDropdownlist.
For eg: While inserting, if the user selects Country as India and State as Karnataka, then while doing modificiations,the page should show in the respective dropdownlists those values selected.
Sorry for a long post. Hope now it is more clear.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|