15,997,856 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 .NET 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 10891595 (Top 54 by date)
Member 10891595
31-Jan-17 5:50am
View
thanks a lot mr suvendu shekhar may i know can we do some modication of their dropdown?
Member 10891595
31-Jan-17 4:06am
View
Mr. Suvendu Shekhar Giri i have already mention that the changable data is dynamic.
if it is static then i can easily maintain, but it is dynamic
Member 10891595
17-Aug-15 7:48am
View
yes data adaptor play role between datasource and datatable it is used in offline mode
Member 10891595
17-Aug-15 7:11am
View
dear sir i am not aware about sqlbulk insert can you pls clear this to me
so that i can understand.
Member 10891595
17-Aug-15 6:45am
View
Dear sir i got last id that is latest generated via scope identity now what can i do for multiple insert into other table
Member 10891595
17-Aug-15 5:46am
View
can you pls tell me where i am doing mistake because this code only insert one value at a time
please suggest me to right way to do this
i want to create invoice receipt form
Member 10891595
17-Aug-15 5:45am
View
on save button click this code i have written
int lastid;
SqlConnection con = new SqlConnection(strConnString);
SqlCommand cmd = new SqlCommand(strConnString,con);
cmd.CommandText = "sp_insertinvoice";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Clear();
//cmd.Parameters
cmd.Parameters.AddWithValue("@invoice_date", txtDate.Text);
cmd.Parameters.AddWithValue("@Firm_name", txt_frmname.Text.Trim());
cmd.Parameters.AddWithValue("@Regis_id", txt_regno.Text.Trim());
cmd.Parameters.Add("@idcategory", SqlDbType.Int).Direction = ParameterDirection.Output;
cmd.Parameters.AddWithValue("@productname", ((TextBox)gridviewproduct.Rows[0].FindControl("grd_txt_productname")).Text);
cmd.Parameters.AddWithValue("@description", ((TextBox)gridviewproduct.Rows[0].FindControl("grd_txt_description")).Text);
cmd.Parameters.AddWithValue("@qty", ((TextBox)gridviewproduct.Rows[0].FindControl("grd_txt_price")).Text);
cmd.Parameters.AddWithValue("@price", ((TextBox)gridviewproduct.Rows[0].FindControl("grd_txt_price")).Text);
con.Open();
cmd.ExecuteNonQuery();
lastid = Convert.ToInt32(cmd.Parameters["@idcategory"].Value.ToString());
and procedure that i have created is this
ALTER PROCEDURE [dbo].[sp_insertinvoice] (
@invoice_date date,
@firm_name varchar,
@Regis_id varchar,
@idcategory int output,
@productname varchar,
@description varchar,
@qty int,
@price int
)
AS
BEGIN
SET NOCOUNT ON;
INSERT INTO tblInvoiceDetails(invoice_date,Firm_Name,Resigtration_no) VALUES
(@invoice_date,@firm_name,@Regis_id)
SET @idcategory=SCOPE_IDENTITY()
insert into tbl_ProductDetails values(@productname,@description,@qty,@price,@idcategory)
RETURN @idcategory
END
Member 10891595
17-Aug-15 5:14am
View
sorry sir i didnot get you can you pls tell me in details because i am new for sql.
Member 10891595
24-Sep-14 14:22pm
View
but sir i want only data for my display
for eg i want all train number from site and this is not possible to take data manually
Member 10891595
24-Sep-14 14:16pm
View
sry sir but u get me wrong i want to just tell me how to access that data pls dont get it in another way
Member 10891595
24-Sep-14 13:54pm
View
actually i m fresher now and try to do this if i have not permission to access data
Member 10891595
24-Sep-14 13:53pm
View
and if they not provide me the permission then is it possible to get data from their site
Member 10891595
24-Sep-14 13:49pm
View
and also tell me some sample how to do this
Member 10891595
24-Sep-14 13:48pm
View
yes
Member 10891595
5-Sep-14 7:08am
View
this is suitable code for my application in one span but if same fuctionality apply on second span it does not bind data in second span why???/
Member 10891595
5-Sep-14 2:11am
View
pls suggest me via code
but in case of window load is not an event of java script
Member 10891595
4-Sep-14 7:49am
View
and ur code is work for every span but problem is that if i m click on dropdown twice its contenct is append double time how can i prevent it to append again
i want to append hour in first drop down and minute in second drop down
hour in first is 0 to 23 and minute range is 0 to 59
Member 10891595
4-Sep-14 7:24am
View
sir ur code is work well with first span but did not work for second span what can i do
because it is worthless to write fuction again and again for every span
Member 10891595
1-Sep-14 4:02am
View
i am changing the text using doropdown list index change
Member 10891595
1-Sep-14 3:24am
View
can u please tell me what is client side and what is server
if u give me example of both then i can better understand it
Member 10891595
30-Aug-14 0:43am
View
<form id="form1" runat="server">
<header id="header">
CAF-T Home
<div class="HeaderRight">
<div class="Float">
<img src="images/user.png" alt="" />
</div>
<div class="Divi">
</div>
<div class="name">
<asp:Literal ID="litUser" runat="server">
</div>
<div class="Divi">
</div>
<div class="right_icon">
<img src="images/details.png" alt="" />
</div>
</div>
</header>
i have above code in which i have id header "CAF-T" i want to change this
Member 10891595
21-Aug-14 4:49am
View
i mean that i want to chek a strin like "abc " with a column value in one time which contain
abc,pqr,and many other string
not in loop
Member 10891595
20-Aug-14 3:07am
View
i use window application and after getting column name now i want whole value that is associated with get column
Member 10891595
18-Aug-14 3:44am
View
do u run this query in ur pc pls run it first on ur pc then tell me
Member 10891595
18-Aug-14 1:25am
View
okkkkk then tell me what keyword we will use in postgres database at the place of the INSTR in mysql
Member 10891595
14-Aug-14 2:17am
View
i want to check the table that are present in database or not this query return me boolan value
so i can use this boolean value in if -else control
Member 10891595
13-Aug-14 6:03am
View
what happen dear this query is not run at postgres database
Member 10891595
8-Aug-14 7:39am
View
it have a error in following line
text += item.Row.Field(0) + ", ";
Member 10891595
8-Aug-14 6:28am
View
yes sir i have two checklist box in first checklistbox1 i have some items(like fullname,address etc) in it same for the checklistbox2 i have some item(like f_name,l_name)
now i want a functionality that when i m click on fullname in checklistbox1 it can be split into fname and l_name item in checklistbox2
i hope u understand my question???????
Member 10891595
8-Aug-14 6:07am
View
sir i m a fresher now and start to learn .net
dear sir i have checklistbox and have more than one item in that checklistbox
now i want to check(select) more than one item in the checklistbox and provide the some condition on that when i finish checking
Member 10891595
24-Jul-14 7:46am
View
any type of format
Member 10891595
19-Jul-14 1:19am
View
any body here????
Member 10891595
18-Jul-14 7:05am
View
by this link this split the string on the basis of , ;and giving condition but i want to split them according artificial intelligence means automatically haryana goes into state database
Member 10891595
18-Jul-14 6:26am
View
sry i did not get u
Member 10891595
18-Jul-14 6:19am
View
whole address is in string format for example address is like
Lepton maps,570,udhyog vihar,phase-5,gurgaon,haryana-122016
i want to filter like
company name ---leptonmaps
plot no.-570
locality udhyog vihar
city gurgaon
state haryana
pincode 122016
Member 10891595
15-Jul-14 4:37am
View
thnks sir
Member 10891595
14-Jul-14 0:57am
View
thanks a lot
i have done it
Member 10891595
11-Jul-14 7:47am
View
what is correct form of this sql pls suggest me
Member 10891595
11-Jul-14 7:22am
View
pls sir help me
Member 10891595
11-Jul-14 7:15am
View
if this have no meaning of double quotes then how i use this string value in following query
dt = obj.GetDataTable("SELECT * from mobilesubscriberdata1 where m_date="+"'n'");
because i have an error when i using this above type pls suggest me for what type of modification required in above query.
Member 10891595
11-Jul-14 7:07am
View
what happen sir is there is any solution ;
Member 10891595
11-Jul-14 6:58am
View
yes
Member 10891595
11-Jul-14 6:30am
View
thnks a lot for help me
Member 10891595
4-Jul-14 2:26am
View
no software means sir he have not VS2012 but he have window Os so how can he run my .exe on him machine
Member 10891595
4-Jul-14 2:09am
View
yes sir on even OS
Member 10891595
1-Jul-14 0:17am
View
suppose we have 5 coloum in datagrid and we have lots of manipulation on column data(like remove space,remove special symbol etc).now i want to revert back only one step that i have made last. how it is possible pls help me
Member 10891595
30-Jun-14 23:55pm
View
but sir i want revert back only one step ???? how it is possible??
Member 10891595
25-Jun-14 7:46am
View
but this application is not web based it is window based application sir
Member 10891595
25-Jun-14 1:23am
View
if (e.ColumnIndex == 5 && e.RowIndex != -1)
{
DataGridViewCheckBoxCell chk1 = griddatacleaning.Rows[e.RowIndex].Cells["copyfield"] as DataGridViewCheckBoxCell;
if (chk1.EditedFormattedValue.ToString() == "True")
{
Removedata data = new Removedata();
data.ShowDialog();
string text = data.txtremove;
string fieldname = griddatacleaning.Rows[e.RowIndex].Cells["field_name"].Value.ToString();
for (int a = 0; a < DGrid1.Rows.Count - 1; a++)
{
string val = DGrid1.Rows[a].Cells["new_" + fieldname.ToLower()].Value.ToString();
if (val.Contains(text))
{
DGrid1.Rows[a].Cells["new_" + fieldname.ToLower()].Value = val.Replace(text, string.Empty);
DGrid1.Refresh();
}
}
}
else
{
MessageBox.Show("First Check the Copy Field Column to Edit entire Column");
}
}
Member 10891595
23-Jun-14 23:50pm
View
ComException was unhandeled
Excel cannot open the file 'cleaning_data.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.
Member 10891595
18-Jun-14 23:29pm
View
dear sir when i m applying ur code in my project i m getting following error pls provide me the exact solution for this
Excel cannot open the file 'Test Input.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.
Member 10891595
18-Jun-14 5:40am
View
pls sir give me the exact solution of my problem
Member 10891595
18-Jun-14 4:43am
View
sry sir i can not get it is there are any other way for this
Member 10891595
18-Jun-14 4:42am
View
pls eleborate this sir
Show More