You have TOTAL control of the generated code. You can use T4 templates to make the output code look however you want. It's built into VS2008... plenty of good info on it if you google it.
TylerBrinks
Posts
-
Linq + SQLMetal = Cool... -
about aspumeshdaiya wrote:
hi i am asp.net devloper and i never use asp
Not sure what you mean... are you or are you not a developer? What do you mean you never use asp?
-
I cant seem to generate an async postback.You should set up a update target in the update panel that points to your button control. That'll force the update panel to respond via callback to the button's click event.
-
Treeview basic questionsomething like this
bool ContainsNode(string nodeText, Node treeNode){
if(treeNode.Text.Equals(nodeText){
return true;
}bool contained = false;
foreach(Node node in treeNode.Children){
contained |= ContainsNode(nodeText, node);
}return contained;
} -
Treeview basic questionDo you have a key or some kind of identifier that you're checking? Are you just checking the node text? Generally speaking, you can use recursion to check each tree node with a boolean value for whether the node exists.
-
My dynamic table will not display...What happens if you enable viewstate? let's start there.
-
Event for a classText_Changed(Me, EventArgs.Empty)
-
connection stringThere are all kinds of examples on blog posts etc... http://solidcoding.blogspot.com/2008/01/linq-to-excel-provider-20.html[^]
-
serviceIt makes a huge difference. A windows service is totally different than a WCF service. Neither are like a COM service. You're not going to get a clear answer unless you explain what kind of service you're talking about.
-
connection stringyou can also use linq. read the file in from the disk or memory stream and you can query it.
-
servicewhat kind of service?
-
Quick 4Gb RAM Question...Windows (xp or vista) won't be able to use all 4 GB unless you use 64 bit. You can google it... I've personally tested it with exactly 4 GB - same system with x32 and x64. As long as you have drivers, you'll never turn back once you start using x64!!
-
[newbie] Controls have to be alignedYou can use the literals to write non-alpha characters. For example, "& a m p;" (without spaces) renders "&" on a page. That'll pass xhtml validation.
-
What's your suggestion ?DB4O
-
Dynamically generated URL could not be opened in FireFoxI was addressing this comment in particular:
But I don't want to set those prefixes (protocol, host, virtual dir.) myself.
I'm just suggesting that you should set them yourself to get around the issue. -
Trying to redirect the parent page from popupPut a client side javascript function call in the onchange event of your field in the parent window. That should fire when your popup changes the field. You can force the postback in that function.
-
Trying to redirect the parent page from popupYou can call the function __doPostback event in the parent window. Take a look at the parent's source and see what script the hidden field is invoking (in case it's not the default __doPostback). Add that code to your popup window script.
-
List(of Table name ) How to avoid , appending the duplicate records in this variable -
Dynamically generated URL could not be opened in FireFoxWhat's wrong with prepending the http prefix?
-
LINQ orderby issueYou can use the "let" keyword in linq to set a variable to a DateTime value and then do your ordering on that variable.
var query ....
where ...
let D =
...
orderby D
...