|
ok. i will examine your code to get more info so that will add more ideas.
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
int? i = 7;
what does it mean?
what is actual application of nullable.
|
|
|
|
|
One typically would use a Nullable if the variable needs a "I don't know the value" state (similar to "null" for reference types). For some value types, you don't need all possible values and can use a special value, such as DateTime.MinValue; for others, all conceivable values could be meaningful and the "no value" state needs a separate something (which happens to be a hidden boolean in Nullable, so they are costing more memory and more cycles).
I'm not very fond of Nullable, one can easily do without them.
|
|
|
|
|
|
The other common scenario that Luc didn't mention is when interacting with databases that have nullable integer fields.
|
|
|
|
|
Is there any way to prevent the cursor changing to the resize cursor when the mouse is over the window border?
|
|
|
|
|
choose a windows type that isn't resizable!
|
|
|
|
|
Only resizable window types have glass borders when the titlebar is disabled.
|
|
|
|
|
I just need a simple application that can read <B> and <I> tags and simple html tables... Could you please direct me to an article?
Thank you.
|
|
|
|
|
|
Thanks for nothing. I already searched this site and on Google. I thought that maybe somebody has another parser I don't know of. Thanks for nothing. (again)
|
|
|
|
|
justme89 wrote: I already searched this site and on Google
You could have said that right away.
justme89 wrote: maybe somebody has another parser I don't know of.
I have lots of parsers you don't know of; I'm working on a whole new collection at this very instant. And I don't feel like making them available right now.
Bye.
|
|
|
|
|
|
Bjarke (Viksoe) has one he's used in a html -> rtf control - seems pretty simple (its not that complex a task to parse html - doing something with the parse tree/results, thats a different matter)
check out http://www.viksoe.dk/code/simplehtmlviewer.htm[^]
btw - that is in c++ btw, but you can see how easy it is - should be a cinch in c#
'g'
|
|
|
|
|
|
Thank you. That was very helpful!
|
|
|
|
|
Hi all
i asking of how i can implement a network security based on IPsec protocol
thanks
|
|
|
|
|
Try Google for "IPsec security" and you should find some useful information.
|
|
|
|
|
Hello.
Thank you to put programs on the site Codeproject.com.
I command "AT Command" can recharge the SIM card can be self-abandoned.
Thanks.
|
|
|
|
|
I'm not sure what translator you used, but the English output is meaningless.
من مطمین نیستم شما چه مترجم استفاده كرد, ولي انگليسيها بازده بی معنی است.
(Translation provided by Babelfish.com)
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Roger Wright wrote:
من مطمین نیستم شما چه مترجم استفاده كرد, ولي انگليسيها بازده بی معنی است.
Translates back to;
"I'm not sure what you can use an interpreter, but the British, efficiency is meaningless."
(Translation provided by Google)
I are Troll
|
|
|
|
|
Eddy Vluggen wrote: I'm not sure what you can use an interpreter, but the British, efficiency is meaningless.
Sounds OK to me.
|
|
|
|
|
Hello,
I created a web service and i created also many classes below.
when i add it as a web reference, i can access all classes just one that contain public string variable is not shown ?
any suggestion !!
regards,
dghdfghdfghdfghdgh
|
|
|
|
|
Don't fully understand what you mean. Posting some code might help.
Webservices only expose methods, so fields won't appear in the proxy which is generated. Think of a webservice as a collection of functions, not as a class.
Regards,
Rob Philpott.
|
|
|
|
|
Hi Everyone..
Can u please guide me regarding reading each xml node...
My c# coding is as follows:
namespace ConsoleApplication2
{
class Class1
{
public string app;
public void perform()
{
OdbcConnection con= null;
con = new OdbcConnection();
ADIBCrypto.Encryption64 crpto = new ADIBCrypto.Encryption64();
string connString = crpto.GetCnnStr(ConfigurationSettings.AppSettings["appname"],ConfigurationSettings.AppSettings["dsnSybase"]);
con.ConnectionString = connString;
con.Open();
Console.WriteLine("Connection Opened Successfully");
Console.WriteLine("Enter the Application");
app=Console.ReadLine();
XmlDataDocument doc = new XmlDataDocument();
doc.Load(ConfigurationSettings.AppSettings["app"]);
XmlNodeList nodes = doc.GetElementsByTagName("Row");
foreach(XmlNode node in nodes)
{
if(node.HasChildNodes && node.ChildNodes.Count > 0)
{
string a_ID = node.ChildNodes[0].InnerText;
string a_ApplicationDescription = node.ChildNodes[1].InnerText;
string a_Category = node.ChildNodes[2].InnerText;
string a_Business_Owner = node.ChildNodes[3].InnerText;
string a_CreatedID = node.ChildNodes[4].InnerText;
string a_CreatedTimeStamp = node.ChildNodes[5].InnerText;
string a_Status = node.ChildNodes[6].InnerText;
if(a_ID==app)
{
Console.WriteLine("{0}",a_Category);
Console.ReadLine();
}
}
}
}
static void Main(string[] args)
{
Class1 cc = new Class1();
cc.perform();
}
}
}
And my XML file is :
<Row>
<ID>TestApp01</ID>
<ApplicationDescription>Test App 01</ApplicationDescription>
<Category>CM</Category>
<Business_Owner></Business_Owner>
<CreatedID></CreatedID>
<CreatedTimeStamp></CreatedTimeStamp>
<Status>A</Status>
</Row>
<Row>
<ID>TestApp02</ID>
<ApplicationDescription>Test App 02</ApplicationDescription>
<Category>CM</Category>
<Business_Owner></Business_Owner>
<CreatedID></CreatedID>
<CreatedTimeStamp></CreatedTimeStamp>
<Status>A</Status>
</Row>
As of now there is no problem.. when i compile it asks the app name, as i give my app name it browses thro the xml file
and returns the corresponding Category..
but what my question is if in the xml file the node order is changed i.e. if the category which is present in the xml file in child
node index 2 is changed
to any other index then my application goes wrong.. so instead of using the index number can my application check the child
node by its name instead
of the index number check.. please help me out in this matter one of my fren said that in this case
we can use xpath instead of checking for index..
but im not sure how to code using xpath.. please guide me...
Thanks in advance...
Regards,
Tash
|
|
|
|