16,012,082 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sachin gulati (Top 39 by date)
Sachin gulati
9-May-14 5:27am
View
thanks alot :)
Sachin gulati
16-Mar-12 3:53am
View
no it doesnt... i'm working in allegro 5 and it is of allegro 4 or earlier..
Sachin gulati
16-Jan-12 1:41am
View
yeah i know but i need to apply on delete cascade on all references...
Sachin gulati
3-Jan-12 12:29pm
View
and yeah it was nice talking to you... thanks alot mika... :)
Sachin gulati
3-Jan-12 6:14am
View
i have 3 triggers on the same table after insert command..
1 has to be performed first..
1 has to be performed after it because it works on the coloumnn first trigger just updated..
and the last one can be fired in any order... it is independent...
i am fetching data from the inserted table in all the cases.
which is always the same as before not updated by the first trigger.
so that is the reason why my triggers are not working properly..
am i right?
i have found some other way to complete my task independent of the order of the trigger and i also reduced the use of unnecessary triggers.
Sachin gulati
2-Jan-12 15:13pm
View
actually my second trigger is dependent on the first trigger so i need to use it.
as you referred.. i am using this code:
exec sp_settriggerorder @triggername = 'send_all',
@order = 'first',
@stmttype = 'insert',
@namespace = null
exec sp_settriggerorder @triggername = 'inbox',
@order = 'last',
@stmttype = 'insert',
@namespace = null
go
but unfortunately it is not working..
my 2nd trigger "inbox" always get executed before 1st "send_all"
both the triggers fire after an insert command on the database.
am i doing something wrong?
Sachin gulati
2-Jan-12 13:43pm
View
thanx for the extra information......
hey pls tell me do triggers also have some order in which dey implement...
or can we make them implement in some defined order when they all are called at a same time??
Sachin gulati
2-Jan-12 12:38pm
View
hey thanx it worked... you are genius.. :)
Sachin gulati
2-Jan-12 12:27pm
View
Deleted
can i make cursors permanent in memory?
Sachin gulati
2-Jan-12 12:26pm
View
can i make cursor permanent in memory?
Sachin gulati
2-Jan-12 6:06am
View
it worked... thanx alot... :)
Sachin gulati
2-Jan-12 6:05am
View
thank you... :)
Sachin gulati
2-Jan-12 4:05am
View
thank you it will really help me alot in my project..
Sachin gulati
2-Jan-12 3:24am
View
thank you :)
Sachin gulati
31-Dec-11 3:29am
View
i am making database application so database can store username with space and special character...
but why most of the application and websites don't allow this?
Sachin gulati
24-Nov-11 8:16am
View
i'm talking about the browser's back button.. i want to disable it as in it may not show the previous page from browser's cache.. but reloads the previous page and show the updated version of it... the browser's button is still enable but i want to reload the previous page if back button is clicked...
Sachin gulati
24-Nov-11 8:12am
View
actually i want to disable back button so that every time a user click on back button it does not show the previous page from the browser's cache.. but reloads the previous page and show the updated version of the page....
Sachin gulati
24-Nov-11 3:43am
View
actually i dont want to disable history hence no back is available. i want that whenever user click back button it reloads the previous page inspite of taking it from the browser cache....
Sachin gulati
7-Sep-11 14:43pm
View
how to use it....?? pls give a short example.
Sachin gulati
6-Sep-11 14:18pm
View
i m using the default button field of gridview and there it is not allowed to define commandargument. pls suggest something else...
Sachin gulati
5-Sep-11 20:50pm
View
thanx i studied about the on delete cascade, n it worked as u said.....
now i have no more queries in this context. i m fully satisfied...
thankew :)
Sachin gulati
5-Sep-11 18:15pm
View
there is no suggestion for doing it....
anyways thanx alot.... :)
Sachin gulati
5-Sep-11 18:03pm
View
hey thanx its working...
n what if i want to delete all children rows if parent is going to be deleted?
Sachin gulati
5-Sep-11 17:34pm
View
create trigger manage_mail
on mymail
after delete
as
DECLARE @count_references int,@mail_id varchar(20)
begin
select @mail_id=mail_id from deleted
select @count_references=count(*) from mymail where
mail_id=@mail_id
if(@count_references =0)
begin
delete from mails where mail_id = @mail_id
end
end
in this i m checking the reference for the mails(table) in mymail(table) on deletion in mymail if it is 0 then the original mail from the table mails will also be deleted...
Sachin gulati
5-Sep-11 17:28pm
View
hey but still i need to define a trigger which will work for multiple rows for some other purpose. please guide me...
Sachin gulati
5-Sep-11 17:00pm
View
hey thanx for the brilliant suggestion.... :)
Sachin gulati
3-Sep-11 6:05am
View
i have already defined its rowcommand event but its e.CommandArgument remains null. so it don't perform any action.
Sachin gulati
3-Sep-11 6:03am
View
no. actually i have already added link buttons through item template.
and defined rowcommand event for it
but its e.commandArgument doesn't hold any value. it remains "" null
pls suggest some easy example
Sachin gulati
3-Sep-11 2:18am
View
pls tell me how....
Sachin gulati
3-Sep-11 2:04am
View
no it doesn't have ispostback....
is it required??
Sachin gulati
28-Aug-11 22:33pm
View
thanx for answering....
it will help me a lot.... :)
Sachin gulati
28-Aug-11 22:28pm
View
thank you :)
Sachin gulati
28-Aug-11 22:26pm
View
no no.... i m talking about the no. of characters it shows....
tell me about rowdatabound... will it work??
Sachin gulati
28-Aug-11 6:43am
View
okkk..... thanx.. :)
Sachin gulati
28-Aug-11 6:29am
View
is there any function to append??
Sachin gulati
27-Aug-11 6:01am
View
thanx alot... it works.... thank u :)
Sachin gulati
27-Aug-11 5:05am
View
yeah that is true it doesn't work in all situation....
i try to use ajax calender extender as u suggested....
thanx.... :)
Sachin gulati
19-Aug-11 3:30am
View
how to add control on some particular location??
and is this code appropriate?
private void Page_Load(object sender, System.EventArgs e)
{
RecreatePersistedControls();
}
private void Button_Click(object sender, System.EventArgs e)
{
CreateControl("newControl");
PersistControl("newControl");
}
private void RecreatePersistedControls()
{
// Call CreateControl for each persisted control
}
private void CreateControl(string id)
{
// Create controll with specified id,
// add it to controls collection, attach event handlers
}
private void PersistControl(string id)
{
// Persist specified id (in session for example)
}
Sachin gulati
13-Aug-11 16:41pm
View
hey i checked out d link u gave me..
after reading it.
i turned on my ip/tcp protocol n other service, my firewall is off.
but they said that it will not take effect until this services will b restarted.
so i stop every service and now i m not able to start them againg.
i have restarted my computer. but they r not starting again.
what to do? pls help me....
Show More