|
I thought you needed nvarchar for Unicode ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: nvarchar for Unicode
I did, but I got ORA-12704: character set mismatch anything to do with the dataset
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Not sure why you're getting that here, perhaps you've made it nvarchar in the table, and it's still varchar in the proc ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: proc
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Your SQL, I assumed to be a stored procedure.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thank you Christian for your help, but dont worry, I'll work it out and post the solution once I get it. Thank you again for your time, you've always been helpful to everyone.
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
hi All
i am created dynamically dropdown box using repeater control now i want to call some function on selected index changed event
yes any one tell me how to add such event to dropdownbox
plz help me
thank and regard's
Anil Jagdale
|
|
|
|
|
How to can switch into menu mode by click a button?
Currently, i'm implementing a function as same as MS-Word's functionkey Display. but i'm in trouble when implement F10.
It's very easy to select menu by pressing F10 on keyboard, only need call MenuItem.PerformSelect. but this method cannot work in OnClick event of Controls.
pls help me . thank you!!!
|
|
|
|
|
Can you tell me some more about your problem
|
|
|
|
|
My problem is that the main menu cannot be actived by call MenuItem.PerformSelect in OnClick event of one button.
but now, i resolved this problem by calling <sendkeys.send("(%)")> on OnClick event. that is say i only simulate pressing "Alt" key of Keyboard. should not call MenuItem.PerformSelect.
|
|
|
|
|
Are you use delegate keyword like this:
public delegate void AlarmEventHandler(object sender, AlarmEventArgs e)
|
|
|
|
|
Hi all,
i want a combobox in which i can store images with and without text
and also when the DropDown is Poped Up(when i select dropdown the images should appear benethe the DropDownList one ofter the other, Without the SCROLLBAR)i.e...i don't want the scroll bar to be activated.
Please help me, Thnx in advance
Prashanth
|
|
|
|
|
A combobox only stores text. You need to write your own control.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi all,
till i am using xpath for all the manipulations with my xmlfile, and i am happy that its working properly, But whenever i try to Validate my XMLfile(XMLfile.xml)with XSD, My Xpath is not working
Here below i'm explaining my scenario clearly.
Initially XML file is like this
<lasers>
<laser lasername="Laser1" modelname="Nufern v1.0" serialno="1" manufacturername="Nufern v1.0" maximumpower="200w">
<properties">
CW-Waveform.jpg
<wavetypes>
<wavetype name="CW Ramp" url="ramp.html" isavailable="true">
<wavetype name="CW Analog" url="analog.html" isavailable="true">
<tabular>
<property id="228" name="BRM" currval="0" prgbar="true" selected="true" min="0" max="100" pwd="true" units="C" gauge="false" thresholdval="10">
<property id="200" name="Output power" currval="0" prgbar="true" selected="true" min="0" max="100" pwd="false" units="C" gauge="true" thresholdval="10">
and then This is Xpath
xmlDocument xmldoc=new xmlDocument();
xmldoc.load(xmlfilepath);
xmlnodelist nodelist=xmldoc.SelectNodes("lasers/laser/properties/tabular/property[@name='BRM']");//xpath
Is working fine but, to validate xml with xsd i made changes to the xml as
<lasers<b> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:MyNamespace" xsi:schemaLocation="urn:MyNamespace laserProp.xsd">
<laser lasername="Laser1" modelname="Nufern v1.0" serialno="1" manufacturername="Nufern v1.0" maximumpower="200w" <b="">xmlns="urn:MyNamespace">
<properties <b="">xmlns="urn:MyNamespace">
CW-Waveform.jpg
<wavetypes>
<wavetype name="CW Ramp" url="ramp.html" isavailable="true">
<wavetype name="CW Analog" url="analog.html" isavailable="true">
<tabular>
<property id="228" name="BRM" currval="0" prgbar="true" selected="true" min="0" max="100" pwd="true" units="C" gauge="false" thresholdval="10">
<property id="200" name="Output power" currval="0" prgbar="true" selected="true" min="0" max="100" pwd="false" units="C" gauge="true" thresholdval="10">
Now the same xpath is not working
I've tried in several ways but i am with no result, please help me.
thnx in advance
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
pashitech wrote: xmlns="urn:MyNamespace">
Your XPath needs to specify the namespace, that's why it's stopped working.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
but i didn't understand where i need to mention the Namespace...
since its an xmlfile, i din't understand where to specify the namespace.
Thnx in advnace
|
|
|
|
|
You've specified the namespace, that's what xmlns stands for. Now, you need for your Xpath code to know it's searching that namespace.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Hi,
I’m trying to implement a search function within my C# Windows application to search within a datagrid.
Basically I need to search the datagrid, using any key word, e.g. if "B" is typed, all entries with B in either is found and displayed in the datagrid.
and this search box should be embedded in the datagrid header.
Do any ActiveX control available for that?
Cheers for any help or advice you can give.
(Incase its important i'm using Visual Studio 03 version 1.1)
search in datagridHi,
I’m trying to implement a search function within my C# Windows application to search within a datagrid.
Basically I need to search the datagrid, using any key word, e.g. if "B" is typed, all entries with B in either is found and displayed in the datagrid.
and this search box should be embedded in the datagrid header.
Do any ActiveX control available for that?
Cheers for any help or advice you can give.
(Incase its important i'm using Visual Studio 03 version 1.1)
|
|
|
|
|
bhavna816 wrote: Do any ActiveX control available for that?
Why on earth would you want to use an ActiveX control ?
What's your data source ? You may be able to run SQL on it. OTherwise, you can use foreach to step over the rows and find the ones you want.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
my datasource is a datatable
|
|
|
|
|
Where does the data table come from ? THAT is the data source.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Try the query.....
just create a search query with LIKE AND % operator
the queryresult will solv your problem
My small attempt...
|
|
|
|
|
Thanks for response!
but my problem is not the search!
but the search text box "inside" the header of datagrid
so tht the search should apply on the relevant field
and if we type any keyword in tht text box then all the records matching the
keyword should get displayed
for example keyword "b" so records starting from "b" only should get displayed in the datagrid
can we do tht?
If yes then how, If no then are there any ActiveX control to do this?
becoz someone told me tht there must be some ActiveX control for tht
but i m unable to find till now.........
|
|
|
|
|
Hi Friends,
we have know MD5 function in PHP.I want to implement this function in C# .net.
If you have very well this one please help me.
Thanks in advance.
Regards,
Rameshkumar Thirumalaisamy
|
|
|
|