15,898,035 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 Ankit Gajera (Top 18 by date)
Ankit Gajera
18-Feb-14 8:32am
View
Subrow was not display.only one row is display.....
Ankit Gajera
26-Oct-13 1:19am
View
does not get the size....................
Ankit Gajera
25-Oct-13 9:33am
View
get already image name in textbox ...and that i want to pass in the imagein.
btn_Click event ()
{
??? imaagein = txtimg.text;
ConvertImageToByteArray(imageIn);
}
Ankit Gajera
25-Oct-13 9:29am
View
get image from my Application.startup page....like Application.StartUp.
Ankit Gajera
25-Oct-13 9:23am
View
i know that but how to pass imagename into the imagein...does not convert it...
Ankit Gajera
22-Oct-13 8:23am
View
How you Can Compare the perticular date 01/11/2011,15/12/2011
Ankit Gajera
29-Mar-13 3:08am
View
this is an error....
There is already an open DataReader associated with this Command which must be closed first.
Ankit Gajera
28-Mar-13 10:22am
View
abov code not understand what you say actually....please implemanting in my code,,,,
Ankit Gajera
28-Mar-13 10:20am
View
no this will not work again that error occur......here is already an open DataReader associated with this Command which must be closed first.
Ankit Gajera
28-Mar-13 8:26am
View
your solution is not working and i need a solution to store different data in different control....
Ankit Gajera
28-Mar-13 8:00am
View
can you say like this....
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false)
{
SqlConnection objConn = new SqlConnection(ConfigurationManager.ConnectionStrings["BuildMyPCConnectionString"].ToString());
objConn.Open();
SqlCommand objCmd = objConn.CreateCommand();
objCmd.CommandType = CommandType.StoredProcedure;
objCmd.CommandText = "PR_ProductID_SelectByPK";
objCmd.Parameters.AddWithValue("@ProductID", Convert.ToInt32(Request.QueryString["ProductID"]));
SqlDataReader objSdr = objCmd.ExecuteReader();
dlProductDetail.DataSource = objSdr;
dlProductDetail.DataBind();
SqlCommand objCommand = objConn.CreateCommand();
objCommand.CommandType = CommandType.StoredProcedure;
objCommand.CommandText = "PR_ProductSpec_SelectByPK";
objCommand.Parameters.AddWithValue("@ProductID", Convert.ToInt32(Request.QueryString["ProductID"]));
SqlDataReader objSqldr = objCmd.ExecuteReader();
GridView1.DataSource = objSqldr;
dlProductDetail.DataSource = objSqldr;
GridView1.DataBind();
}
}
this is not work error occur
There is already an open DataReader associated with this Command which must be closed first.
Ankit Gajera
28-Mar-13 7:24am
View
this is not work...
Ankit Gajera
28-Mar-13 7:07am
View
both ans doesnt work....please help me..how can you do this???
Ankit Gajera
28-Mar-13 2:44am
View
if you can seprate the store procedure then how can you call tne two store prcedure inside the .cs page
Ankit Gajera
21-Mar-13 7:40am
View
ok. change ..now how to get file name......
Ankit Gajera
18-Mar-13 6:56am
View
Exception is not generated,only image is not delete from the folder.i think require physical path ?? bt how can i apply??
Ankit Gajera
18-Mar-13 6:40am
View
ok, thanx a lot fr help me...
Ankit Gajera
17-Mar-13 0:42am
View
What is 1001 here..is this Port number??
Show More