|
thanks
|
|
|
|
|
still it does not help...i cannot parse all my fields
|
|
|
|
|
First, please use the <pre> tags instead of the <code> tags. It will help the readability of your code sample.
The comment about using the TryParse (or even Parse ) is valid, but it doesn't apply to all data types. The DateTime and numeric (Int32 , Double , etc.) data types should all have both of these methods.
What is the error you get when you try to insert the data? Have you verified that the SQL statement is correct and that the fields are not set to be non-null in the database?
|
|
|
|
|
hi how get month name from datetime picker like if the date is 20/04/2006 I need month as April.....................
|
|
|
|
|
|
And you can use the CustomFormat property to customize how it's displayed.
|
|
|
|
|
hi!
k, i googled it, i CPed it and couldn't find it..
i've got this code:
<br />
CrReport report = new CrReport();<br />
int copies = 1;<br />
bool collated = false;<br />
int pageFrom = 1;<br />
int pageTo = 1;<br />
report.PrintToPrinter(copies, collated, pageFrom, pageTo);<br />
my problem is that i want to print all the pages of a report..
so i'd have to set pageTo to value of totalPageCount of the report..
but in the report object i can't find any property that would give me this value..
anyone knows how to get that totalPageCount value?
thx for any help!!
life is study!!!
|
|
|
|
|
Have search on MSDN?
You have to put value 0 on pagefrom and pageto
Visit my blog at http://dotnetforeveryone.blogspot.com/
|
|
|
|
|
i need code for
BANK MANAGEMENT SYSTEM
|
|
|
|
|
Try RentACoder. I'm sure Christian Graus will speak of it in glowing terms.
Cheers,
विक्रम
And sleep will come, it comes to us all
And some will fade and some will fall
|
|
|
|
|
We cannot do your work.What is your problem.
As vikram said try with rentaCoder.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
When it asks you for the code, just type "PASSWORD OVERRIDE"
that always works in the movies
|
|
|
|
|
And I want the new 686 processor with onboard Artificial Intelligence.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
but you have to type really really fast, and not actually press the keys, and simulate pressing far more keys than is really necessary...and the font on the screen has to be really BIG and in green - and if you get it wrong it beeps with DENIED in big red letters. Even on a mono display....cool!
And it doesn't matter how many attempts you get, you will always get it on the last attempt, and with only a few seconds to go before you are compromised. And notice how their disks are always formatted, and they never get CRC errors!
"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."
|
|
|
|
|
i need car of type
PORSCHE
|
|
|
|
|
Hi there, is your problem solved I need a car of the type "FERRARI", subtype "SCUDERIA". Thank you.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->ßRÅhmmÃ<-·´¯`·.
|
|
|
|
|
Any chance you could tell us for which bank? Sounds like a good place to put your money.
|
|
|
|
|
Please tell me you're not the chief systems architect for Northern Rock[^].
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
If that wasn't so close to home i'd
|
|
|
|
|
|
of type CLUE BY FOUR
--
If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
|
|
|
|
|
I need code for detecting *** developers.
Oh...hold on....
"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."
|
|
|
|
|
class MyClass<br />
{<br />
[STAThread]<br />
static void Main()<br />
{<br />
System.Console.WriteLine ("BANK MANAGEMENT SYSTEM");<br />
System.Console.Read ();<br />
}<br />
}
*jaans
|
|
|
|
|
HI,
i like to know if there is a way to link a spesific contecx menu to a diffrent row in a DataGrid
THNKS
kobkob
|
|
|
|
|
Well, i never tried it, but i think yes. I do the following for a treeview, i suppose you could do the same for a datagrid. One condition. You do not link the context menu to the datagrid.
The code will try to find out the node where you clicked, and if it is a node, show you the contextmenu.
Some additional code is inside because i am using only one context menu, but i am changing some things depending the selected node.
I hope it helps.
private void m_tvAdvertisements_MouseUp(object sender, MouseEventArgs e)<br />
{<br />
if (e.Button != MouseButtons.Right) return;<br />
<br />
Point pt = new Point(e.X, e.Y);<br />
m_tvAdvertisements.PointToClient(pt);<br />
<br />
TreeNode Node = m_tvAdvertisements.GetNodeAt(pt);<br />
if (Node == null) return;<br />
<br />
if (Node.Bounds.Contains(pt))<br />
{<br />
m_tvAdvertisements.SelectedNode = Node;<br />
<br />
if (Node.Tag == null)<br />
{<br />
deleteAdvertisementToolStripMenuItem.Enabled = false;<br />
enableAdvertisementToolStripMenuItem.Enabled = false;<br />
}<br />
else<br />
{<br />
deleteAdvertisementToolStripMenuItem.Enabled = true;<br />
SMSAdvertisementItem i = Node.Tag as SMSAdvertisementItem;<br />
SMSProgramItem p = FindProgramItem(i.PackageID, i.ProgramName);<br />
if (p == null)<br />
{<br />
enableAdvertisementToolStripMenuItem.Enabled = true;<br />
}<br />
else<br />
{<br />
if (p.ProgramEnabled)<br />
enableAdvertisementToolStripMenuItem.Text = "Disable Program";<br />
else<br />
enableAdvertisementToolStripMenuItem.Text = "Enable Program";<br />
<br />
enableAdvertisementToolStripMenuItem.Enabled = true;<br />
}<br />
}<br />
<br />
m_cmTreeContextMenu.Show(m_tvAdvertisements, pt); <br />
}<br />
}
|
|
|
|