|
hi,
both are the same.
if you import the namespace 'System' in you code page, then you can just use Object which is the same as 'System.Object'
regards
|
|
|
|
|
Hi all,
Could any one help me out. I have created a com dll in vc++ and willing to add reference in asp.net 2.0. Once I succeed but not able to add namespace as well as not able to access any methode. Its a spillting headache for me. Please help me out....
Thanks in advance..
Sapan
Hi all go for this...
|
|
|
|
|
Hi Sapan,
Add the com dll by following method.
1) Right click on the project->select "Add Reference"
2) Click on COM Tab, browse the dll, then click OK button
Inside the page_load event, Create the object of the class which is defined
in the dll. If you have namespace in the COM Dll, then use like this
<namespace>.<class name>
then access the method from the object created.
Note:-
1) unless you defined the method in the class as static or shared you cannot
access the method directly.
2) you cannot access the class method in the import or using statement
3) you must declared the class as public class
4) access the method of the object created is done only in the function
and cannot be done in the declaration
I think this will help you to solve the problem, if you couldn't, message me.
|
|
|
|
|
<html>
<body>
<h3>Hi this is rajesh here.I have a problem to populate data from single table. table is having three coloumn
EmpID Empname MngrID
1 Pulak null
2 Hemanshu null
3 sheema 1
4 ashish 3
5 gaurav 3
6 rajesh 4
7 BL 5
now I want to display Empname on each node in hierachical manner like pulak will have child node sheema,sheema will have ashish and gaurav , ashish will have rajesh.
Any help will be appreciated
</h3></body>
Rajesh
|
|
|
|
|
Hi,
You have to write your own recursive logic to accomplish this.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Hi chetan,
I used XML to populate data ,I have no idea about recursive logic can you help me out.
thnx for cooperation
rajesh
|
|
|
|
|
Hi, i have displayed my set of records in my datagrid using stored procedure...,
Now i want to display those records as my user friendly...,
Means,See in my screen i will give two or three radio buttons...,
In that one will be id wise,second one will be name wise another one will be in designation wise...,
Now with out server interrupt, i want to display the records based on the radio button selection..,
It will be possible in only javascript...,
Anyone have idea to solve this probs?,
Advance thanks,
Magi
|
|
|
|
|
Hi
Do you mean that you dont want to refresh screen when an option is selected ??
Have you heard anything about AJAX?? Search this in google and you will find tons of examples..
There is something called as UpdatePanel which will refresh only within panel. Explore more on this and it is very interesting.
Harini
|
|
|
|
|
Hi i dont have any idea in ajax..,
I saw the update panel is one of the tool in ajax...,
But how i can use it in my form?,
If u dont mind u can explain me or give me th ecode...,
Magi
|
|
|
|
|
|
hi!
I caught Sys.webforms.PageRequestManagerServerErrorException using following code
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args)
{
if (args.get_error() != undefined)
{
var errorMessage;
if (args.get_response().get_statusCode() == '12031'|| args.get_response().get_statusCode() == '12030' || args.get_response().get_statusCode() == '405')
{
args.set_errorHandled(true);
}
else
{
}
}
}
but On buttonclick event server side ButtonclckeventHandler is not getting fired.
how to solve this problem .
pls guide.
thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
hi,
In my application user submit data from different parts of the world.
I am using asp.net 2003 and MSSQL 2000.My webserver is in USA.
I have a user table with fields uid,countryid,pwd,msg,wrkdate and
country table also.The wrkdate filed is set as default value is getdate().it insert default value too ie usa date with time.
When a user from India submit a data , in database it inserts USA date.
my need is i want to insert the user's country date and time.i know to pick the date and time of the clinet machine using javascript. but it is not convenient bcoz it will aid user to insert back date or forth date.
is der any function availbalke in MSSQL to solve this pblm or any other idea to solve this like fix USA time as base time and add time differnce to each country....
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
Look into the System.Globalization namespace and use the culture settings
|
|
|
|
|
thank u
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
Hi,
Can any body tell me how to search a keyword in asp.net
can any body send me the code
with thanks and regards,
kaushik pulpa
|
|
|
|
|
Can you describe your problem in detail? Do you want to search a keyword in database?
Apurva Kaushal
|
|
|
|
|
i Want to search in the database as well as the web site
with thanks and regards,
kaushik pulpa
|
|
|
|
|
If you want to search in the database then you can use stored procedure to search the keyword.
For web site search: are you storing the content some where if so then you can directly search there itself.
Apurva Kaushal
|
|
|
|
|
do u have the code ..
can u send me the code plzzzzzz
with thanks and regards,
kaushik pulpa
|
|
|
|
|
To search the keyword in database you can use like keyword in sqlquery. And to get the code on how to execute the stored procedure from asp.net you can get it from Here[^]
Apurva Kaushal
|
|
|
|
|
See http://msdn2.microsoft.com/en-us/library/ms692947.aspx[^] (I am assuming you're running IIS)
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Hi everyone
I am doing an apllication, in a particular senario I have to close the Web browser with a Button click.
I want the code for closing the web browser without using JavaScript.
(Closing the web browser means closing the entire application.)
Thank u
Chandu
|
|
|
|
|
You want to travel in the sea withouta boat...
So sad...:->
|
|
|
|
|
Apurva Kaushal
|
|
|
|
|