|
Hello to EveryOne,
In panel we need to move objects using enter key or space key..
Is ther any way to place the object just by using mouse
Thank You..
|
|
|
|
|
Hello to everyone,
i'm using two logins in my form, one for administrator and other for user.
I have used two panel each for administrator and user logins...
i want that when i click administrator login then user login should be disabled or when i click user login then administrator login should be disabled....
suggest me how can this be possible...
Thank You
|
|
|
|
|
Hemant Garg wrote: i'm using two logins in my form, one for administrator and other for user.
Why don't you use same login form and differentiate administrator and user with a customer type value stored in your DB ?
|
|
|
|
|
hi, i am building an application in which i have to send a mail when a field in a row of a sql table changes..
I am new to asp.net please help & provide full & sufficient answer
hiiiiii
|
|
|
|
|
hkchauhan wrote: i have to send a mail when a field in a row of a sql table changes..
what?
Regards,
Satips.
|
|
|
|
|
i mean that i have to send a mail to a user immediately when he register with our site . when he register a value in a sql table row changes from 0 to 1.
Thanks for your interest.....
hiiiiii
|
|
|
|
|
Go with SMTP. ie., System.Web.Mail namespace
SMTP[^] this will help you.
Regards,
Satips.
|
|
|
|
|
To satips.
My ques. was not that adjactly..I want to know whether i can attach my console application(by which I am sending mail using smtpserver) to the data base trigger..If yes then how?????
hiiiiii
|
|
|
|
|
NO, you can't attach your console application with your database trigger. Trigger fired on the database server and console application resides on client machine.. So it is not possible
|
|
|
|
|
is there any other way to do this..?????
i have seen that so many sites send the mail to activate your account when you register wiyh them..
hiiiiii
|
|
|
|
|
hi friends
i checked the username already exists or not from database.(it works fine)
now i used popup window same as yahoo ID check.
In yahoo id give ID name and click check avilablity button one popup window displayed and also that ID name also displayed in that popup
how can i achive it
can u help me
regards
saravanan
|
|
|
|
|
Hope this[^] will give and idea.
Regards,
Satips.
|
|
|
|
|
Use this Code
function pop_window()
{
window.open('Write here your aspx Page','anycontent',
'width=455,height=435,status');
}
Raghvendra Kumar Roy
|
|
|
|
|
hi
but i have code in that button click.if i give Runat="server"
the will refresh my captcha image is refreshed.
i need the code only in client side same as yahoo
regards
saravann
|
|
|
|
|
Did you try with the link as i provided.
It will help you.
Regards,
Satips.
|
|
|
|
|
Hi this msg i am posting third time,
Still now i didnt get reply...,
i trust this time i will get some ideas from our forum members...,
i need print option like gmail or yahoo mail...,
I displayed my datas in datagrid,its in one of my frame set...,
Now in that when i click print button,
what are the datas are in that datagrid..,
those want to come in separate page,then it want to print...,
How to do this...,
Plz any one hlp me...,
Advance thanks...,
Magi
|
|
|
|
|
Save the content of the datagrid in the format as your requirement in the file and print this file autometically by raising the print event when the button is clicked.
u can get the output.
|
|
|
|
|
|
Thank u its working now...,
Once again Thanks Lot...,
Magi
|
|
|
|
|
|
Thanks lot who all are really helped for me...,
Keep in touch...,
Take care............................
Magi
|
|
|
|
|
Hello,
I am a newbie to ASP.Net. I created my first web application using ASP.Net.
The project compiles and runs perfectly from my local machine.
I did a copy website from my local application onto the web server.
Now, when I open the server website on the VS Expresss Edition, and build it. I get Errors that says:
Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. \\\wwwroot\\Form.aspx 396
Error 107 Element 'CalendarExtender' is not a known element. This can occur if there is a compilation error in the Web site. \\\wwwroot\\Form.aspx 501 36 \\\wwwroot\\
I don't know what is causing this problem.
When I run the website on the IE browser, I get a different error that says:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Oracle.DataAccess, Version=9.2.0.700, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 37:
Line 38:
Line 39:
Line 40:
Line 41:
Source File: c:\inetpub\wwwroot\\web.config Line: 39
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.DataAccess, Version=9.2.0.700, Culture=neutral, PublicKeyToken=89b483f429c47342' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Please let me know, if you have any clue.
Appreciate your help.
Regards,
Rekha.
|
|
|
|
|
Hey Rekha,
Did you run aspnet_compiler from the same location as you run MSBuild? Same path and same machine? Is there any UNC share invloved when you saw the error? If so, you might need to run caspol.exe (in the framework installation location) to grant permission to the share.
Regards,
Satips.
|
|
|
|
|
I have following stored Procedure. I am writng following ado.net code
to get return value from stored procedure but it doesn't work.
String constr =
System.Configuration.ConfigurationManager.ConnectionStrings["twcsanConnectionString"].ConnectionString;
SqlConnection objConn = new SqlConnection(constr);
string sqlstmt = "usp_Update_tbtickets";
SqlCommand objCmd = new SqlCommand(sqlstmt, objConn);
objConn.Open();
//objCmd.ExecuteNonQuery();
SqlDataReader sqlDr;
sqlDr = objCmd.ExecuteReader();
while (sqlDr.Read())
{
Session["TCKid"] = Convert.ToInt32(sqlDr.GetValue(0));
}
sqlDr.Close();
objConn.Close();
CREATE PROCEDURE [twcsan].[usp_Update_tbtickets]
-- Add the parameters for the stored procedure here
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
DECLARE @id INT
SET NOCOUNT ON;
SET @id = (select top 1 ticketid from tbtickets where TcktStatusid
= 1)
update tbtickets
Set tcktopened = GetDate(), TcktAudited = GetDate(),TcktStatusid =
2
where ticketid = @id and TcktStatusid = 1
Return @id
END
seema
|
|
|
|
|
you can use out parameter to get the returned value or you have to do the following.
int tickedID = 0;
tickedID = Convert.ToInt32(SqlHelper.ExecuteScalar(connection string, command type, command text, parameters));
Thanks
Warm Regards
Prakash-B
|
|
|
|