|
hi,
if i type employee id in text box i must retrieve employee details of that respective id typed in textbox... i have to write stored procedure for this,could u pls help me regarding this.
thnks
|
|
|
|
|
This is a basic and effortless question try to do by itself.
Go to Asp.net[^]
site you will get so many example like this.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
HI Preetej,
If you want the stored procedure for your problem then here is the code for that:
Create procedure SP_SelectEmployee
@EmpId int
as
begin
select * from employee as emp
where emp.EmpId=@EmpId
end
just call the stored procedure and pass the parameter for it. parameter of this SP is @EmpId.
Just send me your feedback if u satisfy with my answer.
Arun Sahoo
|
|
|
|
|
thanks arun 
|
|
|
|
|
Hi,i have used addrotator in which the XML file fills images dynamically.
the problem is when the image is changed at certain interval of time,the page jumps from midpage to bottom.i mean scroll bar will come down automatically,when tried to move up,it will come down automatically.
Can i get the solution for this.
|
|
|
|
|
|
document.getElementById(ID).all to get all the data
get all the data ? mean what, do you want to get the Value of that control ?
If yes then use
document.getElementById(ID).value
That would be work for all browser.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks Parwej
The Id here is a table that contains multiple rows like grid so by using all i am getting all the rows ...
for this control value is not supported
Dinesh Sharma
|
|
|
|
|
Ok, Can you try like as below:
var myTable=document.getElementById(ID);
Then access all rows from myTable object.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
it will return an object ....its ok.
but which property will return the number of rows....
I tried the rows property but its not returning all the rows.
Dinesh Sharma
|
|
|
|
|
|
Hi
I have a problem with my site when using the back button. in my login page i am using 3 linkbutton to redirct to other page based on ispostback value.when i use any of it the first time and the page is been redirected.The problem is when i use the back button and go to my login page and again click link the redirect is going to the wrong page.is there any way to change the value of the ispostback value when i use my back button.
thanks
|
|
|
|
|
Hi,
I have deployed webstite on IIS 7.0 in windows server 2008. Everything works fine except css and js files are not rendering. Css and Js is not working on any page?
Please provide some solution
himanshu
|
|
|
|
|
Is it working properly on IIS6.0?
Cheers!!
Brij
|
|
|
|
|
|
Might be there is some issue in deploying the website.Please check the article geven below
[^]">
Cheers!!
Brij
|
|
|
|
|
Did you enabled JavaScript in Browser?
|
|
|
|
|
|
Hi,
So the problem is I have created an asp.net project.There is a page contains DELETE button which deletes Grid Data from the page. When I click on Delete button, it deletes the data and show a JavaScript alert message that the Data has been deleted. After that I access some other page and when I come back to the page using back button of Browser, It show the same "The Data has been deleted" alert again. I am not getting how to stop that alert message to show agsin abd agsin on the Page. So please help me.
Thanks in Advance.
|
|
|
|
|
The best way to do this is to do a Server.Transfer to the same page after deleting, so that going back goes back to a request for the page, not a postback that is doing a delete.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am not getting what you want to say. Where I use Server.Transfer??? Sorry.. But over the head answer...
|
|
|
|
|
Hi,
Can anyone suggest me how can I stop a web page from being grabbed using web grabber softwares?
My website is asp.net 2.0 website.
Please suggest me.
Vijay V.
Yash Softech
|
|
|
|
|
if you make all pages secured. I mean, allow users to see the pages only after providing the user credentials. If user is not authenticated, show "Access restricted" message.
|
|
|
|
|
This is already done.
Web grabber software grab the pages with images and other things.
How to stop them?
Vijay V.
Yash Softech
|
|
|
|
|
You plainly cannot. For me to view a page, you need to send me the HTML. Once I have it, I can save it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|