|
No problem. Glad you managed to solve it.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
|
|
|
|
|
Hi there,
I am using asp.net default role/membership provider for my new website using login control. I have data stored in a remote sql database -aspbnetdb. I am using the default functionalities to check login status, create new user update, delete user/role etc. Everything works fine when i am run in the VS 2008 development. But when i deploy my website into IIS 6, my membership doesnt work. When i give the login credentials, my IIS completly ignore what i have given in my webform and i ended upgetting an error saying
System.Data.SqlClient.SqlException: Login failed for user 'domain\machinename$'. But i didnt give this id anywhere. Do i need to have a account in this id at the database.
This could be a easy fix, but i really dont know how to fix this.
Appreciate any help.
Thanks!!
|
|
|
|
|
|
Just trying to learn this stuff it is not a must but i seen Linq is very cool
Ok well i want to get titles from my existing dataset where they equal the text of a textbox so i was trying to do something like this using linq....
<pre>
var _data = from books in bookdbDataSet.Booklist
where title(textbox.text)
select title;
</pre>
then i wanted to make the binding source that of _data
so i thought something on the lines of
bindingnavigator.bindingsource.datasource = _data;
then calling the
bindingnavigator.bindingsource.filter some how another to show the results of the linq
is this even possible? And if so how would it be done cause linq looks pretty neat but I like the bindingnavigator filter option too
|
|
|
|
|
Go here:
http://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator.aspx[^]
It looks pretty cut and dried to me (the c# example is closer to the bottom of the page). Notice that the BindingSource is allocated, and then set in the form_Load() method.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Hello every one,
I need this urgentlly.
I want to write a C# application that run on the start up and automatically connect to a PC in my network showing its desktop (Just show it , no need for control.)
any one can help please ?!
All You Need Is A Good Friend
|
|
|
|
|
May be using Windows Remote Assistance that comes with windows live messenger can help. but I dont know how !
All You Need Is A Good Friend
|
|
|
|
|
Maybe you could use Desktop Sharing via RDP[^]?
I are Troll
|
|
|
|
|
I dont have Vista. I want a solution on windows XP
All You Need Is A Good Friend
|
|
|
|
|
Dr.DigiTaL wrote: I want a solution on windows XP
This[^] might work, I haven't tried it
I are Troll
|
|
|
|
|
i am implementing a graphical password authentication system. I need to provide a tolerance area around Mouse Click Positions on a picture box. Can anyone help.
|
|
|
|
|
Can you be a bit more specific about what you're trying to do, in particular what do you mean by a 'tolerance area'?
Regards,
Rob Philpott.
|
|
|
|
|
I am trying to Implement a graphical Password authentication system. Passpoints. Since no one can precisely click the same positions for every subsequent Login a small margin of error must be allowed around the clicked position for which the Passsword can be accepted as same.
|
|
|
|
|
hi,
you can use the Fuzzy logic for this. here is a good start.
Cheer's,
Alex Manolescu
|
|
|
|
|
I am trying to Implement a graphical Password authentication system. Passpoints. Since no one can precisely click the same positions for every subsequent Login a small margin of error must be allowed around the clicked position for which the Passsword can be accepted as same
|
|
|
|
|
you may use fuzzy logic here!
|
|
|
|
|
Hi all,
I'm writing some code that I want to be part user generated part auto generated.
The code will be C# but used as a script through embedding Mono in a c++ application.
Ideally I want my users to use a graphical editor that will auto-generate the class and the constructor using info from the editor(I've done this using the AssemblyBuilder and Reflection.Emit)
But then I want the user to be able to use a text editor to write an override for the Update() method then any number of public or private methods they wish to define.
I want to be able to compile this hand-writen code (I'm doing this with the CSharpCodeProvider) but I want to inject it into the autogenerated code some how.
So the class and constructor is auto-generated and the Update method and any number of other methods are handwritten in C# 2.0 and the results combined into a single dll.
I hope this explanation makes sense.... can any one help?
Thanks.
|
|
|
|
|
It seems like all of the code is dynamic.
If the result is a single dll, then you can combine all code (text) right before compilation.
If the result is two dlls or more, you can create an interface and then load the implementation of Update on runtime (there are many other ways...)
|
|
|
|
|
I'm quite lost. I think it's simple, but I can't find the article or forum answer...
I have a dataset. I have bound diffrent columns to different textboxes.
Now...
¿How do I move throught the dataset? I just need to navigate through the dataset and then bound controls should automatically update. How to:
- Move next/previous record
- Seek or find records.
Thanks!
NOTE: By the moment I'm using Visual C# 2003 with NET Framework 1.1...
|
|
|
|
|
not sure if it works in that version of c# that you are using or not I'm using c# visual studios 2008 express edition. But anyway what I use is the bindingnavigator toolstrip
it does just that adds a forward back and list the number of items like 1 of whatever. lets you skip to the front to the end and then add remove save... and then you simply take and have your controls bound to the data in the datasource. and it will automatically update.
How i went about doing it in my project was I took and added a database using the whole data>add data source thing in the compiler. Once that was done I took and went under the data source thing that it creates on the left side of the compiler. I simply dragged the table onto my form and it makes a dataview along with the cool little toolstrip navigator. i simply remove the dataview and keep the toolstrip. then i go back to the datasource thing and select the individual items i wish to add to the form and simply drag them over. You can hit the little drop down to change it from a text box to a combo box to whatever. Then the control is bound to that datasource. so now when you use the navigator it will move forward or back. and the controls will automatically update. I think this is what you were looking for. If not i'm sorry for misunderstanding..
|
|
|
|
|
This is exactly what I need, but... I don't have this control
As I have recently read somewhere, I think I must try working with CurrencyManager, and implement it by myself. Let's see what can I find out... specially for SEEKING records.
Thanks, anyway!
|
|
|
|
|
I just want to ask what are some of the errors that OleDbException exception handler usually handles?
is the scenario of having a failed connection to the database one of the errors?
I can't find a detailed list of all the exception handlers usually used in database programming.
|
|
|
|
|
Deadlocks, timeouts, referential integrity problems...
Duplicate keys...
|
|
|
|
|
Ok. Thanks for your answer.
|
|
|
|
|
I've got a small C# app that runs as a service on a Windows 2003 SP2 server. It has a main thread that loops and checks and processes socket IO, a secondary thread that does a listen for incoming connects, and System.Threading.Timer. For some reason, in the last few days, the app timer has NOT been getting triggered. I've put some comments in the code, restarted it, etc and definitely confirmed that the callback function is not getting called. Has anyone else run into this? How did you resolve it? I found some info via Google that mentioned problems with Windows 2003 SP1, but that doesn't seem like it would affect me since I'm running SP2.
|
|
|
|