|
Mircea Grelus wrote: Seriously though, you should learn to use Google. While trying to find solutions for your problems you will be forced to read arcticles, comments, forums and you will learn a great deal from that.Instead of posting the same questions here again and again and complain the code doesn't work.
wise truth, Great statement...~5~
Regards - J O H N -
|
|
|
|
|
u can try
<script language="javascript" type="text/javascript">
function abc()
{
alert('hi');
}
</script>
this code in separet .js file and then using
no knowledge in .net
|
|
|
|
|
Seriously, please tell me that no-one is paying you to ask the same basic question over and over, ignore the answers, and show no signs of having any ability to do research, write code, or even read ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I have a Nested Gridview and each row of my nested Gridview has a radio button. I want the selected row from my nested gridview.
But here is the problem...
I want to access the selected rowid on a Button click, which is outside my Nested Gridview.
Can I save the Rowid for the radio button checked with out postback?
HELP NEEDED !!
Regards
Munawar
|
|
|
|
|
Navigate through the items of the GridView and find the radiobutton control and check whether it's selected or not. you should be able to access the ID too using the Datakey's property of the GridView. something like this...
For Each gv As GridViewRow In GridView1.Rows
If CType(gv.FindControl("rbtn"), RadioButton).Checked Then
RowID = CInt(GridView1.DataKeys(gv.RowIndex).Value)
End If
Next
Regards - J O H N -
|
|
|
|
|
Hi dears,
I want to test my website on my workgroup network . Then I created a virtual directory in IIS and could brows website from another pc correctly. but it has a big problem . the website is not enable to connect to SQL database.
How can I fix it ?
thx a lot,
www.behzadi.net
|
|
|
|
|
furza_milan wrote: How can I fix it ?
Did you add grant permision for user asp.net
|
|
|
|
|
We have no idea. If IIS is serving the page, then the only thing that should matter is that the server can see SQL Server, the computer you use to browse the site should be irrelevant. I suspect you need to provide more details of what's happening, errors you see, etc.
If you see an error telling you to change your settings so you can see detailed errors, please just do that first, don't post it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
if I catch the error no message occured but when I do not catch the code I just see "the page can not be displayed...!" message.
www.behzadi.net
|
|
|
|
|
did u run the aspnet_regiis -i in the vs 2005 command prompt
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
of course I did run aspnet_regiis.exe
I can brows website and can see my page layout but no data from database shown in webpage...
www.behzadi.net
|
|
|
|
|
how it is possible that u r giving the solution to other. Do u think so sonia. Not do again.
Devjit Das.
|
|
|
|
|
Sir, just trying to do it.It's all ur knowledge , which i share with others
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Disable "show friendly http error messages" in the settings in your browser, so that you see the real error message that the server sends.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
I did it , and the error "Login failed for user 'myName\ASPNET' " appeared,
I did grant full permissions to ASPNET user for website directory and tested both "windows integrity" and "SQL Server integrity" settings in IIS . but still the error is shown ...
www.behzadi.net
|
|
|
|
|
For integrated authentication to work, you have to add the ASPNET user in the database server, so that the database server knows about the ASPNET user account.
Alternatively, you can use SQL Server authentication instead.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
u can try 2 rule may be solve
1. u create ip address of your system and domain
and then acscess another pc through Ip address
like http://192.168.1.45/[directoryname]/default.aspx
no knowledge in .net
|
|
|
|
|
furza_milan wrote: the website is not enable to connect to SQL database
Can you be more specific? What error is coming up?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Mmmm... maybe this sounds a bit silly but... are you trying to connect to the database using Windows Authentication or SQL Server Authentication?
For a web app I would use a custom SQL Server login (more info: http://www.connectionstrings.com).
HTH
/// -------------------------
Braulio Díez
tipsdotnet.com
/// -------------------------
|
|
|
|
|
i can place the vb script tag in head and in the body.
is there any difference in placing the vb script in head/body?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Don't use VBSCript at all, because it only runs in IE. Use javascript.
As you obviously can't work out how to use google, here is the search:
http://www.google.com.au/search?sourceid=navclient&ie=UTF-8&rlz=1T4ADBS_enAU225AU226&q=vbscript+head+body+html[^]
which gave me this page:
http://msdn2.microsoft.com/en-us/library/3945y0f9.aspx[^]
Which says:
"You can use SCRIPT blocks anywhere in an HTML page. You can put them in both the BODY and HEAD sections. However, you will probably want to put all general-purpose scripting code in the HEAD section in order to keep all the code together. Keeping your code in the HEAD section ensures that all code is read and decoded before it is called from within the BODY section.
One notable exception to this rule is that you may want to provide inline scripting code within forms to respond to the events of objects in your form. For example, you can embed scripting code to respond to a button click in a form: "
Have you even looked at your book yet ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello sir,
i searched in the articles, as these minute things , don't lie in the books , that's y i asked it here.
how precisely , u elaborated this topic.
Thanks....
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
OK, well, I found it with google in < 20 seconds.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi
i have used From tag in Content Page ..and try to Retrive From Tag using request.From .but it gives me null ref error
Jintal Patel
|
|
|
|
|
Ok, Why do you using form tag in content page. Because master page using reason is change the dinamic area in a form. Actually you have one form.
Best Regards...
|
|
|
|