16,012,316 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 tree1371 (Top 12 by date)
tree1371
4-Nov-13 14:21pm
View
because i have any labels in my page and i like use this in code design .no problem for use in code behind but i like use in code design
tree1371
4-Nov-13 11:00am
View
I don't know how binding label's Text to xml nod. for examlpe :
Xml :
<user>
<name>Name
<school>
<name>Name
and id have two labels and i want to bind text of label 1 to name of user and text of label 2 bind to name of school . How do this ?
tree1371
21-Aug-13 9:34am
View
i need my method inside all user controls get all value from all tools (text box , radio , check box , ... ) and set thy to string param exam :
string param = "text box value,radio value,check box value";
end i get param setting and send to database for save.
AND i need when i edit my data i need send my param from database to user control for set value and edit this.I split my value with ',' char and set this in to all tools;
tree1371
21-Aug-13 9:23am
View
I have many user control and one page . when i click on name of User control i want to Load my user control and set parameter for it's settings and i want to when i click on button save on page get string value of user control for save to database.
tree1371
21-Aug-13 9:18am
View
yes . all my UserControl's Have same method "SaveParams" with one parameter "ParamName";
tree1371
22-Jul-13 14:48pm
View
no working
tree1371
14-Jul-13 11:07am
View
my behind code is :
protected void Button1_Click(object sender, EventArgs e)
{
//Application["numCat"] = 2;
//object category = "mohammad/reza";
//Page.RouteData.Values["id"] = 1;
//Response.Redirect("category/"+category + "/item/" + 1 + "-ALIAsS");
string url = "sfsdfs/sdfsfs/sdfsfs/sdfsf/";
string[] splits = Regex.Split(url,"/");
Application["num"] = splits.Length.ToString();
string Url = Page.GetRouteUrl("ITEMs", new { NAME = "MOHAMMAD" });
Response.Redirect(url);
}
when i click on my button should split my URL and get number . then set application["num"] = number of split;
then in global URL routing map create .
don't create a name in my global for URL routing
tree1371
12-Jul-13 14:42pm
View
yes i use asp.net 4.0 but this solution is not dynamic because in my project i don t know how i have child's menu
tree1371
20-Jun-13 15:13pm
View
i use this code for set image:
grdUsers.DataSource = ds;
grdUsers.DataBind();
foreach (GridViewRow row in grdUsers.Rows)
{
ImageButton img = (ImageButton)row.FindControl("EnabledImgBtn");
if (!DBNull.Value.Equals(img.CommandArgument))
{
if (img.CommandArgument == true.ToString())
{
img.ImageUrl = "~/Admin/img/enable.png";
}
else
{
img.ImageUrl = "~/Admin/img/disable.png";
}
}
}
how i create event click for change status for imagebutton?
tree1371
22-Mar-13 2:12am
View
I want to delete multiple records simultaneously.
tree1371
21-Mar-13 14:21pm
View
when i would saving my id of records for send to database (stored procedure) and delete i have problem because my string of my recorde 's id simple fllowing code:
Collapse | Copy Code
finall stirng id is:
0,1,2,3,4,5
tree1371
15-Mar-13 9:14am
View
My salt is random.
are you say i should save salt for create hash password from user input to database?
Show More