|
|
What do the IronSpeed docs say? Have you checked with their tech support? Have you look at any IronSpeed related forums?
only two letters away from being an asset
|
|
|
|
|
I did everything possible and followed every resolution and I cant ask in the forums as I'm running the trail version so I thought someone might have ran into the same problem here cuz I know it's quite popular here and this's where I was recommended to use it.
Thanks for your help mate.
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
All,
When i run my web page i am getting a client script error like "classfactory cannot supply requested class". Please advise me how to fix this issue..
Thanks in advance
Sebastian
|
|
|
|
|
|
google is not yet broken..... But those results didn't helped me......
Thats why I posted it here....!
Thanks
|
|
|
|
|
This questions is really just out of curiosity. I have an application I'm playing around with at home. Here's how it works. There's a web service that that calls a store procedure on an SQL Server 05 database. There is also a web form with some javascript with the purpose of creating an outlook activex object and creates an new contact.
<br />
var outlookapp = new ActiveXOBject("Outlook.Application")<br />
var newContact = outlookapp.createItem(2)<br />
Is there a way that i can call the web service in say VB, or C# and pass the results into javascript for client side processing ?
|
|
|
|
|
|
sir i want to make a program which can send SMS from my PC to mobile in anywhere in india.
i m using ASP.net+c#. can u help me?? thanks in adv.
yogesh
modified on Thursday, February 07, 2008 4:24:49 AM
|
|
|
|
|
You have to use the Telephone API of windows (TAPI 3.0 is current I thought).
You have to control your modem to be able to send SMS !
(Not leaving my phonenumber here )
|
|
|
|
|
Hi, I setup my listview Selected value to 0, when my page is loaded, i can't get that value to filter a sqldatasource. i try to read it and populate a label and it doesnt work, here is the code. any idea?
<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
Label1.Text = ListView1.SelectedValue<br />
End Sub
<asp:ListView ID="ListView1" runat="server" DataKeyNames="pid" <br />
DataSourceID="SqlDataSource1" GroupItemCount="3" SelectedIndex="0"><br />
<AlternatingItemTemplate><br />
<td runat="server" style=""><br />
pid:<br />
<asp:Label ID="pidLabel" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
p_tn:<br />
<asp:Label ID="p_tnLabel" runat="server" Text='<%# Eval("p_tn") %>' /><br />
<br /><br />
</td><br />
</AlternatingItemTemplate><br />
<LayoutTemplate><br />
<table runat="server"><br />
<tr runat="server"><br />
<td runat="server"><br />
<table ID="groupPlaceholderContainer" runat="server" border="0" style=""><br />
<tr ID="groupPlaceholder" runat="server"><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr runat="server"><br />
<td runat="server" style=""><br />
</td><br />
</tr><br />
</table><br />
</LayoutTemplate><br />
<EmptyItemTemplate><br />
<td runat="server" /><br />
</EmptyItemTemplate><br />
<InsertItemTemplate><br />
<td runat="server" style=""><br />
p_tn:<br />
<asp:TextBox ID="p_tnTextBox" runat="server" Text='<%# Bind("p_tn") %>' /><br />
<br /><br />
<asp:Button ID="InsertButton" runat="server" CommandName="Insert" <br />
Text="Insert" /><br />
<br /><br />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" <br />
Text="Clear" /><br />
<br /><br />
</td><br />
</InsertItemTemplate><br />
<SelectedItemTemplate><br />
<td runat="server" style="background:red"><br />
pid:<br />
<asp:Label ID="pidLabel" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
<asp:ImageButton ID="ImageButton1" runat="server" <br />
ImageUrl='<%# "images_prod/"+ Eval("p_tn") %>' CommandName="Select"/><br />
<br /><br />
</td><br />
</SelectedItemTemplate><br />
<GroupTemplate><br />
<tr ID="itemPlaceholderContainer" runat="server"><br />
<td ID="itemPlaceholder" runat="server"><br />
</td><br />
</tr><br />
</GroupTemplate><br />
<EmptyDataTemplate><br />
<table runat="server" style=""><br />
<tr><br />
<td><br />
No data was returned.</td><br />
</tr><br />
</table><br />
</EmptyDataTemplate><br />
<EditItemTemplate><br />
<td runat="server" style=""><br />
pid:<br />
<asp:Label ID="pidLabel1" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
p_tn:<br />
<asp:TextBox ID="p_tnTextBox" runat="server" Text='<%# Bind("p_tn") %>' /><br />
<br /><br />
<asp:Button ID="UpdateButton" runat="server" CommandName="Update" <br />
Text="Update" /><br />
<br /><br />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" <br />
Text="Cancel" /><br />
<br /><br />
</td><br />
</EditItemTemplate><br />
<ItemTemplate><br />
<td runat="server" style=""><br />
pid:<br />
<asp:Label ID="pidLabel" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
<asp:ImageButton ID="ImageButton1" runat="server" <br />
ImageUrl='<%# "images_prod/"+ Eval("p_tn") %>' CommandName="Select"/><br />
<br /><br />
</td><br />
</ItemTemplate><br />
</asp:ListView>
|
|
|
|
|
I have a treeview in my page and I am using AJAX..
the problem is that when i expands one node, all the nodes are expanded..
works well without ajax
|
|
|
|
|
I have created an MS ACCESS database file, and configured a DSN using ODBC.
To access my database through the ODBC driver, I use the connection string as follows: "Driver={Microsoft Access Driver (*.mdb)};DBQ=c:\MyDb.mdb"
So, what shall be the connection string if I'd like to use the DSN I created.
Mohamed Gouda
Egypt
|
|
|
|
|
|
if i am copying a website using vwd to a web server do i need to create a dll manually as 1 is created for me automatcially
also should I have a namespace defined in my code?
thanks
|
|
|
|
|
|
Hi
shall i explain
I have a website made in VWD, there are no dlls for it
it used to run on citrix fine
now ive moved it to web server it doesnt
I have a cs file called common methods which is in app_code folder
i have a file called login.aspx.cs which references this file
e.g.
Common_methods.SetFocus(Login1.FindControl("UserName"), this);
this worked fine in citrix
not in web server
any clues/
fanx
|
|
|
|
|
Is there a way to play and mp3 file on a page without relying on whether or not a media player, such as windows mediad player, is first installed on the computer?
|
|
|
|
|
The best maximum thing that you can do is to embed the MP3 using EMBED tag and it is upto the web browser to choose the available Media Player to play it.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hello i have folowing function
Public Shared Function Save(ByVal myContactInfo As ContactInfo) As Integer
Dim result As Integer = 0
Dim myConnection As SqlConnection = New SqlConnection(AppConfiguration.ConnectionString)
Try
Dim myCommand As SqlCommand = New SqlCommand("JobsDb_ContactInfo_InsertUpdateSingleItem", myConnection)
myCommand.CommandType = CommandType.StoredProcedure
If myContactInfo.UserID = -1 Then
myCommand.Parameters.AddWithValue("@Userid", DBNull.Value)
Else
myCommand.Parameters.AddWithValue("@Userid", myContactInfo.UserID)
End If
myCommand.Parameters.AddWithValue("@UserName", myContactInfo.UserName)
myCommand.Parameters.AddWithValue("@Title", myContactInfo.Title)
myCommand.Parameters.AddWithValue("@FirstName", myContactInfo.FirstName)
myCommand.Parameters.AddWithValue("@LastName", myContactInfo.LastName)
myCommand.Parameters.AddWithValue("@Email", myContactInfo.Email)
If String.IsNullOrEmpty(myContactInfo.StreetAddress1) Then
myCommand.Parameters.AddWithValue("@StreetAddress1", DBNull.Value)
Else
myCommand.Parameters.AddWithValue("@StreetAddress1", myContactInfo.StreetAddress1)
End If
If String.IsNullOrEmpty(myContactInfo.StreetAddress2) Then
myCommand.Parameters.AddWithValue("@StreetAddress2", DBNull.Value)
Else
myCommand.Parameters.AddWithValue("@StreetAddress2", myContactInfo.StreetAddress2)
End If
If String.IsNullOrEmpty(myContactInfo.ZiporPost) Then
myCommand.Parameters.AddWithValue("@ZipOrPost", DBNull.Value)
Else
myCommand.Parameters.AddWithValue("@ZipOrPost", myContactInfo.ZiporPost)
End If
myCommand.Parameters.AddWithValue("@CountryId", myContactInfo.CountryID)
myCommand.Parameters.AddWithValue("@StateId", myContactInfo.StateID)
myCommand.Parameters.AddWithValue("@city", myContactInfo.City)
If String.IsNullOrEmpty(myContactInfo.PrimaryPhone) Then
myCommand.Parameters.AddWithValue("@PrimaryPhone", DBNull.Value)
Else
myCommand.Parameters.AddWithValue("@PrimaryPhone", myContactInfo.PrimaryPhone)
End If
If String.IsNullOrEmpty(myContactInfo.SecondaryPhone) Then
myCommand.Parameters.AddWithValue("@SecondaryPhone", DBNull.Value)
Else
myCommand.Parameters.AddWithValue("@SecondaryPhone", myContactInfo.SecondaryPhone)
End If
myCommand.Parameters.AddWithValue("@WorkStatus", myContactInfo.WorkStatus)
myCommand.Parameters.AddWithValue("@SHMyName", myContactInfo.SHMyName)
myCommand.Parameters.AddWithValue("@SHMyEmail", myContactInfo.SHMyEmail)
myCommand.Parameters.AddWithValue("@SHMyPhones", myContactInfo.SHMyPhone)
myCommand.Parameters.AddWithValue("@ActivityDate", myContactInfo.ActivityDate)
Dim returnValue As DbParameter
returnValue = myCommand.CreateParameter
returnValue.Direction = ParameterDirection.ReturnValue
myCommand.Parameters.Add(returnValue)
myConnection.Open()
myCommand.ExecuteNonQuery()
result = Convert.ToInt32(returnValue.Value)
myConnection.Close()
Finally
CType(myConnection, IDisposable).Dispose()
End Try
Return result
End Function
and i want to get return value of user id which is main column and primary key with identity specification =yes
i want to get something like this
If Not (Profile.UserId = -1) Then
myContactInfo.UserID = Profile.UserId
[ContactInfoManager].Save(myContactInfo)
[BandEManager].Save(myBandE)
[DPManager].Save(mydp)
Else
Dim returnvalue As Integer = ContactInfoManager.Save(myContactInfo)
Profile.UserId = returnvalue
[BandEManager].Save(myBandE)
[DPManager].Save(mydp)
End If
but when i run the save function i get UserId=0 wich is supposed to be UserId of that contact info table in database...please can anyone help
thank you in advance
appu
modified 20-Apr-17 11:32am.
|
|
|
|
|
What is your stored proc returning?
only two letters away from being an asset
|
|
|
|
|
its
ALTER PROCEDURE [dbo].[JobsDb_ContactInfo_InsertUpdateSingleItem]
@Userid int ,
@UserName varchar(50),
@Title varchar(50),
@FirstName varchar(50) ,
@LastName varchar(50),
@Email varchar(50),
@StreetAddress1 Varchar(50),
@StreetAddress2 Varchar(50),
@ZiporPost varchar(40),
@CountryId int,
@StateId int,
@City varchar(50),
@PrimaryPhone varchar(50),
@SecondaryPhone varchar(50),
@WorkStatus smallint,
@SHMyName char(1),
@SHMyEmail char(1),
@SHMyPhones char(1),
@ActivityDate datetime
AS
DECLARE @ReturnValue int
IF (@Userid IS NULL)
BEGIN
INSERT INTO JobsDb_ContactInformation
([UserName] ,
[Title],
[FirstName] ,
[LastName] ,
[Email],
[StreetAddress1],
[StreetAddress2] ,
[ZiporPost] ,
[CountryID],
[StateId],
[City],
[PrimaryPhone] ,
[SecondaryPhone],
[WorkStatus],
[SHMyName] ,
[SHMyEmail],
[SHMyPhones],
[ActivityDate]
)
VALUES
(
@UserName,
@Title,
@FirstName,
@LastName,
@Email,
@StreetAddress1,
@StreetAddress2,
@ZiporPost,
@CountryId,
@StateId,
@City,
@PrimaryPhone,
@SecondaryPhone,
@WorkStatus,
@SHMyName,
@SHMyEmail,
@SHMyPhones,
@ActivityDate
)
SELECT @ReturnValue = SCOPE_IDENTITY()
END
ELSE
BEGIN
UPDATE JobsDb_ContactInformation SET
[UserName] = @UserName,
[Title] = @Title,
[FirstName] = @FirstName,
[LastName] = @LastName,
[Email] = @Email,
[StreetAddress1] = @StreetAddress1,
[StreetAddress2] = @StreetAddress2,
[ZiporPost] = @ZiporPost,
[CountryId]= @CountryId,
[StateId] = @StateId,
[City] = @City,
[PrimaryPhone] = @PrimaryPhone,
[SecondaryPhone] = @SecondaryPhone,
[WorkStatus]=@WorkStatus,
[SHMyName] = @SHMyName,
[SHMyEmail]=@SHMyEmail,
[SHMyPhones]=@SHMyPhones,
[ActivityDate]= @ActivityDate
WHERE
UserId = @Userid
SELECT @ReturnValue = @Userid
END
IF (@@ERROR != 0)
BEGIN
RETURN -1
END
ELSE
BEGIN
RETURN @ReturnValue
END
appu
modified 20-Apr-17 11:32am.
|
|
|
|
|
Hi, I'm looking into WebParts and its authorization. You can set the AuthorizationFilter and use the OnAuthorizeWebPart event of the WebPartManager to check if the user has permissions to see the WebPart.
I understand that this event is called every time the Manager adds a WebPart to the page. Unfortunatly I cannot make it work. I always see all WebParts and when placing a break point, the event is not even triggered. And I am not able to find good articles that handle this subject in detail (preferable with some example code).
Can anybody here help me out understanding the WebPart Authorization? Maybe some links to good articles that explain the subject in detail? I am currently playing around with it to see if everything we need is provided or possible. And this is a very important requirement
"Dream as if you'll live forever, live as if you'll die today" (James Dean)
|
|
|
|
|
Hi,
i am using seekafile application to search the documents,rtf files.
here it is not searched with stop words in the seekafile.
How we enable the stop words to search and how SEEKAFILE.SERVER get body from the document.how it parses the data into multiple words/keywords.
i am facing difficulty with this problem from long time.please help me to solve this problem.
Regards
venkat.M
venkat
|
|
|
|
|
hi
I'm not very familiar with asp.net but want to know how I can add an events calendar to a website.
I would require a backend area to programme cinema screenings and general events, as you can imagine there would be re-occuring dates for certain screenings and also exclusions on certain dates.
On the frontend I would like to have several display options available to the user i.e whats on today, whats on this week and a archive section.
I don't want a calendar display, I know there is a calendar control available, would this work somehow or is there better ways to do this?
thanks
|
|
|
|
|