11,102,364 members (62,965 online)
Forgot your password?
Sign in using
Chapters and Sections
Article Help Forum
Submit an article or tip
Post your Blog
Ask a Question
View Unanswered Questions
View All Questions...
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
C / C++ / MFC
ATL / WTL / STL
Ruby On Rails
Hardware & Devices
Hosting and Servers
Silverlight / WPF
Site Bugs / Suggestions
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The Insider News
The Weird & The Wonderful
General Indian Topics
General Chinese Topics
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Advertise with us
Comments by Marc Clifton (Top 13 by date)
That's what I figured -- I must have mangled something when I was looking at some examples of how to do fancy buttons with Bootstrap and then incorrectly folded it into the existing Razor code the VS produces as a startup template.
That's what I ended up doing -- passing in the collection in the .cshtml file. Why I have to that there and not in with the grid.Columns method is beyond me. Personally, I'm finding Razor to be quite klunky. Ironically, it's making the same "klunk" sound that Ruby on Rails makes. Gee, I wonder why.
Reason for my vote of 1 \n This is terrible code. Incomprehensible variable names like "ttt", "max295", "ax". Business logic is coded into event handler, etc.etc.etc.
I cannot possibly vote anything but a 1 for this.
await and async are keywords, not API (at least, in my definition of the concepts) that set up continuation passing when the task is complete. Yes, you can use them with Task<>, but one of the neat things about await is that it marshals onto the context of the caller, which for my purposes is the UI thread, so no more BeginInvoke calls! Also, according the MSDN docs for asynchronous file I/O, they suggest using the new Async functions in conjunction with await/async.
I'm aware of that, but as the first link states, If this is a HTML document, you will need to parse it. and what surprises me is that I can't find any code samples for doing that. And yes, I'm aware that this is WebBrowser control independent, all I need is the HTML, which the control gives me access to.
I have no idea how to respond to the original post. This is NOT an intuitive interface, Code Project!!!
Oh, I see what you mean. I'm not used to this forum format!
Ah, I didn't notice the option. Not sure how to change it now.
Well, like you said, I'm what you'd call a .NET expert, hahahaha! :-D
No, you're totally missing the point. I need to PARSE the type's FullName, a very crude example:
public string ConvertToTypeAsString(string t)
string ret = t;
// System.Collections.Generic.IEnumerable`1[[System.Data.DataRow, System.Data, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
t = t.RightOf('.').RightOf('.').RightOf('.');
// IEnumerable`1[[System.Data.DataRow, System.Data, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
ret = t.LeftOf('`') + "<";
t = t.RightOfRightmost('[').LeftOf(',').RightOfRightmost('.');
// System.Data.DataRow, System.Data, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
ret += t + ">";
SAKryukov is trolling - I posted that question 3 years ago, then I posted a question yesterday, and now it seems like he's taken it upon himself to find other questions I've asked. I suppose I should take the high road and assume he's trying to be helpful.
I know what you're getting at, but I need to actual type for a dynamic, runtime piece of code which, among other things, replaces a token with the generic type used to construct the code generator. So, if, for example, I instantiate the code generator like this:
Then, part of the code generation process replaces the token
By the way, the code generator in question is LinqTextQueryRuntime, a CodePlex project. Yes, there's better ways, with expression trees, but I'm just dabbling with different options for dynamic runtime LINQ.
Reason for my vote of 2
These seem like generic mistakes any newbie makes. I was expecting something more specific to the use of the language itself.
Web01 | 2.8.141220.1 | Last Updated 1 Jan 1900
All Rights Reserved.
Terms of Service