16,004,761 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 Suresh Dasari's (Top 25 by date)
Suresh Dasari's
1-Mar-13 6:50am
View
It is a windows application.
where ever you run this application it will create the files there.
it will create in local machine.
Suresh Dasari's
1-Mar-13 6:40am
View
maintain the date into a static variable for first time, then check with that date every time.
Suresh Dasari's
24-Jan-13 5:27am
View
how you have binded your DataGridView
Suresh Dasari's
24-Jan-13 4:52am
View
confused
adding listbox1 item to listbox2 item
Listbox2.Items.Add(listbox1.SelectedItem);
these are confusing
1. from listbox1 when i add item and move to listbox2 and click the remove button.Listbox2 item to be removed.
2. from listbox2 when i click the remove button that selected item from listbox2 move to listbox1.
when i removing the listbox2 item to listbox1 that time listbox2 selected item wont be there to be removed.
can you post in brief.
Suresh Dasari's
24-Jan-13 4:46am
View
http://stackoverflow.com/questions/14251553/c-sharp-and-current-local-time-for-different-countries
http://msdn.microsoft.com/en-us/library/system.timezoneinfo%28v=vs.100%29.aspx
Suresh Dasari's
24-Jan-13 4:40am
View
you can do it with same class
i.e
List of employeehistorylist to IEnumerable of employeehistorylist
and not with different classes
List of employeehistorylist to IEnumerable of employeeregbl
Suresh Dasari's
24-Jan-13 4:12am
View
remove the localhost with your ip address to access your web site in your network
Suresh Dasari's
24-Jan-13 4:07am
View
Deleted
hide the footer before exporting and show the footer after exporting.
gvFiles.FooterRow.Visible = false;
its working for me...
Suresh Dasari's
21-Jan-13 7:46am
View
its working here without decoding
public partial class Aspx_ZSamples_Default10 : System.Web.UI.Page
{
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("Default11.aspx?Value='Coeur d 'Alene'");
}
}
public partial class Aspx_ZSamples_Default11 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string strValue = Request.QueryString["Value"].ToString();
string strValue1 = HttpUtility.HtmlDecode(Request.QueryString["Value"].ToString());
}
}
Suresh Dasari's
8-Jan-13 7:42am
View
OnClientClick='<%# string.Format("javascript:return fnSelectedLocationList(\"{0},{1},{2},{3},{4}\")", Eval("Location"),Eval("Version"),Eval("Lot"),Eval("Quantity"),Eval("WKOLineNumber")) %>'
Suresh Dasari's
8-Jan-13 7:17am
View
Deleted
Collect the information into a DataTable and pass it to GridView DataSource
Suresh Dasari's
7-Jan-13 0:18am
View
http://www.codedigest.com/Articles/ASPNET/6_GridView_with_Image.aspx
http://www.dotnetfunda.com/articles/article1084-saving-images-into-the-database-in-aspnet-and-displaying-to-the-gridview-.aspx
Suresh Dasari's
3-Jan-13 3:38am
View
do you want to display the images row wise, i.e similar to the shopping cart ?
combine all the tables data into one dynamic data table in code side.
then bind that combined data table to grid view, use only one image tag to display the image.
the data should be in row wise.
i.e
IdColumn ImageColumn
Table1_pkvalue1 Table1-Image1
Table1_pkvalue2 Table1-Image2
Table2_pkvalue3 Table1-Image3
Table2_pkvalue1 Table1-Image1
Table5_pkvalue4 Table1-Image4
Table7_pkvalue2 Table1-Image2
or
use DataList in the template field instead of image tag
place the image tag in the DataList.
Suresh Dasari's
30-Dec-12 9:30am
View
place your code
Suresh Dasari's
30-Dec-12 9:19am
View
could you place the code how you have created the gridview using javascript &
try to study to save the data using
1. json
2. xmlhttp through javascript.
Suresh Dasari's
30-Dec-12 9:12am
View
what is the control element for this id 'categoryName_'+value2,
check the id of the control in browser view source.
Suresh Dasari's
30-Dec-12 8:05am
View
Use Dynamic Templates, Use Multiple asp:Image Tags
Suresh Dasari's
29-Dec-12 3:35am
View
do you got the solution
Suresh Dasari's
24-Dec-12 6:27am
View
where do you get the mark field,
can you place the table details related to the marks field.
Suresh Dasari's
24-Dec-12 6:09am
View
post your solution, after completion.
it will help others.
Suresh Dasari's
21-Dec-12 5:28am
View
can you place your .aspx code,
Do you have 2 checkboxes chkV & chk830.
Suresh Dasari's
21-Dec-12 3:31am
View
check dt object value in watch
no issue in binding the code here
Suresh Dasari's
20-Dec-12 4:55am
View
Deleted
Check this link to create windows service
http://www.c-sharpcorner.com/UploadFile/mahesh/window_service11262005045007AM/window_service.aspx
string ConnStrng = "Data Source=localhost\\sqlexpress;Initial Catalog=MembersAccount; Integrated Security=SSPI;";
string updateRec = "INSERT INTO TblMembers(FullName, Iam, Email, Password, BirthMonth, BirthDay, BirthYear) VALUES (@FullName, @Iam, @Email, @Password, @BirthMonth, @BirthDay, @BirthYear)";
SqlConnection SqlConn = new SqlConnection(ConnStrng);
SqlCommand sqlCmd = new SqlCommand(updateRec,SqlConn);
sqlCmd.Parameters.AddWithValue("@FullName", txtfullname.Text);
sqlCmd.Parameters.AddWithValue("@Iam", txtiam.Text);
sqlCmd.Parameters.AddWithValue("@Email", txtemail.Text);
sqlCmd.Parameters.AddWithValue("@Password", txtpassword.Text);
sqlCmd.Parameters.AddWithValue("@BirthMonth", ddlmonth.Text);
sqlCmd.Parameters.AddWithValue("@BirthDay", ddlday.Text);
sqlCmd.Parameters.AddWithValue("@BirthYear", txtyear.Text);
try
{
SqlConn.Open();
sqlCmd.ExecuteNonQuery();
lblSecMessage.Text = "Thank you for registering.";
}
catch (Exception ex)
{
lblSecMessage.Text = ex.Message;
}
finally
{
SqlConn.Close();
}
Suresh Dasari's
18-Dec-12 7:20am
View
Have a look at convert expression on this
http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression%28v=vs.100%29.aspx
Suresh Dasari's
17-Dec-12 6:27am
View
May be your binding the GridView again before the execution of this code.
if it is the case then comment these lines before the execution of this code.
//GridView1.DataSource = your datasource;
//GridView1.DataBind();
Show More