16,012,316 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 Chui PuiKwan (Top 27 by date)
Chui PuiKwan
26-Jul-13 3:11am
View
mysql> select INSTR('2013/19/12','19/') >0;
+------------------------------+
| INSTR('2013/19/12','19/') >0 |
+------------------------------+
| 1 |
+------------------------------+
1 row in set
mysql> select INSTR('2013-12-12','19/');>0
+---------------------------+
| INSTR('2013-12-12','19/') |
+---------------------------+
| 0 |
+---------------------------+
1 row in set
That INSTR(date,'19/')>0 indicate that the date contains 19/
Chui PuiKwan
26-Jul-13 3:03am
View
mysql> select
INSTR('2013-12-12','19/');
+---------------------------+
| INSTR('2013-12-12','19/') |
+---------------------------+
| 0 |
+---------------------------+
1 row in set
mysql> select INSTR('2013/19/12
','19/');
+---------------------------+
| INSTR('2013/19/12','19/') |
+---------------------------+
| 6 |
+---------------------------+
1 row in set
Chui PuiKwan
26-Jul-13 2:52am
View
Sorry,it's a wide range of requirements.
I wish you can list them more clearly.
Only you konw what you want to do very clearly ,you could done it very well .
Chui PuiKwan
26-Jul-13 2:48am
View
puikwanchui@gmail.com
Chui PuiKwan
26-Jul-13 2:48am
View
If you could give me a demo data, I can help you to debug it .
Chui PuiKwan
26-Jul-13 2:31am
View
paste the content of the messagebox here .
or
ur...what is your communication tools ?
or
send image message to my email
Chui PuiKwan
26-Jul-13 2:24am
View
1.like '%19/%'
2.
INSTR(dialdate,'19/')>0
Chui PuiKwan
26-Jul-13 1:59am
View
if you want to do it by array .
you can implement it by using a global array .
such as :
static String[] existIndexArr=new String[1];
if click first:existIndexArr[0]=index;
if click second:query the array
notes that viewstate is store data in client
and array can store data in server .
Chui PuiKwan
26-Jul-13 1:51am
View
it's no problem .
if you can paste some code ,I can answer more details .
Chui PuiKwan
26-Jul-13 1:49am
View
ths.
Chui PuiKwan
26-Jul-13 1:47am
View
$.ajax({
type: "GET",
url: "yourpage.aspx?id=1",
dataType: "script"
});
Chui PuiKwan
25-Jul-13 23:17pm
View
so ,you first get your selected index ,and store them in viewstate .
when you click again ,query viewstate and if viewstate exist the index ,you can alert warn .
Chui PuiKwan
25-Jul-13 22:05pm
View
jquery ajax or .net ajaxToolkit?
Chui PuiKwan
25-Jul-13 20:58pm
View
can you debug it?
Response.Write(message);
Chui PuiKwan
25-Jul-13 8:53am
View
ths for your reminder,and i updated the code.
Chui PuiKwan
25-Jul-13 8:49am
View
http://www-css.fnal.gov/dsg/external/freeware/mysql-vs-pgsql.html
http://dcdb.cern.ch/dcdb/archive/ttraczyk/db_compare/db_compare.html
if your server is linux,you can adopt mysql or oracle.
I advise mysql firstly.
Chui PuiKwan
25-Jul-13 8:24am
View
even through it's primitive way,but it's a way.
code languages is different,but the minds is same.
another way:
1.height and width
2.filesie
3.take 100 or 1000 points randomly,Getpixel
4. .....
if you want to select a database,I firstly advise that you should store image in a directory .
Importantly,you requirements decide which database should be selected.
I list some databases,as follows:
sqllite,smaller
mysql;opensource
ms sql;
oracle:
db2:
infomix:
Chui PuiKwan
25-Jul-13 6:54am
View
sorry.I got out and cook now.
now.i come back and give you some codes,as follows:
DataTable dt = new DataTable();
dt.Columns.Add("Column1");
dt.Columns.Add("Column2");
DataRow dr = dt.NewRow();
dr["Column1"] = "123456";
dr["Column2"] = "654321";
dt.Rows.Add(dr);
GridView1.DataSource = dt;
GridView1.DataBind();
Chui PuiKwan
25-Jul-13 6:47am
View
additional,who does call the Browser_DocumentCompleted method?
Chui PuiKwan
25-Jul-13 6:45am
View
sorry.I got out and cook now.
I think you maybe have't got the html element,so you can't get its value or set his value.
If you can show me your aspx code ,I can help you debug it.
Chui PuiKwan
25-Jul-13 5:02am
View
http://msdn.microsoft.com/en-us/library/fkx0cy6d(v=vs.80).aspx
your main problem is that you must bind you datasource to the gridview .
Chui PuiKwan
25-Jul-13 4:44am
View
2.handle data by sql convert
Chui PuiKwan
25-Jul-13 4:43am
View
question:Table data like 7/15/2013 2:45:00 PM and I need 2:45 PM ?
answer:
1.handler the data like 7/15/2013 2:45:00 PM by c#
String[] str=7/15/2013 2:45:00 PM".split(' ');
String time=str[1]; //get 2:45:00
int end =time.lastindexof(":");
time =time .substring (0,end )+str[2];
I code above codes by hand written ,so you need debug it in vs .
Chui PuiKwan
25-Jul-13 2:59am
View
certainly ,you must master JavaScript script .
Chui PuiKwan
25-Jul-13 2:58am
View
1.show all your questions in your aspx
2.when someone clicks one specific question ,list the options below the question .
Chui PuiKwan
25-Jul-13 2:36am
View
https://www.google.com.hk/search?newwindow=1&safe=strict&q=jquery+paste+image&oq=jquery+paste+&gs_l=serp.3.1.0j0i30l9.317677.326618.0.329251.26.15.1.3.4.0.166.1415.0j10.10.0....0.0..1c.1j4.20.serp.yyakpPvqcjs
Chui PuiKwan
25-Jul-13 2:36am
View
you can retrieve some tools such as html editor jquery plugins via google .
Show More