15,663,479 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 Python questions
View Javascript questions
View C++ questions
View Java 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 User-11630313 (Top 77 by date)
User-11630313
22-Mar-20 23:05pm
View
requestData is input parameter for that method
User-11630313
26-Feb-18 23:59pm
View
thx
User-11630313
5-Dec-17 5:51am
View
hey thank you for replying my question. how can i attach profiler to my visual studio?
i'm visual studio 2010
User-11630313
10-Aug-16 4:27am
View
you are awesome bro...Thankyou its working
User-11630313
23-Mar-16 5:53am
View
if im using dataset it works fine....but why was error generating while im using datatable?
User-11630313
3-Mar-16 3:34am
View
but i have database SNCF
User-11630313
20-Jan-16 5:34am
View
excellent..great explanation..#F-ES Sitecore
User-11630313
19-Jan-16 2:48am
View
where you want to display the values row? or column?
User-11630313
19-Jan-16 2:35am
View
it simple select the value into a variable..and return the variable using stored procedure...
User-11630313
19-Jan-16 2:25am
View
to solve your problem you need to select the values seperatly from the database...
User-11630313
18-Jan-16 6:09am
View
thankyou for responding...yeah your code is wright but it represents complete tablerow i think...
User-11630313
18-Jan-16 5:59am
View
simply...i have two lists..first list is existing data in the database..and the second list is client modifies data...i have to find what changes made by client?
User-11630313
18-Jan-16 5:55am
View
private Banks SaveBankDetails()
{
Banks obj = new Banks();
obj.Bankid = Formats.ConvertToInt(Request.QueryString["bankid"]);
obj.Bankname = txtBankName.Text;
obj.Active = Formats.ConvertStringToBool(ddlActive.SelectedItem);
obj.Userid = Session["UserId"].ToString();
List<banks> newdata = new List<banks>();
newdata.Add(obj);
List<banks> olddata = (List<banks>)Session["BankDetails"];
List<dbaudit> ChangedData = new List<dbaudit>();
in above code i need compare the two lists are
newdata and olddata...
the differences in object values should be add to changeddata list...
User-11630313
18-Jan-16 5:13am
View
here i need to compare each and every object element not a row..using except keyword i tried but it returns complete mismatch row...
User-11630313
13-Jan-16 3:03am
View
Deleted
why im use Formats.ConvertTo...i have created my own formats to good control on the project...which conversion is good for application?
this is my conversion code
public static string IsTextValueNull(string Text)
{
// if ((Text.Trim() == null) || (Text.Trim() == String.Empty) || (Text.Trim() == System.DBNull.Value.ToString()) || Text.Trim() == "")
if ((Text == null) || (Text == String.Empty) || (Text == System.DBNull.Value.ToString()) || Text == "")
{
return string.Empty;
}
else
{
return Text.Trim();
}
}
public static string ConvertToString(string Text)
{
return IsTextValueNull(Text);
}
public static string ConvertToString(object Value)
{
return IsTextValueNull(Convert.ToString(Value));
}
public static string ConvertToString(int Text)
{
return IsTextValueNull(Convert.ToString(Text));
}
is it good or bad please tell me...thankyou
User-11630313
13-Jan-16 2:38am
View
thnq..for your responce its helpful
User-11630313
13-Jan-16 2:37am
View
thanks for your advise...its working
User-11630313
9-Jan-16 3:47am
View
im new to this....can you explain clearly....if please provide code also
thank you
User-11630313
30-Dec-15 4:46am
View
why do you want to read the particular column values?are you trying to fill dropdown?
User-11630313
17-Dec-15 6:44am
View
k tq
User-11630313
15-Dec-15 7:33am
View
hey RyanDev..is there any way to get pop up in all browsers from code behind...
User-11630313
15-Dec-15 7:27am
View
how can i solve my problem pls explain with example
User-11630313
15-Dec-15 6:18am
View
here i need to generate pop up box from code behind only...
User-11630313
15-Dec-15 6:16am
View
in other browsers does not generate message pop up box
User-11630313
4-Dec-15 0:58am
View
yes...that problem was solved by adding authentication and authorization section in web.config file....thank you so much for responding to me..
User-11630313
2-Dec-15 6:28am
View
yes i put it break point in My Login page...there is no exception but it continuously hitting the break point multiple times...
User-11630313
2-Dec-15 6:21am
View
no yar...i think the page was redirecting multiple times so thats why iam getting error in browser
User-11630313
2-Dec-15 6:15am
View
thank you for responding...
User-11630313
2-Dec-15 6:01am
View
is there any need to add authorization and authentication sections in web.config file
User-11630313
2-Dec-15 5:59am
View
no i redirected correctly..browser shows
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
User-11630313
2-Dec-15 5:05am
View
its not working for me...in browser error occurred like "The page isn't redirecting properly"
User-11630313
26-Nov-15 3:27am
View
thank you for replaying @Arasappan...i tried it but not working
User-11630313
26-Nov-15 2:09am
View
thanks aarif its working.....is there any other way to pass the web controls to .js file?
User-11630313
26-Nov-15 1:43am
View
i created .js file in my project
User-11630313
18-Nov-15 7:29am
View
i tried it but it is not working....
User-11630313
17-Nov-15 6:04am
View
i have parent child drop down lists using ajax cascading dropdown...when i select the parent drop down the focus will move to child drop down...how it's possible?
User-11630313
16-Nov-15 7:11am
View
thank you for all responding I got a solution....
User-11630313
16-Nov-15 6:06am
View
the problem is i did not get data from web service..
User-11630313
14-Nov-15 6:17am
View
thank you...@KrunalRohit
User-11630313
30-Oct-15 5:56am
View
thankyou so much....Maddy Mc
User-11630313
30-Oct-15 5:54am
View
hey its working..just small change like
<asp:AsyncPostBackTrigger ControlID="ddlPeriodCode" EventName="SelectedIndexChanged" />
User-11630313
30-Oct-15 5:46am
View
still...the error logged like
2015-10-30 15:20:29,107
Global [(null)]
>> /CTAS/Web.UI/master/syschitregistrationdetails.aspx?at=n&sm=12
System.InvalidOperationException: Could not find an event named 'ddlPeriodCode_SelectedIndexChanged' on associated control 'ddlPeriodCode' for the trigger in UpdatePanel 'UpdatePanel1'.
at System.Web.UI.AsyncPostBackTrigger.Initialize()
at System.Web.UI.UpdatePanelTriggerCollection.Initialize()
at System.Web.UI.UpdatePanel.Initialize()
at System.Web.UI.UpdatePanel.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
User-11630313
30-Oct-15 5:23am
View
no man i had it in my code behind...
User-11630313
30-Oct-15 5:01am
View
thankyou for your patince...i used it but run time error genarating
System.InvalidOperationException: Could not find an event named 'ddlPeriodCode_SelectedIndexChanged' on associated control 'ddlPeriodCode' for the trigger in UpdatePanel 'UpdatePanel1'.
User-11630313
30-Oct-15 4:13am
View
hmmm..but in my cc1 propertys does not show updatepanel
User-11630313
30-Oct-15 3:55am
View
here "cc1" is AjaxControlToolkit tagprefix...
User-11630313
30-Oct-15 3:47am
View
<tr> <td class="caption">
Chit Period Code:
<asp:DropDownList ID="ddlPeriodCode" runat="server" CssClass="userentry">
<cc1:CascadingDropDown ID="cdlChitPeriod" TargetControlID="ddlPeriodCode" PromptText="Select Chit Period"
ServicePath="~/CasCadingDropDown.asmx" ServiceMethod="GetChitPeriodCode" runat="server"
Category="PrdCode" LoadingText="Loading..." UseContextKey="true" />
</td></tr>
<tr>
<td class="caption">
Maximum Discount:
<asp:updatepanel id="UpdatePanel1" runat="server">
<asp:TextBox ID="txtMaxDiscount" runat="server" CssClass="userentry">
<asp:asyncpostbacktrigger controlid="ddlPeriodCode" eventname="ddlPeriodCode_SelectedIndexChanged" />
</td>
</tr>
User-11630313
30-Oct-15 3:41am
View
hi..thanks for replay...i tried what your posted but some errors occured like
Error 3type 'System.Web.UI.UpdatePanel' does not have a public property named 'TextBox' and
User-11630313
27-Oct-15 6:05am
View
thank you for replying...i need set the textbox data from database with out postback is it possible?
User-11630313
20-Oct-15 8:38am
View
I think the questioner wants add multiple columns and it display in grid textbox....so here concatenation needed i think.......
User-11630313
12-Oct-15 1:59am
View
yes..i provided parameter..when i use query in place of sp its works good..
User-11630313
9-Oct-15 8:50am
View
not loading..just displaying Method error 500
User-11630313
9-Oct-15 8:46am
View
thank you for responding..when i select state drop down the district drop down filled with the error..Method Error 500
User-11630313
7-Oct-15 2:41am
View
at the time of data retrieval the states are not loading...cascading drop down not loading in page load event
User-11630313
6-Oct-15 1:56am
View
i tried it but not working..
User-11630313
5-Oct-15 9:11am
View
k.and thank you
User-11630313
5-Oct-15 8:28am
View
Deleted
web service code is...
(Code moved to question)
User-11630313
30-Sep-15 7:52am
View
thank you...@RyanDev your answer is simple and super
User-11630313
29-Sep-15 5:16am
View
u r right...thnk uuuuu
User-11630313
28-Sep-15 7:47am
View
hello @F-ES Sitecore...i want to disable all the controls in the table that`s why i called disabling
thank you....
User-11630313
28-Sep-15 7:43am
View
thank you for responding......i tried it but not worked for me..the table id still not showing in code behind..my html code is
<table class="post" width="800pt" id="tblGrpReg">
<tr>
<td class="title">
Group Registration Details
</td>
</tr>
<tr>
<td class="entry">
<table border="0" style="width: 100%" runat="server" >
<tr>
<td class="caption">
Associated Branch:
<asp:DropDownList ID="ddlBranch" runat="server" CssClass="userentry">
</td>
<td class="caption">
Chit Period Code:
<asp:DropDownList ID="ddlPeriodCode" runat="server" CssClass="userentry" OnSelectedIndexChanged="ddlPeriodCode_SelectedIndexChanged"
AutoPostBack="true">
</td>
</tr>
<tr>
<td class="caption" style="width: 50%">
Chit Value:
<asp:DropDownList ID="ddlValuecode" runat="server" CssClass="userentry" AutoPostBack="true"
OnSelectedIndexChanged="ddlValuecode_SelectedIndexChanged">
</td>
<td class="caption" style="width: 50%">
<table border="0" style="width: 100%">
<tr>
<td class="caption" style="width: 50%">
Company Chit:
<asp:DropDownList ID="ddlCompanyChit" runat="server" CssClass="userentry">
<asp:ListItem>
<asp:ListItem Text="Yes" Value="True">
<asp:ListItem Text="No" Value="False">
</td>
<td class="caption" style="width: 50%">
Ticket Number:
<asp:TextBox ID="txtTcktNum" runat="server" CssClass="userentry" ReadOnly="true">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="caption">
PSO Number:
<asp:TextBox ID="txtByLawNumber" runat="server" CssClass="userentry">
</td>
<td class="caption">
Registration Date:
<asp:TextBox ID="txtRgDate" CssClass="userentry" runat="server">
<cc1:CalendarExtender ID="calDob" runat="server" TargetControlID="txtRgDate" Format="dd-MM-yyyy">
</td>
</tr>
<tr>
<td class="caption">
Maximum Discount:
<asp:TextBox ID="txtMaxDiscount" runat="server" CssClass="userentry">
</td>
<td class="caption" style="width: 50%">
Active:
<asp:DropDownLis
User-11630313
21-Sep-15 7:13am
View
thank you...naveen sangasetti
User-11630313
18-Sep-15 3:05am
View
thank you so much its works fine...you are superb!!
User-11630313
18-Sep-15 2:37am
View
thank you @DamithSL....is there any possible way to avoid error logging to stylesheets in web application?
User-11630313
12-Sep-15 6:39am
View
what will i do to solve my problem...please explain @OriginalGriff
User-11630313
12-Sep-15 5:55am
View
if in case database error occurred it does not go to catch block it directly go to final block and returns true..if i did any mistake pls explain clearly
User-11630313
7-Sep-15 6:53am
View
thank you..........
User-11630313
7-Sep-15 2:35am
View
sorry dude...my code is
<script type="text/javascript" language="javascript">
function datecalculate() {
var datefield = $find("<%= calCommenceDate.ClientID %>").get_selectedDate();
var prdduration = document.getElementById('<%= ddlPeriodCode.ClientID %>');
var duration =prdduration.options[prdduration.selectedIndex].text;
var mnths=duration.substring(0,2);
var res=new Date(new Date(datefield).setMonth(datefield.getMonth()+ parseInt(mnths)));
document.getElementById('<%= txtTerminateDate.ClientID %>').value=res;
}
</script>
this is works fine but the date format is not convenient for me...how to change the date format into dd-mm-yyyy..
thank you....
User-11630313
5-Sep-15 8:32am
View
its not working good...
User-11630313
21-Aug-15 4:26am
View
Removed code from comment
User-11630313
21-Aug-15 4:01am
View
i tried pg_dump in different ways but syntax error occurs at the beginning of query "pg_dump" i don't understood why the error occurs?
anyway thanqqq for responding...@Shekhar
User-11630313
11-Aug-15 2:37am
View
i need to show id to client...and the id was created in specific format using date...postgresql
User-11630313
24-Jul-15 2:04am
View
thankyou.....Mr Maciej Los please can you tell me how to assign split data to textboxs
User-11630313
26-Jun-15 3:59am
View
thank you.....shekhar
User-11630313
26-Jun-15 3:49am
View
generate a sequence with the date and it will be automatically reset the next day
User-11630313
26-Jun-15 3:44am
View
no i am using PostgreSql only....
User-11630313
5-May-15 6:49am
View
thankq dudes..
Show More