15,917,329 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 Member 8288629 (Top 15 by date)
Member 8288629
10-Jul-12 6:53am
View
yes
Member 8288629
10-Jul-12 6:11am
View
protected void gridvantype_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
try
{
//TextBox txtvanID = (TextBox)gridvantype.Rows[e.RowIndex].FindControl("txtvanID");
TextBox txttype = (TextBox)gridvantype.Rows[e.RowIndex].FindControl("txttype");
TextBox txtcapacity = (TextBox)gridvantype.Rows[e.RowIndex].FindControl("txtcapacity");
// CheckBox chkisActive = (CheckBox)gridvantype.Rows[e.RowIndex].FindControl("chkisActive");
DataSet ds1 = new DataSet();
String para = " ";
//para = "@P_Vantype_ID='" + txtvanID.Text.Trim() + "',";
para = "@P_Vantype='" + txttype.Text.Trim() + "',";
para += "@P_VanCapacity='" + txtcapacity.Text.Trim() + "',";
// para += ("@p_Isactive=" + Convert.ToInt16(chkisActive.Text));
ds1 = objQry.QueryEngine("usp_Update_VanTypeMaster" + para);
gridvantype.EditIndex = -1;
lbl_status_edit.Text = "van Details Updated Sucessfully";
BindData(); // Rebind GridView to reflect changes made
}
catch (Exception ex)
{
lbl_status_edit.Text = "Exception Occured while Updating! " + ex.Message.ToString();
}
}
Member 8288629
10-Jul-12 6:09am
View
yes i update every property
Member 8288629
10-Jul-12 6:08am
View
protected void gridvantype_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
DataSet ds = new DataSet();
Label VanType = (Label)gridvantype.Rows[e.RowIndex].FindControl("VanType");
Label VanCapacity = (Label)gridvantype.Rows[e.RowIndex].FindControl("VanCapacity");
//ds.Tables["VanType"].Rows[e.RowIndex].Delete();
gridvantype.Rows[e.RowIndex].Visible = false;
string hide = "";
hide += "@P_Vantype='" + VanType.Text.Trim() + "',";
hide += "@P_VanCapacity='" + VanCapacity.Text.Trim() + "'";
ds = objQry.QueryEngine("usp_Delete_VanTypeMaster " + hide);
BindData();
}
Member 8288629
10-Jul-12 6:07am
View
DataSet ds = new DataSet();
Label VanType = (Label)gridvantype.Rows[e.RowIndex].FindControl("VanType");
Label VanCapacity = (Label)gridvantype.Rows[e.RowIndex].FindControl("VanCapacity");
//ds.Tables["VanType"].Rows[e.RowIndex].Delete();
gridvantype.Rows[e.RowIndex].Visible = false;
string hide = "";
hide += "@P_Vantype='" + VanType.Text.Trim() + "',";
hide += "@P_VanCapacity='" + VanCapacity.Text.Trim() + "'";
ds = objQry.QueryEngine("usp_Delete_VanTypeMaster " + hide);
BindData();
Member 8288629
10-Jul-12 6:05am
View
In table what ever hide gridview row that is not deleted
Member 8288629
10-Jul-12 6:01am
View
I taken update linklabel, set properties correctly
Member 8288629
12-Dec-11 4:22am
View
i need Ctrl+s shortcut files saving code
Member 8288629
30-Nov-11 7:53am
View
but i take directly column, below my code only individual name, code search
but i want alphanumeric and allow spaces
alter procedure getBusinessEntityLocationsByLocationName
(
@location_name varchar(100)
)
as
begin
if @location_name is null
select location_name + '(' + cast(location_id as varchar) + ')' as location from BusinessEntityLocations
else
select location_name + '(' + cast(location_id as varchar) + ')' as location
from BusinessEntityLocations where location_name Like '%' + @location_name+ '%' or location_id Like '%' + @location_name + '%'
end
Member 8288629
30-Nov-11 7:27am
View
but i take directly column below my code only individual name, code search
but i want alphanumeric and allow spaces
alter procedure getBusinessEntityLocationsByLocationName
(
@location_name varchar(100)
)
as
begin
if @location_name is null
select location_name + '(' + cast(location_id as varchar) + ')' as location from BusinessEntityLocations
else
select location_name + '(' + cast(location_id as varchar) + ')' as location
from BusinessEntityLocations where location_name Like '%' + @location_name+ '%' or location_id Like '%' + @location_name + '%'
end
Member 8288629
24-Nov-11 4:23am
View
but where i add this code
Member 8288629
24-Nov-11 4:20am
View
i have listview binding with values, each time i displayed 5 items only, for this i want add arrows left for previous 5items, right for next 5 items, what is code for this problem
Member 8288629
10-Nov-11 7:51am
View
i want total program for this problem
Member 8288629
10-Nov-11 7:10am
View
your solution program is not executed,
Unsafe code may only appear if compiling with /unsa
Member 8288629
10-Nov-11 6:51am
View
that is not my solution
Show More