15,895,667 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 arminamini (Top 29 by date)
arminamini
21-Dec-16 8:46am
View
Yes you got it right. I used cookies and IP address too. but coz each member have about 1k link to share, and each link has a specific point, if i forced them at least copy this links in apps or some where, i am one step forward. coz if member just copy paste this 1k links in browser, he make many points without any share.
i try to find some way to force them atleast copy this link in apps. so if them click on any of this link for one time, they welcome. atleast people will see this links too. but if they just copy paste in browser there is no benefit for us.
sorry if my problem waste your time and thanks for your guidance.
arminamini
21-Dec-16 8:14am
View
We prefer Unknowing User visit our website with this link. but if they just copy,paste in addressbar, it means that member visit our website again and they could do it many times a day. but we try that links from our website share to many people with this members.
arminamini
21-Dec-16 7:47am
View
Yes i know, sorry but let me explain more. in our company there is a game with gift and we are in IT department should give our website members some specific links(include memberid as a querystring). and they will copy links in applications like whatsapp, telegram and ... so if someone click on links and come to our site we make points for member who copy links(we find it with querystring).
now if members just copy this links to one browser addressbar and come to site(whithout copy links in applications), how can we find this?
arminamini
21-Dec-16 7:34am
View
Thnaks for Reply, but even there is no way to find if people click on some link in some app, or just copy and paste link in address bar and come?
arminamini
21-Dec-16 7:34am
View
Thnaks for Reply, but even there is no way to find if people click on some link in some app, or just copy and paste link in address bar and come?
arminamini
2-Oct-13 7:31am
View
Thanks for ur answer.
with what command i can update gridview, from my usercontrol?
arminamini
2-Oct-13 6:24am
View
How can i do it from UserControl, after deleting? Coz i dont have access to GridView from my UC!
arminamini
5-Aug-13 6:06am
View
Thank u very much. it works!
arminamini
5-Aug-13 6:06am
View
I mean file size, bytes.
arminamini
15-Apr-13 2:55am
View
Thanks, but i need to change 2 field of all records and insert them again.
how about it?
arminamini
6-Apr-13 9:05am
View
Yes my solution is that if there is any way that I add this method :
public string DecoAndGetServerName(string Servername)
{
System.Text.UTF8Encoding encoder = new System.Text.UTF8Encoding();
System.Text.Decoder strDecoder = encoder.GetDecoder();
byte[] to_DecodeByte = Convert.FromBase64String(Servername);
int charCount = strDecoder.GetCharCount(to_DecodeByte, 0, to_DecodeByte.Length);
char[] decoded_char = new char[charCount];
strDecoder.GetChars(to_DecodeByte, 0, to_DecodeByte.Length, decoded_char,0);
string Name = new string(decoded_char);
return Name;
}
And call it one time, not all times that I get this table by linq.
Once in linq class or somewhere like this that help me use it once.
coz I use this table more than 100 times in many pages and gridviews and ...
its so hard to add this method to all these pages.
arminamini
6-Apr-13 8:53am
View
Something like trigger in sql. For example you can add a function in sql query, and add something to fields while insert,update,select and Delete.
I need add something to my linq class, that if I Select this spcial table, get me decoded fields.
I mean I need add my decode function somewhere like get events if exists, that help me apply it in one place.
arminamini
6-Apr-13 8:45am
View
aah Thanks. I hoped if exists some thing like trigger in linq!
arminamini
6-Apr-13 8:40am
View
Something like this :
<pre>
private string EncodeServerName(string ServerName)
{
byte[] NameEncodein = new byte[ServerName.Length];
NameEncodein = System.Text.Encoding.UTF8.GetBytes(ServerName);
string EcodedName = Convert.ToBase64String(NameEncodein);
return EcodedName;
}
</pre>
And I need something like triggers but in linq in c# not in sql side. That I run it before all gets methods in all project parts.
Thanks.
arminamini
26-May-12 5:48am
View
Many Thanks.
arminamini
26-May-12 0:54am
View
Thanks, But i need queryStrings of the url that user goes, and that page made 404 error
arminamini
26-May-12 0:53am
View
Thanks, Let me check it.
arminamini
22-May-12 4:58am
View
No. How can i do this ?
Plz let me know about this log.
Thanks
arminamini
7-Apr-12 6:42am
View
Thank u, it was very useful.
And plz do u know any web page for translate all Reg exp words. and how making this regs ?
arminamini
18-Dec-11 2:32am
View
Thank u. Good idea, lets rely on the browser zoom feature.
arminamini
29-Nov-11 7:42am
View
Great!
arminamini
29-Nov-11 7:25am
View
Hi. its good idea. but it can be great if i have these Times in One Select and many Rows. because i need to make this select as a gridview datasource. is it possible?
arminamini
14-Nov-11 8:00am
View
Great!
Thank you very much. it worked.
arminamini
3-Jul-11 1:03am
View
Thank u.
arminamini
3-Jul-11 1:03am
View
Great, thanks.
arminamini
28-Jun-11 2:16am
View
Yes, i know it's not a normal table, but i dont know if i can change it. i just wondering if there is a way to select those fields.
anyway, thanks for ur answer, i think i should change it.
arminamini
27-Jun-11 7:57am
View
Thanks for ur notice.
For example i have a row in this table with these values for these fields :
ProdactCatalog : True
ProdactCatalogCount : 3
SeminarDVD : False
SeminarDVDCount : 0
,....
I want to write a query that dont show false fields,and their count fields too.
just Select true fields and their count in a select query.
Thanks in Advance.
arminamini
27-Jun-11 7:57am
View
Thanks for ur notice.
For example i have a row in this table with these values for these fields :
ProdactCatalog : True
ProdactCatalogCount : 3
SeminarDVD : False
SeminarDVDCount : 0
,....
I want to write a query that dont show false fields,and their count fields too.
just Select true fields and their count in a select query.
Thanks in Advance.
arminamini
31-May-11 5:43am
View
USP_INS_Pic ,is an example for one store procedure that insert a pic as varbinar into database,and it means u should a table that has a varbinary field for image, and write insert query(as procedure o inside ur code behind).
and CS is the ky of ur connectionstring/appsettig. u can set ur appsettings like this in app.config :
<appsettings>
<add key="CS" value="server=local;data source=.;database=yourdbName;Integrated Security=True">
Show More