|
To bind word document from the sql to srid view First design tables (Country and State) in your database based on another dropdown in asp.net. After completion of table design write code in your aspx page .
http://www.dapfor.com/en/net-suite/net-grid/tutorial/data-sorting
|
|
|
|
|
Do you mean:
var wordDocsList = dbAccess.GetWordDocs(param);
gridviewID.datasource = wordDocsList
gridviewID.databind();
<asp:gridview runat="server" id="gridviewID")>
<itemTemplate>
<a href="<%# wordDocsList.DocLocation %>"><%#wordDocsList.DocTitle%></a>
-- check out my new website www.topthat.com
|
|
|
|
|
How to bind varbinary data from sql database to Gridview in asp.net...
|
|
|
|
|
..and you don't repeat a question. If it takes too damn long to your liking than take a look at the documentation. There's literally a page with "how to's" for ASP.NET and the most common tasks, including code-examples.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
I've got probably hundreds of saved web pages from different sites about different topics. I don't mind so much seeing the original ads, but they all seem to want to connect, probably to refresh the ads. If I'm not connected they fail silently and the pages work, but now that I have a Squid proxy on my LAN they try to connect through that even when I'm not dialed up. They take about 2 minutes to time out so the pages work.
Is there something that will remove or comment out ads/links accessing places that aren't local? 192.168.0.0/16 is about the only thing I want to allow. It seems fairly easy to write something to take out href links, but Javascript is another matter. Preferably something that will work under Unix in general (OpenBSD).
Thanks,
Alan
|
|
|
|
|
AB1JX wrote: Is there something that will remove or comment out ads/links accessing places that aren't local?
You'd have to remove all JavaScript, since some of those url's (or ip's) might be generated.
Not exactly an answer, but it might help until someone comes along with one;
A lot of ads can be blocked by using the mvps[^]-host file.
Under Windows I'd simply write an app that acts as a viewer, and block that app's communication using the Firewall.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
hiiiiiiii to all
any one can tell the project activation mail after registration in asp.net c# link
rizvan sivally
|
|
|
|
|
sheemap wrote: any one can tell the project activation mail after registration in asp.net c# link
As Richard Said
You really need to give a lot more detail than that if you want a sensible answer.
|
|
|
|
|
hiii to all
how make existing roll number result project where enter roll number and see result on other page.
please any one have any link please share me
its urgent
rizvan sivally
|
|
|
|
|
sheemap wrote: how make existing roll number result project where enter roll number and see result on other page. You really need to give a lot more detail than that if you want a sensible answer.
sheemap wrote: its urgent Not to anyone here.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I think for that project you have work or self coz it is little bite big to post on web.
what you have to work
Create a database and table
Input all data then make search box where people will enter roll no then send the data to other page using post or get. in that page verify the roll no and if exist then get the data and print
Kislay Kumar
Trustcity
|
|
|
|
|
I wrote a program in VB.Net some time ago which includes a text box for input associated with a key press event routine that converts lower case alphabetic chars to upper case, accepts upper case alphabetic chars and one other special character, and discards any other key presses. I would like to provide a web version of the application but am yet to find any programming language which provides the ability to intercept and change key presses in this way.
Neither ASP or WPF has any obvious way to do this so I've reconciled myself to needing to learn a new language but obviously would like to make sure I'm not stumbling along in those that won't actually let me do this ultimately. So is there any one language in which you can guarantee I will be able to reproduce the required behaviour or should I just abandon the project now? 
|
|
|
|
|
The answer is Javascript (or one of the 'packages' that is based on it, like jQuery). It runs in the browser, so it can catch events like user keyboard/mouse operations. Look at http://www.w3schools.com/jsref/event_onkeypress.asp[^] for a start, and stroll around that neighbourhood for examples.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Thanks for the suggestions. I guess it's Javascript learning time then.
|
|
|
|
|
JavaScript for ASP.NET and WPF supports this though the PreviewTextInput event.
|
|
|
|
|
hi
i have different list in accordion format
i want to highlight the list item according to the page
<ul class="accordion" id="accordion-4">
<li ><a href="#">Hollywood</a>
<ul>
<li><a href="#">POP</a></li>
<li><a href="#">Rock</a></li>
<li><a href="#">Folk</a></li>
<li><a href="#">Jazz</a></li>
<li><a href="#">Country</a></li>
<li><a href="#">Blues</a></li>
</ul>
</li>
<li><a href="#">Bollywood</a>
<ul>
<li><a href="#">POP</a></li>
<li><a href="#">Rock</a></li>
<li><a href="#">Folk</a></li>
<li><a href="#">Jazz</a></li>
<li><a href="#">Country</a></li>
<li><a href="#">Hindu Stani</a></li>
<li><a href="#">Film Songs</a></li>
</ul>
</li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</li>
</ul>
the above list is the sample list
and i am using bellow code
<script type="text/javascript">
$(document).ready(function($){
$('#accordion-4').dcAccordion({
eventType: 'hover',
autoClose: true,
saveState: true,
disableLink: true,
menuClose: false,
speedIn:10,
speedOut:10,
showCount: false,
})
});
</script>
can any one help to me.
|
|
|
|
|
You could do this several way such as sending a numeric ID to a javascript function that corresponds to a link in your list. When clicked, and/or the page has done a round trip read that numeric ID back into a function that highlights that link.
This is just a crude example of javascript that take an element's ID and turns its background bright Yellow.
function highlight(linkID)
{
var link = document.getElementById(linkID);
link.style.backgroundColor = "#FFFF00";
}
If you want to go about it in a STATIC way you could set up each page where the link itself has not only a CSS class definition but an ID as well, for example:
<ul class="sub-menu">
<li id="CURRENT_PAGE"><a href="#">POP</a></li>
<li><a href="#">Rock</a></li>
<li><a href="#">Folk</a></li>
<li><a href="#">Jazz</a></li>
<li><a href="#">Country</a></li>
<li><a href="#">Blues</a></li>
</ul>
Now define your CSS
.sub-menu { ..... }
#CURRENT_PAGE { background-color:#FFFF00; }
The choice is up to you, good luck!
I once knew a man with a wooden leg named Smith, I never asked what he named his other leg.
|
|
|
|
|
can any one please help me in writing
A raw soap xml packet to be posted to WCF and to retrieve the response
Here we are not using either the service reference or the proxy.
|
|
|
|
|
I want the code for advanced search for a dating site.I was unable to write it correctly.
"Lookingfor(Male,Female),Age(18,19,20,21,22...etc),Occupation(Teacher,Engineer....etc),Education[B.Sc(Science),B.A(Arts)....etc]" are the features in the Advanced Search option.I want the correct code in php.Please hekp me.
Thankyou verymuch
|
|
|
|
|
udara1985 wrote: I want Please read the guidelines[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
It does not work like this here.
Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.
Try them and tell if you face issues.
Members will be more than happy to help you.
|
|
|
|
|
Countered 2-vote
C# has already designed away most of the tedium of C++.
|
|
|
|
|
Hi All,
I'm accessing the inetpub folder from a share (mapped drive) of our development web server. When I try running the application from Visual Studio on my machine I receive the below error message. However, when I run the application from the web server, browse through IIS, the application shows up with no issues.
Error message: “Could not load file or assembly 'DataWindowInterop, Version=2.5.0.0, Culture=neutral, PublicKeyToken=cc0f66dd9541b3da' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)”.
Could anyone point me in the right direction as to how to solve this DataWindowInterop error? Does it have something to do with the DataWindow not being accessible from the web server? When I bypass the error message in Visual Studio all that is shown in the browser is the directories, as expected being that the Data Window isn't accessible.
Any help would be really appreciated.
Thank you
|
|
|
|
|
Try it from a local drive. Running an application from a network drive is more restricted than from a local drive.
Philippe Mori
|
|
|
|