15,900,725 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 Akkywadhwa (Top 40 by date)
Akkywadhwa
12-Jan-15 15:36pm
View
This code is used to update a <div> on the webpage. The AJAX request fetches the data from the URL. From "Doesn't Work" I want to say that this piece of code doesn't update that particular <div>
Akkywadhwa
12-Jan-15 15:32pm
View
I have tried different selectors too.
Example:
$(document).on("change","some_class",function(){ });
Akkywadhwa
12-Jan-15 15:01pm
View
Nopes!
None of the method in the given solution works.
Akky
Akkywadhwa
12-Jan-15 0:29am
View
I want to execute the above ajax on a particular event, say selection changed event of a combo box. This ajax works when event is fired for the first time but doesn't works for subsequent firing of same event.
Akkywadhwa
11-Sep-14 11:18am
View
Its on line "int i= POS.DbOperation.Insert(query, param);"
Akkywadhwa
11-Sep-14 6:03am
View
Object reference not set to an instance of an object.
System Null Reference Exception
Akkywadhwa
11-Sep-14 4:53am
View
public static int Insert(string query,Dictionary<string,string> parameters)
{
int i=0;
try
{
DBConnection.InitializeConnection(cmd);
foreach (var p in parameters)
{
cmd.Parameters.AddWithValue(p.Key,p.Value);
}
cmd.CommandText = query;
cmd.CommandType = CommandType.Text;
if (cmd.Connection.State != ConnectionState.Open)
{
cmd.Connection.Open();
i = cmd.ExecuteNonQuery();
}
}
catch (Exception)
{
i = 0;
}
finally
{
if (cmd.Connection.State != ConnectionState.Closed)
{
cmd.Connection.Close();
}
}
return i;
}
query = "INSERT INTO Suppliers ";
query+="(SupName,ConcernedPerson,MobileNum,PostalAddr,Email) ";
query += "VALUES(@Name,@ConcernedPerson,@Mobile,@Postal,@Email)";
var param = new Dictionary<string,string>();
param.Add("@Name", txtSupplier.Text.ToString());
param.Add("@ConcernedPerson", txtConcerned.Text.ToString());
param.Add("@Mobile", txtMobile.Text.ToString());
param.Add("@Postal", txtAddress.Text.ToString());
param.Add("@Email", txtEmail.Text.ToString());
int i= POS.DbOperation.Insert(query, param);
MessageBox.Show(i.ToString());
}
catch(Exception ex)
{
MessageBox.Show(ex+""+ex.InnerException);
}
}
This too doesn't work.
Hritik
Akkywadhwa
7-Mar-14 7:02am
View
Hello Maarten,
I have updated my question. Kindly check this.
Thanks,
Akky
Akkywadhwa
3-Mar-14 7:59am
View
Please consider the improved question.
Thanks for your answer,
Akky
Akkywadhwa
3-Feb-14 12:33pm
View
I am trying "select top 10 * from DimCustomer" query and this '10' is taken as pageindex.
It's just named as 'pageindex' but actually its a parameter for limit/
Thanks,
Hritik
Akkywadhwa
21-Mar-13 13:56pm
View
Correct...:)
Akkywadhwa
20-Mar-13 5:38am
View
one by one..
Akkywadhwa
18-Mar-13 4:01am
View
The Page Search!!
Akkywadhwa
16-Mar-13 5:36am
View
I have been ordered to do this work in C#.
Akky
Akkywadhwa
15-Jan-13 4:49am
View
Nopes!
Akkywadhwa
5-Dec-12 8:47am
View
How Can i disable the o let navigation keys to move on the lines of the textbox????????
Akkywadhwa
27-Oct-12 6:15am
View
No i am not asking for full design. I am asking for any idea about logic or algorithm.
Akkywadhwa
25-Oct-12 9:51am
View
What do you mean by monodevelop????
Is it normal c#?? yes or no?
Akkywadhwa
25-Oct-12 9:08am
View
5ed!
Akkywadhwa
23-Oct-12 9:57am
View
5ed!
Akkywadhwa
22-Oct-12 8:52am
View
Can you please show any example of line or of the thing u r saying about.
Akky
Akkywadhwa
10-Oct-12 6:03am
View
5ed!!!
Akkywadhwa
28-Sep-12 11:03am
View
I want that code in c# windows application not in asp.net(c#).
Akkywadhwa
19-Sep-12 10:23am
View
Richard getFolders is a static function here which can be called by their class name....
Akkywadhwa
18-Sep-12 9:20am
View
Hi vinod,
I am unable to use it in my windows forms project please explain me that how can I use it with windows forms.
Thanks.
Akkywadhwa
4-Sep-12 12:23pm
View
This line " Console.WriteLine("bliisdsdsdszdsafsfdsF");" is a separator please don't consider this.
Akky
Akkywadhwa
6-Jul-12 4:01am
View
Ok....Sergey if u consider this code as incorrect then will you please a code snippet for me to retrieve the contents of the pc and saving it on desktop for both the windows xp and 7.
Akkywadhwa
Akkywadhwa
19-May-12 3:51am
View
Yes,Shahin i want you to write a query in sql server 2005 for me.Please help me as soon as it could be possible.
Akky
Akkywadhwa
15-May-12 8:39am
View
Thanks Manas,
But can you tell me how can i retrieve one by one table name of the multiple resultset returned by this query.
Example:
I have to retrieve the name of table shown in resultset containing more than 2 rows.
Regards,
Akkywadhwa
Akkywadhwa
14-May-12 12:08pm
View
Consider 2 tables named name1 and name2 in database xyz.These tables contain time-table schedule of a teacher tells him/her that in which class he/she has to go in the specified 8 period in 6 days.And some of them are free too.Cells are denoting free periods by null values.So, I need to retrieve the tables names that is name1 and name2 by applying query that:
Give me those table names which contain null values in period 3 on day 4.
Please help me out as soon as it could be possible.
Regards,
Akkywadhwa
Akkywadhwa
14-May-12 12:06pm
View
Consider 2 tables named name1 and name2 in database xyz.These tables contain time-table schedule of a teacher tells him/her that in which class he/she has to go in the specified 8 period in 6 days.And some of them are free too.Cells are denoting free periods by null values.So, I need to retrieve the tables names that is name1 and name2 by applying query that
Give me those table names which contain null values in period 3 on day 4.
Please help me out as soon as it could be possible.
Regards,
Akkywadhwa
Akkywadhwa
12-May-12 14:25pm
View
I can't specify table name in my query as i have to retrieve it.
Example:
There is a table named akky which has 2nd colums 3rd cell empty then it must return me akky.
Note: Value of column and row is specified by me.
Thanks,
Akkywadhwa
Akkywadhwa
30-Mar-12 11:24am
View
I want to retrieve time from bios not from windows as windows time could be wrong but bios time can't be.
Akkywadhwa
29-Mar-12 17:07pm
View
I am new to c# so could you,Please upload a demo project for me. I request you for this.
Regards,
Akkywdhwa
Akkywadhwa
27-Mar-12 7:03am
View
Thanks buddy.I did that with your help.
Regards,
Akkywadhwa
Akkywadhwa
27-Mar-12 6:48am
View
Nelson I want them as you use to see in windows's tilebar and they must show adress in any textbox or other control.
Please see the below link for related image.
link:http://db.tt/BYxDYG9J
Akkywadhwa
Akkywadhwa
26-Mar-12 22:31pm
View
Hi Nelson,
Actually I want those buttons to work in the given case.
Case:
Previously 2 textboxes were displayed on screen but now on clicking of a button 2 more textboxes are being displayed and now when i press back button it should come to its previous stage i.e should display 2 textboxes only.
Regards,
Akkywadhwa
Akkywadhwa
26-Mar-12 18:56pm
View
Link to that image is:-
http://dl.dropbox.com/u/24842633/IMAGE.PNG
Akkywadhwa
26-Mar-12 16:14pm
View
Could you please explain "WM_PAINT" with a demo project?
Regards,
Akkywadhwa
Akkywadhwa
12-Mar-12 16:47pm
View
Hi Gparkings,
The solution you gave me was already seen by me and it was quite difficult to implement.So,I request you search any other alternative for that.
Thanks for your help,
Akky
Show More