|
Have you tried this[^]? It should give you a good example to work from and help you debug your issue.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
thanks a lot for the help Tom. however, i'm trying to control the IR port on a windows mobile, read infrared signals from a remote control and store them before retransmission. If you have something close to this, I'd be extremely grateful.
Take care,
Emotu
|
|
|
|
|
this is my code
<asp:templatefield headertext="FileName">
<itemtemplate>
<asp:hyperlink id="HyperLink1" runat="server" target="_blank" navigateurl="~\Feedback\+<%#Eval(QAFilename)%> +">
<%#Eval("QAFilename") %>
i want one of my column in gridview with hyperlink value so i used the above snippet in my code the actual functionality i want is when i click on the hyperlink button i want that particular file to be opened, so in the navigate url attribute i used "'~\Feedback\ + <%#Eval(QAFilename)%> +'" upto feedback path is is fixed i want to add the filename dynamically but it is not working cananybody suggest me
regards
sunil
|
|
|
|
|
Give a DataNavigateUrlFields="File_id" into the Your HiperlinkField
|
|
|
|
|
the code snippet which i have posted was deleted in my Question
sorry i think i was not clear enough actually i am manually giving path as NavigateUrl='~\Feedback\ after the slash i have to give the name of the file in navigateurl attribute iwant to know how to concatenate my file names after the last slash which are in my gridview
anyway thanks for posting ur answer plz do get me better answer if possible
regards
Sunil
|
|
|
|
|
Why you have put the same question in different board (both in C# and also ASP.NET ).
|
|
|
|
|
actually my proj is asp.net with c#.net coding so i put my question in both anyway i got the solution i used anchor tag in place of hyperlink
|
|
|
|
|
|
i get this error when i attemp to use
SqlBulkCopy.WriteToServer(DSet.Tables[TableName]);
Yogesh Pekhale
pekhaleyogesh@gmail.com
|
|
|
|
|
pekhaleyogesh wrote: SqlBulkCopy.WriteToServer(DSet.Tables[TableName]);
There is a DateTime value out of range bug somewhere inside there, fix the bug there.
Sorry, if you can only give brief description of the problem, we can only give brief answer/suggestion.
|
|
|
|
|
Hi,
sorry !!!
actually I have a project which copies table of MS Access to dataset and then using sqlbulkcopy updates the table on SQlserver2000.
both tables in access abd Sql Servcer 2000:
# have no keys , indexes etc only simple columns
# Both tables of Access and SQLserver 2000 is same
# There is column MyDate as datetime in both DB table.
Now while SQlBulkCopy.WriteToServer(dataset.table) throw an exception
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Yogesh Pekhale
pekhaleyogesh@gmail.com
|
|
|
|
|
|
hi all
i'm doing a mantanence project.
In that some code i write in javascript in html page.
Is it possible to display a variablr value on label when we run the application. If so, then how can it be done
|
|
|
|
|
You give the label an ID. And in javascript use the document.GetElementByID(id) and set the value attribute.
Hope it helps.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
if by label you mean an ASP.NET control, the wrinkle is that the ClientID is not the ID you set, so you need to find the client Id for getElementByName
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 )
|
|
|
|
|
P_Elza wrote: label
asp:Label is rendered as a SPAN. You can access the span in JavaScript using document.getElementById("spanid");
|
|
|
|
|
hi, all.
i have a problem on web service server to authenticate, "Username Token", on .NET 2.0 and WSE 3.0 platform.
The problem is that to authenticate client with Java platfrom or something, not .NET. From my understading, the client should refer the WSDL from the server-currently .NET web server. However, the WSDL file or web link such as "http://~.asmx?WSDL" does not give any authentication policy information.
So, what i am saying is that how i can append a policy to WSDL.
i have search this for 4 weeks. now i totally breakdown.
xlegend1024@naver.com
|
|
|
|
|
Hi, I'm a degree student currently working on my final year project and it involves encrypting files being dropped into a removable drive and decrypting files taken from the drive. We've pretty much done up the bulk of the program but cant seem to get around a problem with the encryption process..
Currently, the data that is written to the drive is encrypted only after file watcher has detected that is has finished writing. We're trying to find a way around this as encrypting this file after it has been copied either means that it will take up double its disk space during encryption (encrypting parts of the file in buffer and writng to disk) or taking up its equivalent size in memory (copying data to memory stream and deleting the original file then writing the ciphers to disk).
Is there any way to do something like truecrypt or freeOTFE with c#? i was thinking of encrypting the data during the user's copy operation or perhaps interrupting the actual windows file operations and using my prog to do it for the user..
We cant seem to wrap our heads around as to how this can be achieved, ATM we are stuck with the memorystream method as it provides much better performance, but large files would totally flood memory....
Any help or perhaps pointers as to where i should be looking? Its possible in linux but windows isnt open source
|
|
|
|
|
|
Well.. I am already using that for encryption, however, its the way it handles the unencrypted and encrypted data that is a problem.. My aim is to speed up the process with the minimum cost..
Is it possible to intercept data while its being transferred from one location to another and doing some operations on the data in real time?
|
|
|
|
|
If we have a textbox and a send button.if we enter the name of a person and click the send button ,the message will be send to the client in the network.plz send the source code.
|
|
|
|
|
Does the text box have plz send the source code in it and this is what you want sending? Sorry, I am a little slow in understanding.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
Does everyone want to have their job done by CodeProject's users?
SreejithAchutan wrote: plz send the source code
Tell us what you have tried and what are your problems...this way you can be helped.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
I want the source code for the work.if a user wants to send a mesage to another user ,he had to type his name and the message in a textarea and whn clicking the button it will be send to the user.how it possible
|
|
|
|
|
SreejithAchutan wrote: I want the source code for the work.
You'll get some hints. :->
SreejithAchutan wrote: how it possible
This is better.
Try this [^] article. And next time try to search Google and CodeProject for articles before asking here.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|