|
Are you trying to parse your own markup to make dynamic links? Just use the asp hyperlink if that is the case.
otherwise, read in the text line by line and do:
myString.Replace("{=NavLink=}", "What you want here");
|
|
|
|
|
hi all, I want to make a tap control on web application, there is a tap control for windows ones but I don't know how 2 do it on web ones,
you can see a sample on www.yahoo.com
thanks allllll :->
Thanks alot
Hamody
|
|
|
|
|
a general statement:
XmlSerializer ser = new XmlSerializer(typeof(SomeClass));
In runtime, the IDE throw the exception:
BindingFailure was detected
Message: The assembly with display name Data.XmlSerializers' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Data.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Data.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
=== Pre-bind state information ===
LOG: User = steed
LOG: DisplayName = Data.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, processorArchitecture=MSIL
(Fully-specified)
LOG: Appbase = file:///D:/steed/project/Main/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///D:/steed/project.Main/bin/Debug/Data.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///D:/steed/project/Main/bin/Debug/Data.XmlSerializers/Data.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///D:/steed/project/Main/bin/Debug/Data.XmlSerializers.EXE.
LOG: Attempting download of new URL file:///D:/steed/project/Main/bin/Debug/Data.XmlSerializers/Data.XmlSerializers.EXE.
Though exception thrown, the application runs normally!
Any advice is hoped!
Thanks!
|
|
|
|
|
|
What are you asking about!!?????
<marquee>nishu
|
|
|
|
|
i want to manage a sound file and do pause,play with one button,
so i need to get if sound is playing then i pause it , if it is paused i play it .
so i need to know the state of sound that it is play or pause!!!!
|
|
|
|
|
Do you want to play files?
|
|
|
|
|
i m tryring to display data in datagridview but
error is occuring "cannot create child list of ChartofAcct"
GrdChart.DataSource = cr.GetDataSet;
GrdChart.DataMember = "ChartofAcct";
|
|
|
|
|
Hi buddy
I have to highlight search text from search results as it is in google or alibaba.com.
e.g. if I input paper as a searchtext in search results paper word should be highlighted. as it isin google help.
some one help me please.
I am working in asp.net2.0 using c#
Regards,
Shanti Bhushan
advancedsofts
Shanti bhushan
|
|
|
|
|
hi all,
is there anyways by which i can use customized shortcut keys in C#.net2005... normally it comes as a combination of Ctrl, shift or alt keys.... but i want to use text keys as shortcut keys.. not the combination of textkeys with ctrl, alt or shift....
thanks in advance..
|
|
|
|
|
You can't do that as sortcut keys are always in the combination of ALT, CTL, Shift keys. Otherwise how do the system will understnad you want to type simple text of it was a sortcut key.
Regards,
Amit Kumar
HDISM, PGDCA, MCP, MCAD, MCSD
amit_chikara2002@hotmail.com
|
|
|
|
|
You could enable Form.KeyPreview , register to any of the keyboard events e.g. Form.KeyDown . Then inside the event handler check for your custom shortcut keys and do whatever you want if one of them occurs.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
How to convert XML data to DataSet in C#.Net? Please help me.
Thanks in advance.
Reddy.
rr
|
|
|
|
|
If you want to read the xml file then you can use dataset.readxml method to fetch the xml data to the dataset.
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi
try this:
DataSet ds = new DataSet();
ds.ReadXml("Users.xml");
Tamimi - Code
|
|
|
|
|
|
Hi friends,
i need big help.. my programme generates a crystal reports by following view... for a given batch need to calculated the actual running time = ((starttime - endtime) - sum(temporally_stoptime - restarttime))
MY View is as follows.....
<br />
CREATE VIEW titles_view<br />
AS<br />
select A.transID,A.Machine,Qlityno,batchnno,b.BTDes,color,startime,endtime,Cast((datediff(n,startime,endtime)-<br />
(SELECT ISNULL(SUM(DATEDIFF( n , TStoptime , Restarttime )),0)<br />
FROM FINTransTempstops B<br />
WHERE B.tranid = A.transid and B.TStoptime is not null))as integer) as cf_TimeTook,exp_weight,actual_meters,specspeed,isrefish,next_process<br />
from finbatchinfo A left join FINTransTempstops c on A.transID = c.TranID <br />
left join FINBatchType B on A.BTID = B.BTID<br />
where endtime is not null --and startime >=convert(datetime,'2006-08-21',121) and<br />
--startime <= convert(datetime,'2006-08-31',121)<br />
group by A.transID,A.Machine,Qlityno,batchnno,b.BTDes,color,startime,endtime,exp_weight,actual_meters,specspeed,isrefish,next_process<br />
--order by A.machine<br />
GO<br />
this calculation is done in the view..... i take the actual time in minutes.. and then cast in to integer ....view gives the correct information
but when i generate the report it shows the value in datetime format .... but i need to print the numeric value in the report(even in minute format also fine).. I need to show the actual running time in minutes..
when i check the format of the field in crystal report it is numeric...but at run time it gives the value in datetime format.....
all the dates in above in Database is datetime datatype....
Pls how can solve this problem.....
Pls help meeee......
thanks...
anusha wickramaratne
|
|
|
|
|
Hi Anusha,
You have to do casting one more time for minute on the following line:
Cast((datediff(n,startime,endtime)-
(SELECT ISNULL(SUM(DATEDIFF( n , TStoptime , Restarttime )),0)
You need to cast it again to convert this resultset in the Minute format.
Let me know in case you are not able to do that.
Regards,
Amit Kumar
HDISM, PGDCA, MCP, MCAD, MCSD
amit_chikara2002@hotmail.com
|
|
|
|
|
Hi friends,
i need big help.. my programme generates a crystal reports by following view... for a given batch need to calculated the actual running time = ((starttime - endtime) - sum(temporally_stoptime - restarttime))
this calculation is done in the view..... i take the actual time in minutes.. and then cast in to integer ....view gives the correct information
but when i generate the report it shows the value in datetime format .... but i need to print the numeric value in the report(even in minute format also fine).. I need to show the actual running time in minutes..
when i check the format of the field in crystal report it is numeric...but at run time it gives the value in datetime format.....
all the dates in above in Database is datetime datatype....
Pls how can solve this problem.....
Pls help meeee......
thanks...
anusha wickramaratne
|
|
|
|
|
Hi,
I'm trying to get my Visual Studio compile .dll file to go into the debg folder but it is not. I checked the properties of this project and from the Build tab there is an Active (Release) selection. I have another project, which is not part of this project at, when I go into the properties there is no Active (Release) selection, but rather an Active (dDebug). In the second project mentioned, my files are put into the bin/debug folder.
How do I get the above mentioned project to put the "debug" version of the .dll file into the bin/debug folder. There where I see Active (Release) I selected the Debug option, and specified the bin/debug folder, but it's still putting it into the the release folder. I don't want to use any released version right now, just the debug version.
Please can someone help me in my confusion.
Regards
ma se
|
|
|
|
|
Hello
1- Clean all release and debug files from your projects output folders using windows explorer
2- Go to configuration manager
3- Choose debug version and press OK
4- Go to project's properties
5- Choose build, and choose Debug version from the configuration checkox above.
6- Set the output path in the proper textbox field to the lower end of the screen and press OK
Regards
|
|
|
|
|
Thanks, this worked just fine.
In the properties of the project, there are option you can tick, like:
Define DEBUG constant and
Define TRACE constant
What does this mean, they both are checked for Active (Debug). Why are they checked, and when do I not check them??
Regards
ma se
|
|
|
|
|
Hello
This enables you to use the Debug and Trace classes to monitor your programs excution. Typically when you are in debug mode you set both to true, but when you release your application, usually you only trace through your application. For more info about Tracing and debuging rvise Trace and Debug classes in your MSDN.
Regards
|
|
|
|
|
hi guys !
need some help.
im developing an enterprize deployment appplication which install client softwares on remote machines in a LAN . I m using WMI win32_product class's install() Method for this..
the problem is
i want to create a installation log file for the installed software on client machine ..
.. how can i do this install() method
sample code:
ConnectionOptions options = new ConnectionOptions();
ManagementScope scope = new ManagementScope("\\\\" + sRemoteMachine + "\\root\\cimv2", options);
scope.Connect();
ManagementPath mp = new ManagementPath("Win32_Product");
ManagementClass classInstance = new ManagementClass(scope, mp, null);
ManagementBaseObject inParams = classInstance.GetMethodParameters("Install");
inParams["AllUsers"] = true;
inParams["PackageLocation"] = sourceFilePath ;
ManagementBaseObject outParams = classInstance.InvokeMethod("Install", inParams, null);
how to options[] param for creating the log file .. or any other method..
abhinav
|
|
|
|
|
Sorry guys,
i am reposting this topic
I wish to fetch some video files from the server and convert those to a flash file and play them in the browser.
Please direct me to some good source for the same.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|