|
The dll project should be a different project, and the project which referencing the dll also in the same solution. First you compile the dll (class library) project, then try to compile other project. If still you are getting error means, remove the reference and add it again.
Ram
|
|
|
|
|
Rebuild your complete Solution.
Thanks & regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
If the project(dll project) is in the same solution.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Obviously......
Thanks & regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
Thanks guys, I got that sorted.
I compiled the project containing the class library and then compiled the actual project and everything is fine.
macca
|
|
|
|
|
I have a bound listbox to a sql datasource, the problem I have been having is that when I use the multiple select property I need to perform another procedure to find the highest factor of the selected items and return this to part of the form.
I have looked at using javascript but i'm not the best at it so if anyone can think of another way could you let me know.
|
|
|
|
|
Here are the steps that you may do:
+ Create the handler for the client side events of the listbox control like onclick, onchange, see select element[^]. You can register the handler in the control declaration or in code with the Attributes collection of the control.
+ Use javascript to walk through the item collection using the the options[^] property to collect the selected items and determine the highest one.
You can also easily find lots of sample scripts out there to access the contests of the select element. Just out of curiousity why you don't just do that at the server side as it seems much easier.
|
|
|
|
|
Hi guys;
I have this problem with sql server 2000 and asp.net 2.0
Here is the problem:
I am trying to use the Roles.AddUserToRole(string username ,string Role).
Now the problem starts when the program gets to this place where it has to execute the addusertorole method. Im getting this error:
Error 446: cannot resolve collation conflict for equal to operation
I have read alot and searched the internet but I dont quit get what am I suppose to do.
Could you please help me to resolve this problem?
Thanks a million
Hadi
|
|
|
|
|
|
Hi minhpc_bk;
Thanks alot for your very usefull reply. Right on time.
By the way here is how i fixed the problem using the guid.
I replaced the line
DECLARE @tbNames table(Name nvarchar(256) NOT NULL PRIMARY KEY)
with
DECLARE @tbNames table(Name nvarchar(256) COLLATE Database_Default NOT NULL PRIMARY KEY)
Again Thank you very much
Riazi
|
|
|
|
|
Sir,
I am deleting the record in the datagrid but before deleting the row i want to send the request like 'are u sure u want to delete the record' .I mean i want two buttons Ok and cancel if ok is pressed it deletes the row otherwise row will not be deleted and for that i don't want to use another web form and want java script tools .Can i use these things in vb code behind file .
If possible please send some code.
Please help how to solve this problem.
Thanks
|
|
|
|
|
use javasciript code for confirmation.
|
|
|
|
|
Try adding this after the tag
function confirmDelete(e) {
var targ;
if (!e) var e = window.event;
targ = (e.target) ? e.target : e.srcElement;
if (targ.nodeType == 3) targ = targ.parentNode;
if (targ.id.toLowerCase().indexOf("delete") >= 0) {
return confirm("Are you sure you want to delete?");
}
}
document.onclick = confirmDelete;
<\script>
Please note the button you click to delete the item from the datagrid must be called delete as this function will check to see if the button you clicked has text value set to 'delete'
|
|
|
|
|
Yet other examples from the site[^].
|
|
|
|
|
How to create your own date and time object in asp.net/C#
without using inbuilt objects.Plese mail me if anyone found the solution on below address.
kapil_jain08@yahoo.co.in
manishgkumar@gmail.com
manish
Manish
|
|
|
|
|
Can you be more specific about you own date/time objects? What about the System.DateTime structure in the .Net framework?
|
|
|
|
|
|
DataBinder.Eval -------- Its a Expression
Container.DataItem --------- Its Basically ur container name like Datagrid or DataList.for them value is always Container.DataItem.
"SSN"----Its ur Field name.
Hope, this may help u.
thanx
|
|
|
|
|
|
Hello
any body can help me how to measure the Bandwidth usage for my site for a day?
need some suggestion ur side
thanx
|
|
|
|
|
|
Hello
thanx for ur reply,
can i integrate them in my asp.net application.
I have also one of the major problem..
Each module consist of ascx (asp/net user controls) & programming script and database script – modules can be any programming/database (PHP/mySQL or ASP/mySQL or ASP/Access or PHP/Access or Asp.net/MS SQL etc etc ) – every time a new module is added the super admin can specify the programming and or database.
How to upload ascx controls for backend administration and PHP User Modules with database script file.
plz help me solve this problem too.
i'm not getting any idea abt plz tell me.
thanx
|
|
|
|
|
Hi all,
I am creating the Templates for the Repeater Control Dynamically. I am following the below link,
http://msdn2.microsoft.com/en-us/library/0e39s2ck.aspx[^]
In this, i am using HTML tags to format each row of Repeater (ie Templates).Ok.
Here, this class is always generates the Row (Template) in same format, which is specified in the class.
My Aim :
Here, i wish to implement the Design ( HTML formatting) of Each Template & Controls in that Template from outside class.
Hence i can use the same Template (MyTemplate) class for Creating different varieties (style) of Templates for different Repeater Control without writing one Template class for each Repeater.
How to achieve this?
Regards,
Jay
|
|
|
|
|
Dino's article[^] may give you some hints.
|
|
|
|
|
Thank you a lot 'minhpc_bk'.
I am going through this aricle. I ll get back to you, incase of any clarification.
Regards,
Jay
|
|
|
|