15,910,083 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 Python 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 vezo11 (Top 68 by date)
vezo11
2-Nov-15 6:29am
View
I tried two ways of editing data:
- using method: self.selectRow(row){
self.ModelToEdit(row);
}
- using method: self.selectRow(row){
self.ModelToEdit = new MyModel(ko.ToJS(row));
}
when using method no2 i had to reload parts of html page with ko.appyBindings(MODEL, dom)
and when using method no1 i, the data was successfully 'copied' but i couldn't see it on html :(
and yes, i'm using jQuery ajax to retreive data to MODEL collection
i hope this helps...
if not, please say what else might be more helpful..
thank you
vezo11
18-Oct-15 12:57pm
View
Ok, thanks Maciej. The last solution works fine.
vezo11
18-Oct-15 11:11am
View
I tried with this:
SELECT t1.*, t2.*
FROM Table1 AS t1 INNER JOIN (
SELECT *, ROW_NUMBER() OVER(ORDER BY Date DESC) AS RowNo
FROM Table2
) AS t2 ON t1.ID = t2.FK_Table1
WHERE t2.RowNo=1
But the result is the same as with the LEFT JOIN. Or Im missing something?
Thanks
vezo11
18-Oct-15 10:57am
View
Yes I saw. This (updated) query return only one row from the first and second table with highest date. I need all rows from the first table and related row from the second table with highest date. If you look at examples tables in question, your query return one row: 1 | 2| 2.1.2015
Thanks
vezo11
18-Oct-15 10:48am
View
Thanks Maciej for your replay. I have already tried this, but that dont work for me. This query select all rows from the first table and all related rows from the second table.
vezo11
3-Jul-15 4:42am
View
You dont read my posts? "I have web app which must to be on the company in the intranet network (closed network)" and they have access to this server, and they can copy all the files from the server.
vezo11
3-Jul-15 4:33am
View
You think about stealing scenario? They can copy folders from one server and reproduce it on others servers.
vezo11
3-Jul-15 3:49am
View
Its is about licensing. One dongle for one machine - server. Yes I read, but in solution 1 you are talking about hosting web app on the hosting company. But I need to host web app on the company - for local use.
vezo11
3-Jul-15 2:24am
View
Yes it is weird. But I have web app which must to be on the company in the intranet network (closed network). Yes, I want to protect it from stealing and copying on this company. Do you understand what I mean?
Thanks
vezo11
2-Jul-15 16:34pm
View
No problem. Any idea is welcome. I included all of the dlls, but problem is somewhere else.
I think that the IIS server or web app project needs these dll files in some folder... Or it is problem because I run a test web app from Visual Studio and then a web app running on IIS, which doesnt detect a dongle.
vezo11
2-Jul-15 16:33pm
View
Deleted
No problem. Any idea is welcome. I included all of the dlls, but problem is somewhere else.
I think that the IIS server or web app project needs these dll files in some folder... Or it is problem because I run a test web app from Visual Studio and then a web app running on IIS, which doesnt detect a dongle.
vezo11
2-Jul-15 16:18pm
View
You are right. But maybe these "random strangers" on the internet have any idea for solution.. Maybe these "random strangers" on the inteternet have experience with the problem of the use of usb in the web app, iis,... I need an idea for solve a problem and not a implementation encryption algorithm.
vezo11
2-Jul-15 14:22pm
View
Thanks, but I have already read this but this is not a problem.
vezo11
2-Jul-15 14:20pm
View
I have already contacted manufacturer, but my contact is on vacation (a few more days). Do you think that "strangers" on the internet do not know what could be a problem?
vezo11
12-Jun-15 5:01am
View
My tables does not contain any column with the name "User_Id" - only with "UserId". If registration work fine (and records in the database), I do not know why login does not work. Maybe Identity use column name "UserId" to write in database, but to read Identity looking for a different name - "User_Id". But it does not make sense...
vezo11
12-Jun-15 4:53am
View
No. I use only a conn string to the database. This is a problem because I do not migrate database. I use only Microsoft.AspNet.Identity.EntityFramework
vezo11
29-Dec-14 8:57am
View
Ok, if i understand, at the firs round method() use first 4bytes (param[0], param[1], param[2], param[3]), in second round method() use another 4bytes (param[4], param[5], param[6], param[7]) and so on.. At the last round the method() use last for bytes (param[60], param[61], param[62], param[63]), is that right? Thanks
vezo11
29-Dec-14 7:35am
View
In first round of the for loop is i=0 and z[0]=method(param[4*]) in second round of the for loop is i=1 and z[1]=method(param[4*1]) and so on... At the last round of the for loop is i=15 and z[15]=method(param[4*15]). In each round is the parameter of the mathod() only uint[i], but method() requires array of the 4 uints?
I'm talking about the size of the input variables of method(). Thanks
vezo11
29-Dec-14 5:31am
View
Ok, thanks.. That is what i anticipated, but i was not sure. So, in my case this mean param[0], param[4], param[8], param[12]...param[60]. In the for loop i call method and use one by one byte of the array, but method adopt the array of the 4 bytes, can you explain please?
Thanks
vezo11
13-Sep-14 10:32am
View
I never used ajax so i dont know how it works. I try some combinations, but none works. I looked at a few examples, may be I will be successful. Thanks
vezo11
13-Sep-14 6:11am
View
If i add alert, then this method post mail on sendy, but if i not add then dont add. I try with reload (refresh site), add another function (sleep and my own popup alert) and call them....
vezo11
19-Aug-14 16:36pm
View
Ok, thanks for solution and interpretation! I've never worked with jquery. Can i add a trigger that will be over 2 seconds to do something else?
vezo11
14-Jul-14 13:10pm
View
Reason for my vote of 1 \n Doesnt work
vezo11
7-Jul-14 8:30am
View
Database is in my computer. Is not absurd, its only for test.
vezo11
27-Jun-14 6:14am
View
Thanks Dinesh. But i have a little problem. For first i dont have a source code but all the files from the server. I open them as
Web Site
and then i add new project in solution -
Windows Service
. Is this the right way?
If this is the right way, how can i create a link to a web site? To use its methods?
vezo11
26-Jun-14 4:37am
View
Thanks, i already try this but I have to use a specific method of this project. I wouldnt want again to writecode that already exists. Or is there any chance to that service can use classes and methods from another project?
vezo11
25-Jun-14 7:37am
View
I want to check every day if specific conditions are fulfilled, then send an email to selected users. Threading is the bad solution for this, so i chose Scheduled Task; this
link
. Do you have any better idea?
This should be checked every 12 or 24 hours.
Thanks
vezo11
24-Jun-14 13:23pm
View
Yes i try and i have a problem. Read above, if you can help. Thanks
vezo11
24-Jun-14 13:09pm
View
Yes i know. I try this solution and to start, i send email every 5 seconds. But this doesnt work (watch comment above).
vezo11
24-Jun-14 13:06pm
View
I added the same code that you can see in the link above. Then i add breakpoint in line with code
myTimer.Elapsed += new ElapsedEventHandler(myTimer_Elapsed);
and this exception does never fall. If i remove this
Inherits
, the program stops at exceptions and then give mi null exception, because they dont find some file.
vezo11
24-Jun-14 12:53pm
View
Thanks. I use this solution
link
. But in Global.asax file i have
Application Language="C#" Inherits="AspDotNetStorefront.Global"
. If i remove "Inherits" this solution work, but other sites doesn work... Do you have any idea why or if can i move this soluton code in any other file?
vezo11
24-Jun-14 10:18am
View
Ok, thanks!
vezo11
24-Jun-14 10:17am
View
Thanks! In your past answer i find this
Link
, do you think like that?
vezo11
16-Jun-14 13:36pm
View
Thanks, i try with some of this, but it doesnt work. I will still try other solutions that you proposed.
vezo11
16-Jun-14 13:33pm
View
Thanks, but i have gridview. I try with this script, but doesnt work.
vezo11
16-Jun-14 13:32pm
View
type is int, for each row is different value (primary key).. Its about select/deselect products (product id)
vezo11
15-Jun-14 17:40pm
View
Thanks for solution but that dont work. They throw mi an error -> "Specified cast is not valid."
vezo11
15-Jun-14 17:26pm
View
Thanks, i try this, but dont work.
vezo11
9-Jun-14 7:47am
View
On my solution i add one column for the selection text. Do you have any idea how i can add one more column for the index (id from database of C_ID in my solution)? Thanks
vezo11
3-Jun-14 16:05pm
View
Thanks! :) At bottom i will add my soluton
vezo11
3-Jun-14 15:55pm
View
I tried but it didnt work (i know what you mean with this), thanks
vezo11
3-Jun-14 14:15pm
View
Do you think header, item and footer template? I have them.
vezo11
2-Jun-14 4:02am
View
Like this http://www.c-sharpcorner.com/UploadFile/c5c6e2/datagridview-autocomplete-textbox/? I will try.
Thanks
vezo11
2-Jun-14 3:59am
View
I want to have for each row of DataGridView different options for select in DropDownList
vezo11
20-May-14 15:45pm
View
What if i call this procedure like this:
< xsl:value-of select="aspdnsf:getCampaignData(ProductID)" disable-output-escaping="yes">
Why do i get the exception again? If i use any other procedure (which already exist) - this working...
vezo11
20-May-14 10:43am
View
Yes, "fdsfas" is displayed when i remove foreach and xsl:value-of. Now i change "CampaignID" with "FK_Campaign", but it still doesnt display nothing
vezo11
20-May-14 10:22am
View
I have noticed that - i do not have anywhere parameter CampaignID, so i add it
< xsl:param name="CampaignId" select="aspdnsf:getCampaignData(ProductID)"/> , and new exception is "The variable or parameter 'CampaignID' is either not defined or it is out of scope." :/
vezo11
20-May-14 10:03am
View
Thanks, now i dont have any exceptions, but also values are not displayed. But im closer than before :) i add this code:
< xsl:template name="ProductInCampaignID">
< xsl:for-each select="/root/Product/ProductInCampaign">
< div class="CampId">
< xsl:value-of select="CampaignID"/>
< p>fdsfas</p>
< /div>
< /xsl:for-each>
< /xsl:template>
vezo11
20-May-14 10:02am
View
Deleted
Thanks, now i dont have any exceptions, but also values are not displayed. But im closer than before :) i add this code:<br>
<br>
<xsl:template name="ProductInCampaignID"><br>
<xsl:for-each select="/root/Product/ProductInCampaign"><br>
<div class="CampId"><br>
<xsl:value-of select="CampaignID"><br>
<p>fdsfas</p><br>
</div><br>
<br>
vezo11
20-May-14 9:28am
View
Oh sorry.. I will update the question.. :)
vezo11
13-May-14 7:37am
View
Hi,
thanks for your solution but i have static string "selected".
"getCheckedProduct();" i call in "..._SelectedIndexChanged()" and if i add !IsPostBack in this method, then program skipped this call ("getCheckedProduct();")
vezo11
1-May-14 11:54am
View
Thanks RyanDev :)
vezo11
30-Apr-14 17:46pm
View
Im sorry.. i have inputOKToEmail -DispatchService, -Admin and -Supplier .. for each of them i have one radiobuttonlist.. So.. i copied the wrong code, but it is the same problem... Im going to fix the question ;)
vezo11
30-Apr-14 16:41pm
View
Oh sorry, yes i have button, when i press this button, the program does not detect which radio button are selected.. In this button i still have a many other elements such as
- someInt= Convert.ToInt16(type.SelectedItem.Value);
- EndDate = Convert.ToDateTime(dateEnd.PostedDate);
-...
and all of these elements are working..
vezo11
7-Apr-14 17:46pm
View
Thanks, i already install WSE3.0 and now i have no more problem with this.
vezo11
7-Apr-14 17:15pm
View
All of these files is from server (this page has been published). The structure of this folder: bin folder + other folders + .aspx and .cs and .ascx files + web.config.
vezo11
6-Jan-14 16:15pm
View
Ok, i found where the problem was.. in notepad, document has filled each row, in other program - every second.. :) thanks
vezo11
6-Jan-14 15:01pm
View
i know what is problem.. the streamreader doesnt read second line, its always null. i dont know where is the problem, if i have code, like this:
using (StreamReader sr = new StreamReader(path))
{
string line= string.Empty;
while ((line= sr.ReadLine()) != null)
{... ... ...}
}
vezo11
6-Jan-14 14:46pm
View
ok thanks :) but i don't know where is the problem, because none of line (in txt file) is not empty..
vezo11
6-Jan-14 14:19pm
View
Thank you all! :) (y)
Now i have another question.. if i add line, like this
someObject.param= Convert.ToInt64(line.Substring(4, 8));
then program give mi same exception.. How can i resolve this problem, with empty strings?
vezo11
6-Jan-14 13:21pm
View
Yes, its empty... First time its ok, but second time its empty.
vezo11
4-Jan-14 15:43pm
View
I dont use the internal database, maybe is this a problem... Just because i use my database, i want to make my own login, logout and register system.
vezo11
4-Jan-14 15:36pm
View
I like to create my own sign, register and log out system. First i created register system (view, controller, model) which save data in our DB. Then i like create log out system. My log out system you can see in my first post (controller and partial file). I dont see any inner exceptions. I only like to create log off sytem. So if you have any idea, how i can do this, please help. Thanks
vezo11
13-Oct-13 12:27pm
View
Thanks Andreas :) I have class P_event, which presents for example a concert... I want to save a list of comments(list_comment) for each event especially in the P_event as an attribute (like a: List_comment comment;), and then i want to save each P_event on list of events :)
vezo11
13-Oct-13 12:22pm
View
Thanks for the explanation.
But when i change List list_comment= new List(); to public List list_comment= new List();, compiler give me new error - in List_comment :/
in: public List<comment> list_comment = new List<comment>();
and: public void add_comment(Comment c)
vezo11
13-Oct-13 11:37am
View
ohh sory i forgot... error is: Error 1 Inconsistent accessibility: property type 'N1_V.List_comment' is less accessible than property 'N1_V.P_event.getset_comment' C:\... :)
vezo11
13-Jan-13 5:09am
View
And if you look this:
XmlElement novDatum = newDoc.CreateElement("datum");
novArtikel.AppendChild(novDatum);
and this:
XmlElement novNabave = doc.CreateElement("nabave");
novNabave.InnerText = a.datumNabaveA;
novDatum.AppendChild(novNabave);
You see the difference.. First i use newDoc, in second case i use doc. My mistake, because I changed the code, when I repaired one another mistake and I forgot to change it back.
But of course, both solutions works! :)
vezo11
13-Jan-13 4:59am
View
Thank you very much! :)
I assumed that elements do not nest correctly or in a way, first add the file and then append.
Again thanks for the reply!
Show More