15,898,222 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 8233601 (Top 79 by date)
Member 8233601
10-Jan-14 8:26am
View
could you please suggest any solution to achieve this functionality.
Member 8233601
7-Nov-13 8:46am
View
is it possible to get rowindex on right click of datagrid cell
Member 8233601
7-Nov-13 7:47am
View
undefined object
Member 8233601
7-Nov-13 7:45am
View
already tried this but wont work.please tell how could i get rowindex on right click of any cell of datagrid
Member 8233601
7-Nov-13 5:27am
View
please help me out i am in big trouble
Member 8233601
7-Nov-13 5:26am
View
Deleted
<asp:GridView ID="Grd_Stock" ForeColor="Black" PagerStyle-CssClass="PagerStyle" runat="server"
RowStyle-CssClass="RowStyle" AllowSorting="true" GridLines="None" CssClass="GridViewStyle jk"
AlternatingRowStyle-CssClass="AltRowStyle" AutoGenerateColumns="False" AllowPaging="true"
PageSize="50" OnPageIndexChanging="Grd_Stock_PageIndexChanging" ShowFooter="false"
OnRowCreated="gvHover_RowCreated" Width="1232px" PagerStyle-HorizontalAlign="Center"
OnSorting="Grd_Stock_Sorting" OnRowDataBound="Grd_Stock_RowDataBound">
<PagerSettings Mode="NumericFirstLast" Position="TopAndBottom" PageButtonCount="4"
FirstPageText="First" LastPageText="Last" />
<emptydatatemplate>
<div class="grdempt">
No Record Found...</div>
<columns>
<asp:TemplateField HeaderText="Creation Date" SortExpression="creation_date">
<itemtemplate>
<asp:Label Width="133px" Text='<%#dat_format_ddmmyy(Eval("creation_date") )%>' ToolTip="Createion Date"
ID="txt_product_name" runat="server">
<itemstyle width="200px">
<HeaderStyle Font-Bold="true" />
<asp:TemplateField HeaderText="Cust Name" SortExpression="lead_name">
<itemtemplate>
<asp:LinkButton ID="lbtn_name" Width="200px" CssClass="grdlinkbtn" runat="server"
OnClick="lbtn_name_click" Text='<%#Eval("lead_name") %>' CausesValidation="false" >
<asp:HiddenField ID="hd_lead_code" Value='<%#Eval("lead_code") %>' runat="server" />
<itemstyle width="200px">
<HeaderStyle Font-Bold="true" />
<asp:TemplateField HeaderText="Agent Name" SortExpression="created_by_name">
<itemtemplate>
<asp:Label ID="txt_company" Text='<%#Eval("created_by_name") %>' runat="server" Width="200px">
<itemstyle width="200px">
<HeaderStyle Font-Bold="true" />
<asp:TemplateField HeaderText="Lead Rating" SortExpression="lead_rating_desc">
<itemtemplate>
<asp:Label ID="lbl_rating" Text='<%#Eval("lead_rating_desc") %>' runat="server" Width="50px">
<itemstyle width="200px">
Member 8233601
24-Oct-13 6:15am
View
hours1 and hours2 is just an example, may be more than five hours be there and i am summing up all that hours. i just want to convert 18.83 into 18.50
Member 8233601
22-Oct-13 4:18am
View
i need it in crystalreport.please provide me any solution how to do it in crystal report
Member 8233601
20-Jun-13 0:56am
View
problem is onload of form combo1.selectedindexchanged get fired after combo1.datasource=ds.table[0]
Member 8233601
18-Jun-13 3:23am
View
5+
Member 8233601
3-Jun-13 2:20am
View
OnClientClick="return getpid()"
Member 8233601
3-Jun-13 2:04am
View
thnx
Member 8233601
1-Jun-13 12:09pm
View
can we create instance in static method?????
Member 8233601
29-May-13 9:14am
View
<div id='MSGd' style="display:none" class="topline bottomline leftline rightline centered">
Member 8233601
29-May-13 8:52am
View
it's not working.
ok sir let know is it possible to achiev ethis using web method
Member 8233601
29-May-13 8:39am
View
no there is no error but div still hides after event
Member 8233601
29-May-13 8:30am
View
still problem continues..
Member 8233601
29-May-13 8:25am
View
so their is no need to call onclientclick
Member 8233601
29-May-13 8:24am
View
Deleted
so their id no need to call onclientclick
Member 8233601
29-May-13 8:02am
View
no sir need just opposite of this
after coming back from event i need to show this div
Member 8233601
29-May-13 7:27am
View
sir onclientside event took first and then server side event occur. hows is possible
Member 8233601
29-May-13 6:48am
View
end of this event
Member 8233601
29-May-13 6:35am
View
Page.RegisterStartupScript("OnLoad", "<script>Divshow();</script>");
function Divshow()
{
document.getElementById('MSGd').style.display = "block";
}
bt it's not working
please suggest me any solution i m need
Member 8233601
21-May-13 1:32am
View
Hi,john i got the answer.
you are right we have to mention the else condition.
thanx a lot....
Member 8233601
20-May-13 8:02am
View
still i am getting this error
Object reference not set to an instance of an object.
Member 8233601
20-May-13 7:43am
View
actually i want to do something like this
Declare @result tinyint
@result=delete from OPDPatient where REGNO=@PID
if(@result>0)
@result=delete from OPDPatient where REGNO=@PID
please help me by providing this type of solution
Member 8233601
20-May-13 7:37am
View
so what should i pass if frmdate =""
Member 8233601
20-May-13 7:10am
View
As you can see i already initialise all the input parameters in my stored procedure. so if frmdate="" it will automatically initialised by default value declared in sp.
Member 8233601
20-May-13 2:40am
View
I have corrected this mistake but still i am getting the same error
Member 8233601
21-Mar-13 12:07pm
View
could you please elaborate your solution
Member 8233601
21-Mar-13 12:06pm
View
i want to do only for my knowledge. I know this is not a reliable way to distribute the software. please provide any solution.....
Member 8233601
28-Jan-13 6:42am
View
ok leave i solve this problem
can u tell how to make string like this 20,30,40 from arr[20,30,40] i.e my arraylist contain 3 or 4 elements and i want to make sting out of it. I try it like this
foreach(string h in arr)
{
labl += h+",";
}
it come out with result like this 20,30,40,
Member 8233601
28-Jan-13 6:37am
View
my arraylist is populated at the runtime...
Member 8233601
28-Nov-12 7:02am
View
where should my exe file..
Member 8233601
20-Sep-12 3:11am
View
plz help with code i am unable ti find solution...
Member 8233601
18-Sep-12 1:23am
View
will u plz eloborate....
Member 8233601
25-Aug-12 5:57am
View
i am using acess 2003 database so provide me connction string for that..
Member 8233601
24-Aug-12 6:22am
View
thnx...
Member 8233601
24-Aug-12 3:19am
View
I USED THE FOLLOWING CODE IT WORKS FINE BUT NUMS LOCK WORK FOR ONLE ONCE i.e if my nums lock is off IT SHOW NUMS IS OFF BUT AFTER THAR IT SHOWS THE SAME STATUS
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if ((e.KeyCode & Keys.KeyCode) == Keys.CapsLock)
{
if (Control.IsKeyLocked(Keys.CapsLock))
this.toolStripStatusLabel3.Text = "Caps is activated.";
else
this.toolStripStatusLabel3.Text = "Caps is Deactivated.";
}
else if ((e.KeyCode & Keys.KeyCode) == Keys.NumLock)
{
if (Control.IsKeyLocked(Keys.NumLock))
this.toolStripStatusLabel5.Text = "NumLock is activated.";
else
this.toolStripStatusLabel5.Text = "NumLock is Deactivated.";
}
}
Member 8233601
23-Aug-12 4:40am
View
thnx a lot..
Member 8233601
23-Aug-12 0:31am
View
my connectionstring is:
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|/furnituredb.mdb");
I put it in bin of my project. now if i give the connection string as you mention
will it work...
Member 8233601
22-Aug-12 1:07am
View
and what if i want to share my application so that everyone of us work on independent form...
Member 8233601
18-Aug-12 4:15am
View
sir i have put my mdb file in debug folder and i am using windows7 which is currently out of service. now plz help me out through each step o solve this prblm..
Member 8233601
9-Aug-12 1:19am
View
how i come to which row to lock because i dont know which id is working at which instance of time. please provide me nay link or somr code if u have...
Member 8233601
9-Aug-12 1:01am
View
sir its fine, but suppose candidate A and candidate B start working at the same time. candidate A work on ID 001 so how can i check that candidate B should not work on ID 001 at that time or any later time. I just want to stop working of multiple candidate on the same id while they are working simultaneously or at any later time
Member 8233601
1-Aug-12 0:55am
View
error is shown in this line:this.ReportViewer1.LocalReport.DataSources.Add(rptDataSource);
Member 8233601
31-Jul-12 0:41am
View
tell me solution boss
Member 8233601
31-Jul-12 0:25am
View
please provide me proper instruction with any practical demo..
Member 8233601
24-Jul-12 3:38am
View
plz provide me code i m in need
Member 8233601
11-Jul-12 7:24am
View
flipcart.com
Member 8233601
11-Jul-12 6:59am
View
Actually it's client requirement to change color of image what ever the texture selected by user at runtime.plz help me i m in need....
Member 8233601
27-Jun-12 8:23am
View
if i set AlawaysCreate to false, i don't think their is any effect on setup.
Member 8233601
14-Jun-12 8:58am
View
can u plz tell me step by step procedure...
Member 8233601
4-Jun-12 2:06am
View
when i right click on demo reference it shows two option:Add Reference and Add service reference
Member 8233601
7-May-12 3:15am
View
hello rahul sorry to embarrass you actually i am new in this field so can you please tell me step by step procedure to create this trail version...
Member 8233601
7-May-12 1:05am
View
OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Soure=|DataDirectory|/Schooldb.mdb");
Member 8233601
5-May-12 9:25am
View
i made it but still it not work..
Member 8233601
25-Apr-12 1:21am
View
i have problm in retriving img from database..
Member 8233601
20-Apr-12 3:16am
View
can u tell me how to make a single column of girdview readonly.
Member 8233601
18-Apr-12 8:50am
View
can u plz tell me what visual web developer.is it part of visual studio 2010 or we have to download it seperately?
Member 8233601
18-Apr-12 1:47am
View
In my Database(Schooldb) i have a table named ClassReg with columns ID(pk),Subject,Class_name,Section,Start_time,End_time.I jst wna show subjects for that particular class and section within a pannel in winform of visual studio 2008....
Member 8233601
17-Apr-12 3:03am
View
its work fine we cannot made multiple changes
Member 8233601
17-Apr-12 1:41am
View
thanks 4 every thing...
Member 8233601
17-Apr-12 1:12am
View
plz provide me proper code.
Member 8233601
17-Apr-12 1:07am
View
its not working...still the same error..
Member 8233601
17-Apr-12 1:07am
View
plz provide me code i m in need...
Member 8233601
16-Apr-12 8:05am
View
plz tell me complete procedure..
Member 8233601
16-Apr-12 8:05am
View
no
Member 8233601
16-Apr-12 6:22am
View
I am getting this error:
Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
Member 8233601
16-Apr-12 6:15am
View
right now i m using ti code:
private void Teacher_Routine_Load(object sender, EventArgs e)
{
OleDbDataAdapter adpt = new OleDbDataAdapter("select * from ClassAdmin Order by Class_name", conn);
OleDbCommandBuilder cbld = new OleDbCommandBuilder(adpt);
conn.Open();
adpt.Fill(ds);
dataGridView1.DataSource = ds.Tables[0];
//conn.Close();
}
private void button1_Click(object sender, EventArgs e)
{
adpt.Update(ds);
}
Member 8233601
10-Apr-12 3:31am
View
I am using this code to load pictureBox1 on Button2_click event:
try
{
OpenFileDialog of = new OpenFileDialog();
DialogResult d = of.ShowDialog();
of.Filter = "Image Files(*.jpg; *.jpeg; *.gif; *.bmp)|*.jpg; *.jpeg; *.gif; *.bmp";
if (d == DialogResult.OK)
{
pictureBox1.BackgroundImage = Image.FromFile(of.FileName);
imaeg = of.FileName;
}
}
catch (Exception ex)
{
MessageBox.Show("upload only jpg image!!");
}
}
On save_click button event:
OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= |DataDirectory|/Schooldb.mdb");
OleDbCommand cmd = new OleDbCommand("insert into Student values(@Myimage)",conn);
cmd.Parameters.AddWithValue("@Myimage", imaeg);
}
My image get saved as Long Binary Data in Access2003 database.On login page i want to show image in picurebox on show_click event.
plz rply as soon as possible!!
Member 8233601
9-Apr-12 1:33am
View
i need it for windows application
Member 8233601
6-Apr-12 2:37am
View
while establishing connection with local database(.sdf) i am getting this error:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
plz help..
Member 8233601
6-Apr-12 2:23am
View
how do i create connection with local database(.sdf),i mean connection string
Member 8233601
6-Apr-12 2:18am
View
how do i create connection with local database(.sdf),i mean connection string
Member 8233601
6-Apr-12 2:10am
View
how do i create connection with local database(.sdf)
Member 8233601
6-Apr-12 1:58am
View
connection string for .sdf database
Member 8233601
6-Apr-12 1:47am
View
how would i knw which edition i have?i m working on visual studio 2008 and i dont want to create database on sql server 2005.
Member 8233601
4-Apr-12 8:37am
View
this link is fine but i dont want to create database in any particular drive.its all upto user when he/she instal my application.i need that when my application get install everything will be created at path specified by the user.
Show More