|
DaveyM69 wrote: add a reference to System.Data.Linq in your project and add the same to your using statements.
only get
System.Data.Linq
System.Data.Linq.Mapping
System.Data.Linq.SqlClient
System.Data.Linq.SqlClient.Implementation
Datashape
not working
|
|
|
|
|
DataLoadOptions is a class in the System.data.Linq namespace that has replaced DataShape.
Add the System.Data.Linq reference to your project.
Add a using statement to the top of your class.
using System.Data.Linq;
then create an instance of the DataLoadOptions class:
DataLoadOptions dlOptions = new DataLoadOptions();
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
hi all,
we developed windows service and we have to deploy this service in client mechine,how can we deploy this service using visual studio 2005 using installer class.
thanks ®ards
vishnu.
|
|
|
|
|
|
Hi,
I trust that the following link Windows Services[^] will provide an answer.
Regards,
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|
|
|
Which line is throwing the extension? If it is line 211 then either
1. dataSet is null or
2. there is no table called ProductGroup
|
|
|
|
|
Hi again .. the problem it was with the table called ProductGroup <-- i used the index 0 and it worked
thought that the null exception was because of the Row .. and not the Table.
sorry for bugging you.
i can say thank you . for helping me .. and thank you very much :$
lol
|
|
|
|
|
DO NOT delete your original message after someone has answered the question.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I second that. Very irritating when people do that. I was curious to see what the problem was, and wanted to add my two cents worth. Now, it isn't there and I can spend my two cents worth here
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi,
I am using a regular expression (100|\s*(\d{0,2})((\.|\,)(\d{2,4}))?\s*\%?\s*) to display a percentage correctly on a property.
The RegEx works 100% for displaying the correct value visually. But after the user has entered the value on the property i.e. 95.25% I would like to retrieve a value of 0.9525 without writing code on the property.
Would I be able to do this by setting either the DisplayFormat or EditMask attribute to something else?
Thanks
|
|
|
|
|
|
Nee jou wetter dit werk nie, dankie vir die post Jannes
|
|
|
|
|
|
Dit is meer as dit. Die property het drie attributes nl EditMask, EditMaskType en DisplayFormat. Jy moet EditMask en EditMaskType saam gebruik m.a.w jy se vir EditMask watter tiepe Mask jy gebruik nl enum { Simple, RegEx }. MSDN se ek behoord {0:P4} (P/p = Percentage) RegEx te gebruik maar dit werk ook nie reg nie.
|
|
|
|
|
|
|
Can't you just strip the % sign then divide by 100?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
That would require me to write code on that layer, something i want to avoid. I want to keep all formatting related issues within the same layer
|
|
|
|
|
You're going to have to write code somewhere or you can't change the behavior.
The easiest way when you have two properties that are the same essentially (apart from how they are displayed or their type etc) is to make one the master and the other the slave.
For example - Text and Value properties, Value being the master.
private int m_Value;
pubilc string Text
{
get
{
int result = Value;
return string.Format("your format", result);
}
set
{
int result;
int.TryParse(value, out result);
Value = result;
}
}
public int Value
{
get { return m_Value; }
set
{
m_Value = value;
}
}
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Assume 3 or 5 textbox which will be filled by user at runtime (v dont know how many he will fill)
and these values should assigned to radio button text which will be created dynamically.
how to do this?
Krish
modified on Thursday, November 6, 2008 4:55 AM
|
|
|
|
|
Ok, ive considered it - now what? Did you have a question?
Edit: You asked ther same question 4 hours ago and said the solution you were given was working
|
|
|
|
|
Look u r totally in confusion the question which i posted first is different from the thing i posted now....
Sorry to say this friend
The fact is u cant understand the question...
Dont make funny on others think first u r fit to do that...
|
|
|
|
|
Bala K wrote: The fact is u cant understand the question...
Where is the question?
Bala K wrote: Assume 3 or 5 textbox which will be filled by user at runtime (v dont know how many he will fill)
and these values should assigned to radio button text which will be created dynamically.
Hmm... yes i assumed it. Goody goody?
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|