15,897,371 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 moon2011 (Top 102 by date)
moon2011
7-Feb-12 7:01am
View
What About input in html
moon2011
17-Jan-12 13:35pm
View
and what about chatting??? i have an iframe to enter in it chat emotions and send it.
moon2011
16-Jan-12 6:19am
View
yes, i mean that it can open more than one window from it.
is it clear enough??
moon2011
11-Jan-12 14:58pm
View
i tried
var x = $get("txt_username")
txt_username.value += "\n" + "test";
and not working
moon2011
18-Nov-11 8:24am
View
Thanks alot for your reply , but i have a question:
clsCommon ???????
can i know what is that class??
moon2011
17-Nov-11 16:44pm
View
Also, Not Working
moon2011
17-Nov-11 15:48pm
View
can you make it more clear , please???
moon2011
16-Nov-11 3:12am
View
i am sorry , i don't know php as good as should , so , If you can help me , please tell me what should i do??
Thanks
moon2011
13-Nov-11 5:12am
View
there is no message error, it makes postback only with no messages....
moon2011
13-Nov-11 4:55am
View
Not Working also.....I didn't understand the error . it feels with alert . what is the problem with this redirect???????
moon2011
13-Nov-11 4:37am
View
yes, there are correct
moon2011
13-Nov-11 4:30am
View
<script type="text/javascript">
function displaymessage()
{
var username = document.getElementById('fusername').value;
var userpassword = document.getElementById('fpassword').value;
if ((username=="user") && (userpassword =="111"))
{
window.location = "http://www.google.com/";
}
}
</script>
This is my function
moon2011
13-Nov-11 4:29am
View
Not Working Also...
moon2011
28-Sep-11 7:28am
View
how can i delete from database while table doesn't exist in it.
moon2011
28-Sep-11 7:20am
View
there is no error , but the main table still with its hole data without deleting.
moon2011
28-Sep-11 7:07am
View
i have already gave it but it is not working.
moon2011
28-Sep-11 6:48am
View
thanks alot for your help, but by this way ,
string query="delete from tablename where id in("+strrno+")";
i delete from table in datatbase but i want to delete from the main datatable.
moon2011
28-Sep-11 3:06am
View
thanks, my 5
moon2011
27-Sep-11 10:26am
View
thanks
moon2011
27-Sep-11 7:46am
View
Thanks alot
moon2011
25-Sep-11 7:19am
View
thanks alot, but i meant that the query doesn't appear any execution time however the stored executed sucessfully. is it clear now???????
moon2011
20-Sep-11 9:41am
View
thanks for your help, but i hope for another soulation without using javascript.
moon2011
16-Sep-11 8:58am
View
sorry ,it was written mistake from me
not working also ,
moon2011
13-Sep-11 7:08am
View
did it work on asp.net??????
moon2011
13-Sep-11 6:52am
View
how can i put runat="server" from client side control???
it appears an error tells me "The value property on HtmlInputFile is not settable.
"
moon2011
31-Aug-11 13:19pm
View
Thanks alot for your help. I am already using Generic Handler , but what i want is to retrieve all the images first and then display them on the page as icons for example .
moon2011
31-Aug-11 13:16pm
View
my table is:
tbl_UserImage(int Id, image userImage, int UserId)
moon2011
25-Aug-11 8:39am
View
thanks, but i saw it before and i couldn't get it. :)
moon2011
23-Aug-11 6:03am
View
DataRow[] result = ItemProperties.Select("Country = 'London' AND PropertyType = 'test' ");
this the code, right?
i want to pass variables instead of the static values that i made.
So, Can you help me????
thanks
moon2011
23-Aug-11 5:25am
View
thanks alot for your help. But can i make the in the select statment dynamic variable????
moon2011
19-Aug-11 20:39pm
View
the Problem here is that i want to know the strategy to do that , please????
Thanks
moon2011
26-Jul-11 8:27am
View
Thanks Alot
moon2011
3-Jul-11 4:48am
View
Thanks A lot for Your help.
moon2011
30-Jun-11 3:28am
View
My point here is to not use any c# code in my page , becuase i use webservices for functions related to database and other function i write it in javascript in my design page, are u understood me???
moon2011
30-Jun-11 3:28am
View
My point here is to not use any c# code in my page , becuase i use webservices for functions related to database and other function i write it in javascript in my design page, are u understood me???
moon2011
29-Jun-11 3:38am
View
Thanks for your help but all i tried was in C# and i couldn't transfer it to javascript .
moon2011
29-Jun-11 3:37am
View
sorry, I need it in javascript. it was amistake from me?
moon2011
10-May-11 7:09am
View
hi OriginalGriff;
Thanks for Reply.and i was waiting your answer because i didn't reach to any thing new , so if you have an answer, please tell me.
thanks
moon2011
18-Apr-11 8:08am
View
an exception appears telling "This row already belongs to another table."??????
i didn't understand it???
help???
moon2011
18-Apr-11 7:41am
View
it appears an exception to me
moon2011
18-Apr-11 7:38am
View
thanks for you both, but i know that we can do it in the database, but i need Zeros in another webform, so i have to handle it in the code.
thanks again
moon2011
31-Mar-11 3:31am
View
can i understand what is Tag ??
moon2011
29-Mar-11 10:01am
View
thanks,
but what i need is loading employee data using c# function on the textchange of the textbox.
so can i call c# function in the javascript function
moon2011
29-Mar-11 3:35am
View
thanks alot for your link but i have made the same search and the same links before and didn't reach to aresult , do you have another redult, please?
thanks
moon2011
28-Mar-11 6:08am
View
thanks alot
moon2011
14-Mar-11 16:12pm
View
thaaaaaaaaaaaaaaanks
moon2011
14-Mar-11 7:29am
View
thanks alot for help
moon2011
14-Mar-11 7:29am
View
thanks
moon2011
14-Mar-11 5:29am
View
thanks for your help, but the result was one column 'First' only, why it doesn't appear the second???
moon2011
14-Mar-11 5:16am
View
now i have atransaction (borrow and loan) i want to calculate the sum of loan for auser and the sum of borrower for the same user. all these data is in the same table, so i need arow tells me the accountId, Sum of Loan and the Sum of Borrower for him because i want to calculate the difference between them later.
moon2011
13-Mar-11 17:13pm
View
that is an opnion, but i need that to make adifference betwwen sum of male and sum of female.
i want to know tha max to make that difference, how is it???
moon2011
10-Mar-11 3:30am
View
i tried but it appears an exception, thanks at all
moon2011
10-Mar-11 3:07am
View
thanks
moon2011
9-Mar-11 6:06am
View
look, in your soultion you write "this.controls.Add(cb) , right?" , i made "containerdiv.controls.add(cb)" that id because i need to fill these checkboxes in adiv.
but now i need to make divcontainer as abig div and include small divs for every checkbox,
you get it??
thanks
moon2011
9-Mar-11 4:13am
View
thanks alot, i have tried it but the problem that i fill 50 checkbox for example, (this) makes all check boxes in the same div.
i want to make every one iun adiv,, how is that?
thanks
moon2011
8-Mar-11 16:21pm
View
thanks for your help, but i tried it and an ececption appear in the line
document.getElementById('myDiv').style.visibility = 'visible';
"Microsoft JScript runtime error: Object required"
moon2011
8-Mar-11 9:00am
View
i am sorry for not telling the full question, but can you tell me how to make that??
how to tell an image in the run time to appear adiv ????
moon2011
8-Mar-11 8:40am
View
thanks alot, but i need when he answer go to delete function, how can i do that????????
moon2011
8-Mar-11 8:35am
View
i want it as aconfirm alert????
moon2011
3-Mar-11 3:41am
View
thanks alot, Very Good Link.
moon2011
27-Feb-11 2:04am
View
thanks SAKryukov alot for your help , thanks Espen Harlinn alot for your notice . but i want to make the situation more clear, i am not rude , but i want to tell you what the result i reached and what i want now. thanks
moon2011
27-Feb-11 1:55am
View
hiii,
according to your comments , i am really happy from Marcus Kramer and SAKryukov because you are really help me.
but the point that i told you my problem now.
it is that i made the steps to make my site show up in Google search but i want to go to google update to make that update faster that google makes , you get it???
again thanks alot for your help and i am really happy
moon2011
26-Feb-11 5:11am
View
thanks for your reply, but i can tell you that i made these steps to make my website SEO but after these steps , Google updates that and the result appears after from one month to 3 months.
i want to go google Updates Directly and make that to appear the result fast than that, you get it???
can you help me now????
thanks
moon2011
23-Feb-11 5:51am
View
can any one tell me why we use "ASPNETChat.csproj" in the previous link, please?
thanks
moon2011
22-Feb-11 9:26am
View
thanks alot, nice link
moon2011
22-Feb-11 9:25am
View
thanks alot, good link
moon2011
22-Feb-11 9:25am
View
thanks alot, it is very helpful
moon2011
21-Feb-11 13:14pm
View
thanks alot, it is working now
moon2011
21-Feb-11 2:51am
View
thanks alot
moon2011
20-Feb-11 13:18pm
View
thanks for your reply, but i want on value according to what i mouse over to make it in another code not afixed value.
moon2011
20-Feb-11 13:14pm
View
Thanks for your reply, but i didn't want it in grid view but i made it using divs filling in run time using datareader.
moon2011
20-Feb-11 13:13pm
View
thanks for your reply but,
i don't want to mouse over adatatable. iwant to mouse on acolumn which if filled by datareader.can i do that?
moon2011
20-Feb-11 13:11pm
View
thanks for your reply, but i didn't make agridview but i displayed that information using divs in the runtime by reading from adatareader. But Now i have morw that 20 displayed row , i want when i mouse on the "id" column know that id to use it in another function. You got it?
moon2011
14-Feb-11 4:33am
View
thanks alot, it is working now
moon2011
8-Feb-11 6:28am
View
thanks for your reply, but it still appears an exception
"Object reference not set to an instance of an object."
moon2011
26-Jan-11 7:12am
View
the function that i told you about before is afunction to export data to xls file using crystal report and (FileExt) indicates that the file is .pdf or .xls file
moon2011
26-Jan-11 6:32am
View
protected void xls_Click1(object sender, EventArgs e)
{
ImageButton b = (ImageButton)sender;
MyFun(b.ID);
}
public void MyFun(string buttonID)
{
if (buttonID == "btn_AllSubGroup")
{
ImageButton btnObj = new ImageButton();
string FileExt = btnObj.ID.ToString();
string ReportName = "CrystalReport2.rpt";
string FileName = "D:\\informations2";
ExportToFile(ReportName, FileName, FileExt);
}
else if (buttonID == "btn_SaveAll")
{
ImageButton btnObj = new ImageButton();
string FileExt = btnObj.ID.ToString();
string ReportName = "CrystalReport.rpt";
string FileName = "D:\\informations";
ExportToFile(ReportName, FileName, FileExt);
}
}
that is my code
moon2011
26-Jan-11 6:30am
View
To excuted function is in another button click, so the sender it saw is the button that executing function in.
what can i do?
moon2011
26-Jan-11 6:21am
View
Error 6 'System.Web.UI.WebControls.Button' does not contain a definition for 'Name' and no extension method 'Name' accepting a first argument of type 'System.Web.UI.WebControls.Button' could be found (are you missing a using directive or an assembly reference?)
that is the exception appears when i tried that
moon2011
26-Jan-11 5:35am
View
i didn't mean that returning one refers to an exception , but it was reference for me only and i know that it shouldn't be like that.
thanks alot for your advice.
moon2011
23-Jan-11 7:38am
View
i didn't find that property " datagridview column "
moon2011
23-Jan-11 3:34am
View
Thanks digital man for your help
moon2011
23-Jan-11 3:33am
View
Thanks OriginalGriff for your help
moon2011
23-Jan-11 3:33am
View
Thanks Sandeep Mewara for your help
moon2011
23-Jan-11 3:32am
View
Thanksss Michael Waguih for your help
moon2011
18-Jan-11 8:11am
View
it returns wrong data.
i mean that i returns all mobiles in all subgroups and main groups.
moon2011
16-Jan-11 4:39am
View
Thanks alot , i have solved it
moon2011
13-Jan-11 4:14am
View
Response.Clear();
Response.Buffer = true;
Response.AddHeader("content-disposition", "attachment;filename=GridViewExport.doc");
Response.Charset = "";
Response.ContentType = "application/vnd.ms-word ";
StringWriter sw = new StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
GridView1.AllowPaging = false;
GridView1.DataBind();
GridView1.RenderControl(hw);
Response.Output.Write(sw.ToString());
Response.Flush();
Response.End();
there is the code i tried , bur the problem is when i opened the file i found it empty and often it connot be opened because there was an error in encoding, any help, please?
moon2011
13-Jan-11 3:34am
View
thanks for your reply, but i searched for that i had an error occured in opening word file , and i asked for help by another code.
thanks
moon2011
12-Jan-11 6:42am
View
thanks for your answer, but i meant that i want to take "91" for example from your number in your example to pass it to insert function, how can i make that.
thanks
moon2011
12-Jan-11 6:29am
View
hiiii all,
as i asked before, that i have agridview filled in the runtime which contains the name of user, his phone and sooo on
i need now to hold the value of phone column and be sure that the phone number i made a spilt on it because it may contain many numbers and i want to insert the first number only.
i hope that i was enough clear,
any help please?
thanks
moon2011
11-Jan-11 6:06am
View
thanks alot.
but now, in the run time i need to check if that checkbox.checked==true
it will call an insert function.
i tried to make that but it didn't see the checkbox.
can anyone help me, please?
thanks
moon2011
10-Jan-11 4:24am
View
.hiii all,
Now i have anew problem in gridview also,
i made apaging in this grid and in the first time in contains 3 pages, but in the page index changing, the grid pages increases to 4 or 5 pages.
can any one tell me the cause of this problem, ASAP?
taaaanks alot
moon2011
10-Jan-11 4:21am
View
thanks alot
moon2011
27-Dec-10 6:01am
View
thaaaaaaaaaaanks alot, it works well now
moon2011
27-Dec-10 5:51am
View
But WHERE Name like '%@Name%' will search names stared with [%@Name%], not the value inside @Name var
so, it didn't work
moon2011
27-Dec-10 5:47am
View
Now, we return to the previous problem, when i put % in the stored, it didn't work in UI
moon2011
27-Dec-10 5:31am
View
Deleted
First, Thanks alot for your answer , it works well. But, the user will enter the name in aform and he cannot enter 'm%', Do you understand me?
thanks
moon2011
27-Dec-10 5:20am
View
can you make your answer simpler, please.
moon2011
15-Dec-10 7:56am
View
i meant that i want to make my page dynamic .
mean, i have modules in the page that i know where it will be in the page. but often i can choose which module can be appear or not.
so, how can i make that in the run time?
did you understand me?
thanks
moon2011
12-Dec-10 2:05am
View
first, thanks for your answer
second, but i meant that i have data in the database that include(vertical , horizontal) aliagn for the control.
the idea is how to display that data to the code in run time , without css.
thanks
moon2011
21-Nov-10 4:23am
View
first, thanks alot
but i need it in C# not in VB
Show More