16,011,578 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 karthikh87 (Top 42 by date)
karthikh87
19-May-15 12:53pm
View
@virusstorm: i have 2 columns in database viz, User and Level where User will have different level and depending on level he should get access. i tried coding this but was not successful so m looking for code(complete code itself).
@sergey: Question is i need code for menu building (only 1 level) depending on user level access.
@Manoj: Yes Manoj it will be only 1 level.. Usertype1 - Level1 page, Usertype2 - level2 page and so on..
karthikh87
23-Oct-13 8:31am
View
Thanks
karthikh87
1-Apr-13 1:36am
View
Thanks Prasad.. i got query executed and i tired in different way and its working fine..
karthikh87
31-Mar-13 11:16am
View
Thanks for the update so soon, and can u pls give me a code optimized for this i mean i am new to php and dono how to do as i did insertion option but not able to retrieve data.. from past week i m serching how ot retrieve data from php form pls help me thanks in advance.
karthikh87
31-Mar-13 9:10am
View
HiPrasad below are the details and thanks for the response pls let me know the code for the below details.
DB Name: newcrm
table name: common
table columns: refno(primary key); date; agentname; zcno; callerid;
i want to retrieve data from common table, from refno or date or agentname or zcno or callerid.
php form contains only one text field and what ever client enters it has to search in all the mentioned above columns and get the data from the table.
php form textbox name is: "search"
karthikh87
21-Apr-12 4:36am
View
its better to paste full code here so that we can understand well..
karthikh87
19-Apr-12 23:33pm
View
please tell me where you added code in the above thanks in adv
karthikh87
19-Apr-12 14:05pm
View
i have pasted my entire code so can u plz tel me where n what to put plz as i am not able to understand where to put your code
karthikh87
19-Apr-12 14:04pm
View
i have pasted my entire code so can u plz tel me where n what to put plz as i am not able to understand where to put your code
karthikh87
19-Apr-12 14:04pm
View
i have pasted my entire code so can u plz tel me where n what to put plz as i am not able to understand where to put your code
karthikh87
19-Apr-12 14:03pm
View
i have pasted my entire code so can u plz tel me where n what to put plz as i am not able to understand where to put your code
karthikh87
19-Apr-12 14:03pm
View
i have pasted my entire code so can u plz tel me where n what to put plz as i am not able to understand where to put your code
karthikh87
19-Apr-12 8:47am
View
can i get code part for query string..? i dont know how to pass resultant value to next page please help me
karthikh87
19-Apr-12 5:17am
View
i have little doubt can u plz check what is the error and tell me my friend
karthikh87
19-Apr-12 5:17am
View
i have little doubt can u plz check what is the error and tell me my friend
karthikh87
13-Apr-12 9:39am
View
when i select DDL1 it shows selected image n again when i select DDL2 it shows selected image until this is fine n prob is that the DDL1 will be in same selected item even when DDL2 is selected and selected image is display you can check in the image where DDL1 and textbox is also showing previous image even when DDL2 is executed.. sorry for bad english and plz dont mind can u ask again if u have doubt..
* there is no need to have code here i just wanted to reset DDL1 when DDL2 is executed
karthikh87
13-Apr-12 4:04am
View
might be my question is silly but i was not able to understand so posted in this forum m sorry and thanks for helping me to resolve my question
karthikh87
12-Apr-12 13:06pm
View
Thnak you sjelen..
karthikh87
12-Apr-12 0:22am
View
yup i did same thing.. i mean using generic handler i got image to data list n i wanted to get few lines of words below the image so is it possible to bind data also below the image or i have to use any other like gridview etc..??
karthikh87
12-Apr-12 0:14am
View
for sjelen:
using generic handler getting image from sql and displayed in data list bro.. any doubt yet..??
karthikh87
12-Apr-12 0:13am
View
for Mark Nischalke:
i did only with image and now asking for both image and data to be displayed
karthikh87
8-Apr-12 23:26pm
View
in that code i just wanted to show exactly where i am placing code n thanks for reply n its working fine now
karthikh87
7-Apr-12 8:39am
View
not working still
string sql = "SELECT imageid,bid,pid FROM myimages Order By bid";
karthikh87
7-Apr-12 8:37am
View
no my dear friend its not working same error again..:-( thanks for replying.. please check this again n resolve this error
karthikh87
6-Apr-12 13:44pm
View
thanks for reply and i got this error can u plz check with this error?
Server: Msg 156, Level 15, State 1, Line 3
Incorrect syntax near the keyword 'Bulk'.
karthikh87
6-Apr-12 3:31am
View
i had forgot to write "@image" after comma sir.. and thanks for the great support
SqlCommand cmd = new SqlCommand("insert into myimage(ImageName,Image) values(@imagename,@image)", con);
and i wish and request for the same support al the time and its great to be in this forum
thanks once again and if possible can u please give the code to display image in grid view as i am not getting from many days m sorry if i am expecting more m very new to this development sir..
karthikh87
5-Apr-12 23:45pm
View
this is my CSharp.aspx.cs file
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
DataTable dt = new DataTable();
String strConnString = System.Configuration.ConfigurationManager.ConnectionStrings[@"Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=master;Data Source=KACHU-PC\SQLEXPRESS"].ConnectionString;
string strQuery = "select ID, Name from tblFiles order by ID";
SqlCommand cmd = new SqlCommand(strQuery);
SqlConnection con = new SqlConnection(strConnString);
SqlDataAdapter sda = new SqlDataAdapter();
cmd.CommandType = CommandType.Text;
cmd.Connection = con;
try
{
con.Open();
sda.SelectCommand = cmd;
sda.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
GridView2.DataSource = dt;
GridView2.DataBind();
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
finally
{
con.Close();
sda.Dispose();
con.Dispose();
dt.Dispose();
}
}
}
n on line 17 its connection string and connection string is rite as far i re re checked..
karthikh87
21-Mar-12 9:32am
View
this is type of displaying result from sql to gridview and may i know anyother best way to do as you said req is not good one..
and about i am learner so ofcourse this question might be silly m learing sql and .net and i need your support thanks for reply
karthikh87
6-Mar-12 13:19pm
View
ya sure i can add this and thanks for your help and please let me know where to put this code in the page i am sorry if i am poor in coding please help for this thanks in adv
karthikh87
2-Mar-12 6:27am
View
i just wanted how to get sql values into table.. can you tell atleast that..??
karthikh87
2-Mar-12 6:27am
View
i just wanted how to get sql values into table.. can you tell atleast that..??
karthikh87
22-Feb-12 4:20am
View
hi i too have similar issue with C# so can u give me code for this and i tried with incrementing in database but issue is that it will re-write on previously entered value
karthikh87
31-Jan-12 12:28pm
View
i want to know what is mail.yourservername.com and how can i get it..??
karthikh87
31-Jan-12 10:49am
View
in gridview it can be edited rite..?? n can i make grid view as non editable i mean curser control should not go to gridview only. can this be done..??
karthikh87
31-Jan-12 10:21am
View
m sorry.. i just wanted to know i was doing from long time so i was eager to know so said like that sorry again
karthikh87
30-Jan-12 5:00am
View
do u mean all contact forms and feedback forms on the website have there email username and password in coding..??
karthikh87
30-Jan-12 4:53am
View
is it mandatory to give our gmail account username and password..??
can we do without giving " smtps.Credentials = new NetworkCredential ( "mail@gmail.com", "pwd" ); "
karthikh87
30-Jan-12 4:39am
View
// You can specify the host name or ipaddress of your server
// Default in IIS will be localhost \
// smtpClient.Host = "smtp.google.com";
currently i am using : smtpClient.Host = "localhost";
i get mail to gmail id but it also gets error as fake email id report r learn more so if i don't want to get that what i have to do instead of "local host"
karthikh87
30-Jan-12 0:55am
View
i want to know what is mail.yourservername.com and how can i get it..??
karthikh87
29-Jan-12 5:00am
View
i m not able to see my page i have uploaded already n is it it takes some time aftr we create n upload files to sub domain folder..??
karthikh87
2-Jan-12 6:07am
View
datagridview which is used in windows forms and i dono about how many there in the world or in visual studio 2008 ha ha.. i was speaking about datagridview.
thankyou for asking specification as i am new to this
karthikh87
31-Dec-11 14:59pm
View
MR. OriginalGriff..
i could not understand what actually you mean to say.. i am new to this so can u elaborate and i wanted to know what is ... mean which you mentioned and can u please tell where exactly i have to write that code and can u please explain in detail i request you thanks in advance for the interest you should to resolve my problem..
Show More