15,897,226 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 balongi (Top 119 by date)
balongi
9-Oct-18 6:47am
View
this not help me ! if you have better opinion then i will appreciate
balongi
28-Aug-18 6:17am
View
it should give output like this
https://www.taxmann.com/Tax-Calculator.aspx
balongi
28-Aug-18 5:08am
View
declare @gross int, @rangestart int, @percantage int
set @gross =500000
select @rangestart=rangestart, @percentage =percantage from taxslab where year ='2018'
declare @taxamount int
set @taxamount =(@gross-@rangestart)*@percantage/100)
select @taxamount
but it not giving right figure as per online calcutaor of income tax site
balongi
28-Aug-18 5:08am
View
declare @gross int, @rangestart int, @percantage int
set @gross =500000
select @rangestart=rangestart, @percentage =percantage from taxslab where year ='2018'
declare @taxamount int
set @taxamount =(@gross-@rangestart)*@percantage/100)
select @taxamount
but it not giving right figure as per online calcutaor of income tax site
balongi
28-Aug-18 5:07am
View
declare @gross int, @rangestart int, @percantage int
set @gross =500000
select @rangestart=rangestart, @percentage =percantage from taxslab where year ='2018'
declare @taxamount int
set @taxamount =(@gross-@rangestart)*@percantage/100)
select @taxamount
but it not giving right figure as per online calcutaor of income tax site
balongi
30-Jan-16 0:56am
View
no thanks
balongi
30-Jan-16 0:15am
View
this is function made in visual basic, so please convert into sql function
balongi
23-Feb-15 4:48am
View
bind with null as datasource
balongi
7-Feb-14 4:24am
View
Deleted
count each length of a string after line break, save the data with length, when you want to display later get the length from database so that you know where to display line break
balongi
3-Aug-13 3:26am
View
i am testing the web service .. and it say method not found
balongi
29-Jan-13 12:50pm
View
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at _Default.Button2_Click(Object sender, EventArgs e) in d:\project\Arrear\WebSite9\Default.aspx.cs:line 63
that the stack trace
how i overcome this
balongi
29-Jan-13 12:44pm
View
if i execute procedure in sql than it take 3 minute to get the record
balongi
18-Jan-13 8:29am
View
Thanks............
balongi
5-Dec-12 0:09am
View
Hi can you make a custome code for that because i am not aware with syntax please help me on this
balongi
4-Dec-12 12:25pm
View
but if start date is equal to end then i want to change the color for employeename
if i use avobe statement it change the color of startdate
balongi
24-Jul-12 0:34am
View
problem is solved.. actual i need to convert the value .. now its done
balongi
19-Jul-12 4:44am
View
I need indian currency fromat
balongi
14-Jul-12 3:54am
View
I cant change constraint,, can you give me sub query
balongi
21-May-12 0:39am
View
row is visible with data, i want to show only data not row with data. means when i print the report row is also visible
balongi
9-May-12 1:15am
View
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AI" in the equal to operation. error come
balongi
9-May-12 1:15am
View
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AI" in the equal to operation. error come
balongi
9-May-12 1:14am
View
which type of join is best
balongi
5-May-12 1:34am
View
i have to pass one parameter from code behind, how it check that it is serial number or name
balongi
2-May-12 4:29am
View
it say ; missing before statment
Date someDate = new Date("1/1/2011");
.......; missing
balongi
2-May-12 2:35am
View
how it achieve in javascript ?
balongi
17-Apr-12 10:26am
View
if user add number with space than also it acceptable. can you modify according to that. means four number and many space will acceptable
balongi
28-Mar-12 3:12am
View
i am try to ask you that:
if (double.TryParse(s, out d))
{
...
} what code come in this block
balongi
28-Mar-12 1:35am
View
use entering only the numeric value not a string. user can enter 23, or 23.5
but then it giving same error. i want if user enter 23, it automatically add 23.0 to in it. if enter decimal value value need as it.
balongi
28-Mar-12 1:29am
View
what should statement come in first if block. and what is the purpose of out?
balongi
4-Feb-12 6:17am
View
so what the alternative. i have to do it with static
balongi
26-Nov-11 7:51am
View
Please help me on this
balongi
26-Nov-11 7:30am
View
there is + near line 2, i have added select * from in first line and in line 2 i added FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=E:\backup\' + @DataFeed + '', 'select * from [Sheet1$] where area is not null') . but it give Msg 102, Level 15, State 1, Line 2 Incorrect syntax near '+'. error
balongi
26-Nov-11 7:21am
View
there is + near line 2, i have added select * from in first line
and in line 2 i added FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=E:\backup\' + @DataFeed + '', 'select * from [Sheet1$] where area is not null') . but it give Msg 102, Level 15, State 1, Line 2 Incorrect syntax near '+'. error
balongi
26-Nov-11 7:07am
View
it still giving error :
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '+'.
balongi
26-Nov-11 7:07am
View
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '+'.
balongi
30-Sep-11 2:41am
View
thanks :D
balongi
30-Sep-11 2:40am
View
Thanks for post
balongi
30-Sep-11 2:32am
View
thanks for post.. but the session is server site state management. we cannot store data in session in offline Mode.
balongi
6-May-11 5:28am
View
ok thanks
balongi
1-Mar-11 2:37am
View
Ok.. i'll try again thanx for your time
balongi
1-Mar-11 2:22am
View
now! it come to first problem state
balongi
1-Mar-11 2:14am
View
button need two click event for this!..
balongi
1-Mar-11 1:59am
View
the databinding code already in ispostback condition.. but alert run when i click autopostback true of textbox. first time alert show the value for database but when you change the text of textbox then the variable in alert go blank
balongi
1-Mar-11 1:56am
View
can u suggest me javascript function for that!
balongi
1-Mar-11 1:55am
View
Let me check this!!
balongi
28-Feb-11 5:31am
View
By using as your suggestion now, no marker is displayed on map
balongi
28-Feb-11 1:33am
View
ancbusinessurl is anchor tag id
balongi
28-Feb-11 1:28am
View
ancbusinessurl is anchor tag id. when i run my code it display
hello
i want hello come in underline
balongi
15-Feb-11 1:26am
View
What is cdata here
balongi
8-Feb-11 5:19am
View
i use group by businessid but the duplicate businessid come again
balongi
8-Feb-11 4:27am
View
But it will display duplicate businessid and userid
balongi
7-Feb-11 23:48pm
View
i have another quey in case of
select Distinct Businessid, UserId from tblBusinessRatingandReviews
than duplicate businessid also come
balongi
7-Feb-11 23:46pm
View
Deleted
ok i have another quey :
select distinct tblBusinessRatingandReviews.businessid, BusinessLogo,tblBusinesses.BusinessRatingValue,tblBusinesses.BusinessTotalReviews, tblBusinessRatingandReviews.UserId,tblBusinessRatingandReviews.businessratingcreationdate as date, BusinessRatingComment,businessname FROM tblBusinessRatingandReviews inner join tblBusinesses on tblBusinessRatingandReviews.BusinessId = tblBusinesses.BusinessId order by date desc ... it show duplicate id as well
balongi
17-Jan-11 3:44am
View
agian same error come
balongi
30-Dec-10 8:32am
View
if i select one by one item from first dropdowlist then the second dropdownlist become empty.. this is the problme
balongi
21-Dec-10 23:59pm
View
That is for the facebook like button and this post is for facebook comment button
balongi
16-Dec-10 8:51am
View
here lnkprev.commandargument, give value that i reterive in container.data item.. now how i reterive it in eval. please tell
balongi
16-Dec-10 8:51am
View
In code behind the value is come from this code:
if ((LinkButton)sender == lnkNext)
{
lnkPrev.CommandArgument = (PageIndex + 1).ToString();
lnkNext.CommandArgument = ((PageIndex + 1) + DisplayPage).ToString();
}
balongi
15-Dec-10 7:01am
View
after your suggestion i added code, now my textbox is accepting all kind of text where it string or digit. Now Error messeage is not displayng
balongi
15-Dec-10 6:46am
View
If i add function as check(sender,args) , the syntex error is come
balongi
15-Dec-10 6:20am
View
after make change, the eror messege is not displyed:
here is changed code:
function check(sender, args)
{
var pattern=/^[A-Za-z0-9]{10}$/;
var regexp = new RegExp(pattern);
//alert(document.getElementById("ctl00_ContentPlaceHolder1_txtPhoneNumber").value);
if(regexp.test(document.getElementById("ctl00_ctl00_ContentPlaceHolder1_ContentProfile_txtMobileNumber").value))
{
return true;
}
else
{
args.IsValid = false;
}
}
balongi
15-Dec-10 6:02am
View
ok , now how it prevent to enter string.
balongi
15-Dec-10 5:58am
View
i want to show error message when it not match with regular expression. where i make change please tell
balongi
14-Dec-10 8:53am
View
yes, i replace it but same error is display this is my latest procedure:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER procedure [dbo].[recursive]
(
@id int =null,
@studentname varchar(20) =null
)
As
BEGIN
with ProductSearch
As
(
select * from student
)
select * from ProductSearch
if(@studentname is not null and @id is null)
Begin
select * from ProductSearch where studentname =@studentname
end
else if(@studentname is null and @id is not null)
Begin
select * from ProductSearch where id =@id
end
end
balongi
14-Dec-10 8:49am
View
this is my latest procedure
ALTER procedure [dbo].[recursive]
(
@id int =null,
@studentname varchar(20) =null
)
As
BEGIN
with ProductSearch
As
(
select * from student
)
select * from ProductSearch
if(@studentname is not null and @id is null)
Begin
select * from ProductSearch where studentname =@studentname
end
else if(@studentname is null and @id is not null)
Begin
select * from ProductSearch where id =@id
end
end
balongi
14-Dec-10 8:45am
View
it compile successfully but giving error after execution. Yes i replaced it .
balongi
14-Dec-10 8:37am
View
Giving same error.
balongi
14-Dec-10 8:35am
View
i am storing the result of student table in productsearch. the productsearch is not a table
balongi
14-Dec-10 0:51am
View
But if both parameter are not null then it never reach to second parameter because of ('or') condition. it accept first and give result basis of business name , however i put wrong description
balongi
13-Dec-10 3:40am
View
because setlocation function is called on button click which i wriiten on updatepanel
balongi
13-Dec-10 3:40am
View
I dont want 'ispostback' property, is their any alternative
balongi
11-Dec-10 3:23am
View
i beginner for this can you suggest how i use trim function under string class
balongi
11-Dec-10 2:53am
View
Sir i am using this query in asp.net. The result is displayed in datalist if i search for ('manoj admin'), but if user added two spaces between them then datalist dosen't so the record. i need user can supply as manay spaces but the result of query should be generated.
balongi
11-Dec-10 2:45am
View
Please suggest me idea!
balongi
11-Dec-10 2:38am
View
i dont use split, because i have to work with requirement
balongi
11-Dec-10 2:37am
View
SO what is the query, for that user can type as many spaces he want.
balongi
11-Dec-10 2:36am
View
i am reterving it in asp.net using query suggested by you. user can type as many spaces between them.
balongi
11-Dec-10 2:34am
View
it give result if their is on space between ('avinash Admin') if i write ('avinash Adnub') it not work
balongi
11-Dec-10 2:28am
View
Ok i am using these field in search button. if i search for manoj Admin it give result in datalist. the result shown manoj Admin. but if i added two spaces between them it dosent display the record pleze help
balongi
11-Dec-10 2:22am
View
what is the use o ISNULL here ?
balongi
11-Dec-10 2:22am
View
i am using these filed in search button. if i search record for avinash Admin it give avinash admin as result but if i added two spaces between them it dosen't give the output.
balongi
10-Dec-10 9:35am
View
i am using asp.net... but the button control is come through database which is html control
balongi
3-Dec-10 23:46pm
View
my dropdownlist contain langauge like choose--langauge, hindi,punjabi,english
i want if user select chooselangauge item than the validation will come with message that you cannot select choose-langague but if user select hindi, punjabi than it will ok
balongi
9-Oct-10 2:43am
View
thanx it work by your suggestion .. it work now by adding these
if (ds.Tables[0].Rows.Count > 0)
{
return result = Convert.ToString(ds.Tables[0].Rows[0]["password"]);
}
else
{
return result;
}
balongi
9-Oct-10 2:38am
View
how i would check plz suggest i am beginer for asp.net
balongi
9-Oct-10 2:32am
View
i am showing it on label if email does not exist but it not work .. here is code
protected void BtnSubmit_Click(object sender, EventArgs e)
{
if (TextBox1.Text == "")
{
Lblpwd.Text = "wrong mail id";
}
else
{
mydatalayer.DataLayer d1 = new mydatalayer.DataLayer();
d1.forgotpassword(TextBox1.Text);
Lblpwd.Text = "your password is: " + d1.forgotpassword(TextBox1.Text);
}
}
balongi
4-Oct-10 8:23am
View
Yes but i didnt get any help
balongi
4-Oct-10 3:16am
View
Latest :
Create procedure GetFillDropDownList
(
@strFldName varchar(100)
@fldId varchar(100)
@strTableName varchar(100)
)
as
Select " + (IsDistinct == true ? " distinct ": "") @strFldName + ", " + @fldId + " from " + @strTableName + " order by + @strFldName;
Incorrect syntax near '@fldId' eror is come
balongi
4-Oct-10 3:09am
View
if you will make this for me .. then i think i can understand it
balongi
4-Oct-10 3:06am
View
create procedure GetFillDropDownList
(
@strTableName varchar(100),
@strFldName varchar(100),
@fldId varchar(100)
)
as
Select (IsDistinct == true ? distinct : "") + @strFldName + "," + @fldId from @strTableName + order by @strFldName;
i am doing this way
balongi
4-Oct-10 2:31am
View
i'll tryed but procedure have some error when i translate above query into storeprocedure
balongi
4-Oct-10 2:05am
View
can you translate the avobe query into procedure that written in my question
balongi
1-Oct-10 9:11am
View
It start working thanx ..
the thing is that iam not putting adp.fill(ds); thax very much.. Sir
balongi
1-Oct-10 8:53am
View
string s = Lblpwd.Text;
but problem is not solved
balongi
1-Oct-10 8:51am
View
after debugging i found index is out of range error
balongi
1-Oct-10 8:43am
View
But i am giving matching value to it
balongi
1-Oct-10 8:34am
View
But this is not big issue.. plz observe my issue is related to big problem
balongi
1-Oct-10 8:32am
View
Cannot find table 0. this error come
balongi
1-Oct-10 8:20am
View
i give 1. if it found email in database otherwise it return zero but i want password 123
balongi
1-Oct-10 8:11am
View
this error is come after i replaced my coding to your suggestion
Error 1 Cannot apply indexing with [] to an expression of type 'System.Data.DataTable'
balongi
1-Oct-10 8:05am
View
this is not right because it return o or 1 .. if written email is in database it give 1 otherwise zero.. but i want the password.. that is 123 in my database
balongi
30-Sep-10 9:18am
View
i want to make procedure for only qeuery. mehtod is working fine
balongi
29-Sep-10 4:22am
View
ok the loginControls is ok for me but anyhow i want to acoomplish this task through manually .. plz observe my coding and tell that where i am worng for finding password only if email is valid.
balongi
23-Sep-10 9:15am
View
but the issue is not solve.. it return 0 or one insted of the password that was reterive from database..
in database the password is 123..
balongi
15-Sep-10 7:12am
View
ok thanx..
balongi
8-Sep-10 3:44am
View
just i want to know how i get inner content of status to label.
i am doing this:-
label1.text= status.innerhtml
balongi
7-Sep-10 5:14am
View
thanx....
balongi
2-Sep-10 10:06am
View
Thanx for being kind... ;)
balongi
2-Sep-10 8:36am
View
this.address is undefined
error is come after debugg...
balongi
2-Sep-10 8:02am
View
how'll i sort this problem
balongi
2-Sep-10 7:56am
View
can usercontrol.ascs have features of breakpint
balongi
2-Sep-10 7:49am
View
me running it on firefox...the map is not displayed after made changes by me
after clicking go button doesn't happen anything... onclick="showaddress(this.address.value)",returnfalse;"/>
balongi
2-Sep-10 7:47am
View
Deleted
me running on firefox.. the map is not displayin after made changes..
after clickin go button doesn't happen anything
balongi
2-Sep-10 7:05am
View
i'll tryed but its not working............
balongi
31-Aug-10 9:55am
View
:) thanks
balongi
31-Aug-10 9:54am
View
thanks....
balongi
31-Aug-10 9:54am
View
Deleted
Thax...
balongi
20-Aug-10 4:12am
View
ok thax..... Its work!
balongi
20-Aug-10 2:55am
View
i get this error--Unable to cast object of type 'System.Data.DataRowView' to type 'PropertyLayer.cls_student'.
why writing --
if (e.Row.RowType == DataControlRowType.DataRow)
{
LinkButton link = e.Row.FindControl("View") as LinkButton;
link.Attributes["onclick"] = "return popwin(" + ((cls_student)e.Row.DataItem).id + ")";
}
Show More