16,016,570 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11838038 (Top 25 by date)
Member 11838038
13-Feb-17 3:06am
View
Hi,
Sorry for delayed response,
What I meant was that the text is being displayed in the centre of the textarea also when using example input name="text_name" value="<?php echo htmlentities($this->note->note_text); ?>"
It would display hundreds and can submit data but when not using value="" its not allowing me to submit data. does textarea not support value="" do you have to use it within the textarea tags? <?php echo htmlentities($this->note->note_text); ?>
Member 11838038
2-Feb-17 7:28am
View
Added: <?= date("M d, Y", $value-> note_creation_timestamp); ?> Does this look right?
Member 11838038
2-Feb-17 7:21am
View
Added: <?= date("M d, Y", $value-> note_creation_timestamp); ?>
Does this look right?
Member 11838038
2-Feb-17 6:28am
View
Deleted
@j snooze yes that works does this look right?
<?= $value->date("M DD, y", note_creation_timestamp;); ?>
Member 11838038
2-Feb-17 6:13am
View
Thank you
Member 11838038
4-Jan-16 2:43am
View
Hi, there is data in database but not displaying anything in listview am I populating it correctly and does xaml look okay? Or am I missing something in xaml
Member 11838038
2-Nov-15 14:18pm
View
thank you i really appreciate your help
Member 11838038
2-Nov-15 10:24am
View
.Include(batch => batch.SubBatches) this part here is throwing cannot convert lambda expression to type string because is not delegate type
Member 11838038
2-Nov-15 10:05am
View
I have updated the question
Member 11838038
2-Nov-15 9:18am
View
I have tried .include(SubBatch) didnt work still throwing error
Member 11838038
2-Nov-15 9:11am
View
Batch has many sub-batches
Member 11838038
23-Oct-15 4:24am
View
i like the split idea i did something like so
if (url.Contains("-"))
{
var input = url.Split(new[] { ' ' }, 2);
var link = input[0];
var customCommand = input[1].ToLower();
// Handle all commands without arguments
switch (customCommand)
{
case "help":
Help();
return;
case "v":
DownloadVideo(videoInfos);
return;
case "a":
DownloadAudio(videoInfos);
return;
default:
Console.WriteLine("Invalid command.");
goto case "help";
}
}
Member 11838038
23-Oct-15 3:45am
View
i want to end up with only the custom command which are either of these(v,a, or pl) example https://www.youtube.com/watch?v=uhG-vLZrb-g [-v] <= this is a custom command -v but i want to retrieve only the letter your way returns -vLZrb-g [-v]
Member 11838038
23-Oct-15 3:33am
View
no problem but the method above does not work so well because what if url looks like this https://www.youtube.com/watch?v=uhG-vLZrb-g it contains more than one "-" its not going to look at custom command "https://www.youtube.com/watch?v=uhG-vLZrb-g -customCommand
Member 11838038
23-Oct-15 2:08am
View
you can not use url in substring cannot convert from string to int just took out url part thanks it works
Member 11838038
16-Oct-15 3:37am
View
Okay thanks man
Member 11838038
16-Oct-15 3:17am
View
where model.IsNew = model.SIMCardID == 0;
Member 11838038
16-Oct-15 3:15am
View
Question
protected void UpdateDetailViewModel(SIMCardInfoView model)
{
model.Networks = new SelectList(db.Networks, "NetworkID", "Name");
model.Packages = new SelectList(db.Packages, "PackageID", "Name");
//model.Groups = new SelectList(db.Groups, "GroupID", "Name");
model.SubBatches = new SelectList(db.SubBatches, "SubBatchID", "Code");
model.Batches = new SelectList(db.Batches, "BatchID", "Name");
model.IsNew = model.SIMCardID == 0;
}
is there anyway i could use isNew instead of hasData
Member 11838038
13-Oct-15 9:03am
View
Sorry man still learning :)
Member 11838038
13-Oct-15 9:03am
View
Yes you correct thank you much for help
Member 11838038
13-Oct-15 8:55am
View
Thanks so much so i didnt need the for(){} ?
Member 11838038
4-Aug-15 6:07am
View
thank you
Member 11838038
4-Aug-15 5:25am
View
thanks for the help
Member 11838038
4-Aug-15 5:19am
View
Legend it works but question what does this part do <span class="sr-only">View</span>
does it hide view?
Member 11838038
24-Jul-15 3:16am
View
Thanks man, but quick question the way i did it with out Batch() would it be correct?
Just your way is better correct?
Show More