15,902,634 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 Dnyaneshwar Kondbale (Top 38 by date)
Dnyaneshwar Kondbale
6-Feb-14 2:24am
View
no thats not issue.. I jst want to know you defined Type M3 in your Database , so at the time time of M3 defination you write like a as varchar(30).. n all.. I think issue you get is in M3 defination and value passed for the M3.
Dnyaneshwar Kondbale
6-Feb-14 2:10am
View
@slno and @OrderNo you defined as nvarchar(255), kindly check the length of the both it may be more than 255 ,or you defined M3 as type on your database kindly check the value pass for M3 having more length more than you defined.
" String or binary data would be truncated " Error occured when you try to pass or assing value
to some parameter with more than length defined for that parameter.
Dnyaneshwar Kondbale
6-Feb-14 1:54am
View
Yes, Its depends on your requirement.. You can use while Loop as well as you can try TVP(Table Value Parameter) in SQL Server 2008.to Avoid looping must go with TVP.
Dnyaneshwar Kondbale
6-Feb-14 1:45am
View
Try this,
Just Define your DropDownlist as AutoPostBack = True and try to call SelectedIndexChange event of dropdownList. and simply call your "GridQueryDatabind()" or DoGridQuery() function on SelectedIndexChange event.
Dnyaneshwar Kondbale
16-Jul-13 1:02am
View
Dear Johnny,
Thanks. But I want to increase "MaxScriptStatements" this in IE8, and client don't want to do manual setting. He want to do though our application itself.
He want solution though application only "http://support.microsoft.com/kb/175500"
Dnyaneshwar Kondbale
18-Apr-13 7:37am
View
Please provide Sample data and more information.
Dnyaneshwar Kondbale
18-Apr-13 7:31am
View
Can you please provide the sample data and structure of the table.
Dnyaneshwar Kondbale
18-Apr-13 7:29am
View
Try this .. I thing its help you..
from STUDENT_CRpt s,STUDENT_DTL_Crpt d where s.Stu_ID=d.Stu_ID and s.Class=d.Class
group by s.Stu_Name,s.Class,d.Address,d.Gender,s.Subject,s.Marks order by Class
select s.Stu_Name,s.Class,s.Marks,s.Subject ,d.Gender,d.Address, M.Marks as 'Highest Marks'
from STUDENT_CRpt s,STUDENT_DTL_Crpt d,(select MAX(Marks) as Marks,Subject,Class,Sty_Name from STUDENT_CRpt group by Subject,Class,Sty_Name)
M where s.Stu_ID=d.Stu_ID and s.Class=d.Class and m.Subject=s.Subject and s.Class=m.Class and s.Sty_Name=m.Sty_Name
Dnyaneshwar Kondbale
18-Apr-13 7:12am
View
K Means you want to change the caption of button at run time,
Then if you click on Edit button Set button text property to Update and in page load you can set it Edit.
try smiler ways.
Dnyaneshwar Kondbale
18-Apr-13 7:03am
View
If you retrieving the data from SQL server 2008 ,
Then try below.
select * from TableName where datename(dw,DateColumn)='Friday'
Dnyaneshwar Kondbale
18-Apr-13 6:57am
View
Hey you want list all students marks with their class ,subject and adress,gender.
Or you want Highest mark of student.
Or You want Class,subject,Highest Mark,and Student name and address whose get highest mark
Please clear If I am wrong.
Dnyaneshwar Kondbale
17-Apr-13 8:37am
View
Instead of writing com.ExecuteNonQuery() use data reader or data set.for fetching the record
Dnyaneshwar Kondbale
17-Apr-13 8:26am
View
As per above comment add one dummy button with ID=btnDummy
set this button as Target contrl id for animation extender then
write code line
btnDummy.click();
after the line
this.ModalPopupExtender1.Show();
Dnyaneshwar Kondbale
17-Apr-13 8:22am
View
Try to check email ID is present in table or not, before inserting it into data base.
using select query if record is found then restrict to the user by showing the message.
Dnyaneshwar Kondbale
17-Apr-13 8:16am
View
Show_button_click is it method??
Dnyaneshwar Kondbale
17-Apr-13 8:10am
View
I am sorry if I doing any mistake, Is this comment for me @OriginalGriff .
Dnyaneshwar Kondbale
17-Apr-13 8:05am
View
Add one dummy button which is Link as Target control ID for animation extender ..
In "Show_Button_click" method call for dummy button click .
Dnyaneshwar Kondbale
17-Apr-13 7:56am
View
If you have save Booking entry in data base then check count of transaction in date range
before inserting the record in database.
Hope its Help You :)
Dnyaneshwar Kondbale
17-Apr-13 6:56am
View
srry its dnyaneshwar17@gmail.com
dnyanesh.k@hotmail.com
Dnyaneshwar Kondbale
17-Apr-13 6:23am
View
Yup like
<asp:AsyncPostBackTrigger ControlID="btnUpload" EventName="Click" />
and its work for you..
Dnyaneshwar Kondbale
17-Apr-13 6:20am
View
are You adding tigers for update panel.???
Dnyaneshwar Kondbale
17-Apr-13 6:18am
View
In BindEmployeeDetails1() function you write a query
OleDbCommand cmd = new OleDbCommand("Select u.U_id ,u.U_name, u.U_Email,s.ImageName ,s.Description,s.CategoryName,s.ADshop_name,s.ADShop_Address,s.ADshop_city,s.ADshop_mob,s.ADshop_Email,s.AreaName,s.startdate,s.enddate,s.ImagePath,s.diffrence from LOGIN u ,SlideShowTable1 s where u.U_id=s.U_id", con);
In above select Query you checked u.U_id=s.U_id, I thing its causes problem.
instead of cross join try left outer join
Dnyaneshwar Kondbale
17-Apr-13 6:14am
View
You try to check
where u.U_id=s.U_id
Here S.U_Id is in SlideShowTable1 table.Try to debug the code you get a solution.
Please correct me if I am wrong.
Dnyaneshwar Kondbale
17-Apr-13 6:11am
View
You Can try to Save data first and after the completing of this cycle in same function you can write code for printing the ticket.
Dnyaneshwar Kondbale
17-Apr-13 6:04am
View
Use Update panel for the same. put grid view in update panel and update mode is conditional.
Dnyaneshwar Kondbale
17-Apr-13 5:58am
View
are you trying to do something?
are you write code for printing ?
Dnyaneshwar Kondbale
17-Apr-13 5:54am
View
I checked the code Please debug and check at the time of inserting value in SlideShowTable1 what is U_ID.???
Dnyaneshwar Kondbale
17-Apr-13 5:51am
View
Can you explain in detail..
What problem you facing ..
Dnyaneshwar Kondbale
17-Apr-13 5:47am
View
Try the Following line of code insted of your code m just changing where condition.
SqlCommand cmd = new SqlCommand("Select distinct Branch from Userinfo where User_name ='"+ Session["userName"].ToString()+"'",con);
Hope you can Get IT .. :)
Dnyaneshwar Kondbale
17-Apr-13 5:28am
View
After the checked your code I found the below things..
In your SlideShowTable1 table U_id is Identity or What?
If its Identity then How can you join on table LOGIN u and SlideShowTable1 s where u.U_id=s.U_id.
can you show me the Database structure.
Correct me if I am wrong , :)
Dnyaneshwar Kondbale
17-Apr-13 4:53am
View
Yes Why not....
Please share your code in Google docs My email Id is dnyanehswar17@gmail.com
Dnyaneshwar
Dnyaneshwar Kondbale
17-Apr-13 3:28am
View
First Thing check the
int result = cmd.ExecuteNonQuery(); in rotected void Activate_Click(object sender, EventArgs e) is working fine
after that check da.Fill(ds); return what in protected void BindEmployeeDetails1() methode.
Dnyaneshwar Kondbale
16-Apr-13 4:57am
View
Can u explain in Brief...
:)
Dnyaneshwar Kondbale
12-Apr-13 3:43am
View
select DATEADD(dd, 0, DATEDIFF(dd, 0,SubmittedOn)) as WorkingDate,DATENAME(dw, SubmittedOn) as DaName,
ClientID,EmployeeID
from dbo.tblEmployeeTimeCards where
and convert(Datetime,convert(char(10),SubmittedOn,103),103) between convert(Datetime,convert(char(10),@From,103),103) AND convert(Datetime,convert(char(10),@To,103),103)
Dnyaneshwar Kondbale
29-Mar-13 7:36am
View
Hii Satya,
Here In dataset there is only one table as you say.
Then Ds.Table.count must return table count i.e. 1 the Count property return the count of table i.e. 1 and its not return the index of table i.e. 0.
There is diff between Index and count.
0 is index and 1 is count in above condition.
:)
Dnyaneshwar Kondbale
29-Mar-13 7:19am
View
I think you try to give full access to the directory "D:/Share/photo1"
Dnyaneshwar Kondbale
29-Mar-13 7:15am
View
Reffer the below link you get the details of report wizard,
http://www.c-sharpcorner.com/uploadfile/john_charles/report-wizard-in-visual-studio-2008/
Dnyaneshwar Kondbale
29-Mar-13 6:57am
View
Actully ds.Tables.count is check the no of table present in DataSet, If In my DataSet there is 0 table present(means DataSet is null) then How can we perform the operation like Rows.count on Table which is at 0 position,
In ds.Tables.count > 0 line we check how many tables if it is greater than zero does not mean We need to check Ds.Tables[1] its always start from Ds.Tables[0].
:)
Show More