|
Cant understand. Can u explain briefly?
|
|
|
|
|
It means you're probably not clever enough to be attempting this task. Which part of the clear explanation you were given used terms you're not able to comprehend ?
There is a better way, but it's also more complex, so there's probably no sense in trying to explain it.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Do the following:
1) Open the Global.asax-file of your ASP.NET project
2) Go to the method void Session_End(object sender, EventArgs e) ...
3) Call the method you are using to deactivate the user (if he clicks at the logout-button) within session_end
@Christian Graus: I'm interested in the better way to do this you mentioned. How does it work?
Regards
Sebastian
|
|
|
|
|
Hi,
I am using an Update Panel. inside the Update Panel I vahe 5 DropDown List control
for this Update panel i am using an UpdateProgress control of AJAX. In UpdateProgress control I have used div tag with z-index property.
I want that when I run the application and choose any items from any DropDownList, an UpdateProgree should overlap the entire UpdatePanel.
But i am not getting an output.
So, If u have a solution for this, please Help me............
|
|
|
|
|
hi,
I am devloping a web application in which i am using gridview with its template field and apply update panel on it. but what happen the validation on gridview is not working properly.and when i remove the update panel its working correctly.
I m unable to find why its happen can any on ehelp me for the same.
|
|
|
|
|
hi ,
I am devloping a web application in which i have an menu from which diffrent pages can be open now what i want is to restrict the user to open the same page from the menu more than once.so how do i restrict.
Thanks in advance for your help.
|
|
|
|
|
If the pages are popups, then you can do this using javascript. keep a reference to each open window and focus on it if someone tries to open it when it is already open.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Thanks for replaying
But these pages are not popups these are the master form ,
whats the requirement is that when once the form is open and user agian tries to open it it should not do any thing.
|
|
|
|
|
Keep a list of the open pages in a Session object. For each event that would open a page (clicking a link, clicking a button, etc), check the target page versus the session list and see if it exists. Open the page for the user based on that.
|
|
|
|
|
Hi,
<asp:SqlDataSource ID="grid_source" runat="server" ConnectionString="Data Source=db;Initial Catalog=faq;User ID=sa;Password=mercury"
ProviderName="System.Data.SqlClient"
SelectCommand="SELECT [c_empcode], [c_name], [c_designation], [c_department], [c_emailid], [c_reportingPerson], [c_passwd], [n_status] FROM [Employee_Mst] where n_deleted =0"
OnSelecting="grid_source_Selecting"
FilterExpression="c_name like '{0}%' and c_department like '{1}%' " >
<FilterParameters>
<asp:ControlParameter Name="c_name" ControlID="txtname" PropertyName="Text" />
<asp:ControlParameter Name="c_department" ControlID="txtdepart" PropertyName="Text" />
</FilterParameters>
</asp:SqlDataSource>
This is my sqldatasource in that i used filter expression for filtering data . if txtdepart textbox is empty means its
not filtering records according to what i entered in txtname texbox .if i am entering some datas in all two textbox's then its
showing filtered records . can anyone tell me the solution for this ?
also i need how to change the filter expresion at runtime according to these textboxes values .
Thanks in advance
|
|
|
|
|
The SQLDataSource classes are not suitable for real world programming. If you're doing a professional project, you should not use them.
What you're describing seems to me to be a bug in the classes tho, what have you turned up on google, I'd expect other people would have asked the same question.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
i m using serverside object tag in my application
it is showing an error
Error 4 Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
any one can help me?
|
|
|
|
|
Wow - you're really stupid, too.
1 - this has nothing to do with ASP.NET, it's a pure HTML question
2 - perhaps you could tell us why you think you've entered a valid GUID, and post your code, so we can explain to you why you're mistaken. The answer is, you need to enter a GUID in the correct format. That's what the error says.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
i m not playing with guid anywhere
i m new to asp.net
how can i fix this error
|
|
|
|
|
i write this code in my sqlserver does anybody know why it doesnt work. it has error in inner join. plz help
UPDATE [servername1].[WebSite].[dbo].[Table_1] INNER JOIN [servername2].[website1].[dbo].[Table_2] ON Table_1.id = Table_2.id SET Table_1.name1 = [Table_1].[name2]
|
|
|
|
|
This is ASP.NET Forum , please post it in SQL Forum.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Do not Post SQL Questions here. I hope its the Last time you do this. You need to use a "from" like this
UPDATE [servername1].[WebSite].[dbo].[Table_1]
SET Table_1.name1 = [Table_1].[name2]
FROM [servername1].[WebSite].[dbo].[Table_1]
INNER JOIN [servername2].[website1].[dbo].[Table_2]
ON Table_1.id = Table_2.id
pre>
Check the your Statement from the Bolded and what ever follows
Hope this Helps
Vuyiswa Maseko
<div class="ForumSig">Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http:
vuyiswa@its.co.za
www.ITS.co.za
</div>
|
|
|
|
|
thanks for ur help, yes is it work now but if my tables be in diffrent server it has error i have problem when i have 2 server
and thats error is : Could not find server 'SPSERVER16' in sysservers. Execute sp_addlinkedserver to add the server to sysservers.
|
|
|
|
|
Check your Permissions in the Link Servers
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
i run this:
EXEC sp_addlinkedserver
@server = 'SPSERVER16',
@srvproduct = '',
@provider = 'SQLNCLI',
@datasrc = 'SPSERVER16'
GO
and then run this:
EXEC sp_addlinkedsrvlogin spserver16, FALSE, sa, 1234
and its succses
and then run:
EXEC sp_tables_ex spserver16
GO
and it has this error:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
|
|
|
|
|
Why don't you add a link Server manually not from T-SQL, supplies the credentials there , and in your Code you call the name of the Link server. Doing it in T-SQl you might encounter credentials Problem
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
both of them is equal, when i manually create linked server i has this problem too
|
|
|
|
|
Talk to your DBA about the Problem , remember again not everyone can create a Link server, sometimes you might Create a link server and not have permissions to access data on the Other side. Your have a permission Issue.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
heyyy finally i can solve the problem this form with 3 procdure:
///////
1.
EXEC sp_addlinkedserver
@server = 'SPSERVER16',
@srvproduct = '',
@provider = 'SQLNCLI',
@datasrc = 'SPSERVER16'
GO
////////
2.
EXEC sp_addlinkedsrvlogin spserver16, FALSE,SADAFIT-9D6E926\administrator,sa ,1234
////////
3.
EXEC sp_tables_ex spserver16
GO
thanks for ur help Vuyiswa Maseko
|
|
|
|
|
am Glad you Solved it ,
Welcome
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|