15,908,015 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 Bhargav.456 (Top 39 by date)
Bhargav.456
25-Jul-13 8:05am
View
Thanks for the reply, I will do much research and only then I will post a question. I know that I dont need to justify anyone.
I dont know why people say that u have not researched anything.
If I ask anything it doesnt mean that I have not searched anything.
If that is the case, then no question should be posted by anyone anywhere.
Anyways thanks for suggestions
Bhargav.456
25-Jul-13 5:10am
View
Thanks for the reply Pheonyx.. I have searched a lot. I got some examples from some sites. But for some concepts, I didnt get. So, if u have any website that has good real time explanation, then suggest me. If not Thanks..
Even in interview also, they are failing to succeed because of having lack of knowledge in using the concepts.
Bhargav.456
25-Jun-13 9:41am
View
Sorry for the comment
Bhargav.456
25-Jun-13 9:39am
View
Okay but i am trying it.. If it doesn't work then i will look for another..
Anyways thanks for ua advice
Bhargav.456
25-Jun-13 9:36am
View
Thanks
Bhargav.456
25-Jun-13 9:30am
View
Hi.. Thanks for the reply..
I have tried in this way..
DELETE tbl1, tbl2 FROM tbl1 INNER JOIN tbl2 ON tbl1.username = tbl2.username WHERE tbl1.username='shiva'
but i am getting error i.e., incorrect syntax near ,
Bhargav.456
29-May-13 4:46am
View
Thank you
Bhargav.456
29-May-13 4:40am
View
Thanks..
Can we use trigger of implement table data..??
Bhargav.456
29-May-13 3:55am
View
Yes.
Bhargav.456
29-May-13 2:03am
View
Thanks..
E.g : If I have an ad under 'Assam', countadvertizment column should be '1'.
At further if I again enter an ad under Assam, it should be '2' (Incremented by 1)
Now, If I have an ad under 'AP', countadvertizment column should be '1'. Again if it is under 'Assam', countadvertizment column must be '3', as I have entered 2 ads under ASSAM.
I want to implement with triggers.Does the above query works??
Bhargav.456
29-May-13 1:51am
View
Thank you..
Bhargav.456
29-May-13 1:44am
View
Thanks..
Actually,I have a column named as 'state' (contains different states e.g Assam, AP, Bangalore etc) based on the state name the column 'countadvertizment' should be incremented by '1'
E.g : If I have an ad under 'Assam', countadvertizment column should be '1'.
At further if I again enter an ad under Assam, it should be '2' (Incremented by 1)
Now, If I have an ad under 'AP', countadvertizment column should be '1'. Again if it is under 'Assam', countadvertizment column must be '3', as I have entered 2 ads under ASSAM.
Hope you got my question. Help me.
Thanks
Bhargav.456
29-May-13 1:42am
View
Thanks.. Actually I have struct with this..
I have a column named as 'state' (contains different states e.g Assam, AP, Bangalore etc) based on the state name the column 'countadvertizment' should be incremented by '1'
E.g : If I have an ad under 'Assam', countadvertizment column should be '1'.
At further if I again enter an ad under Assam, it should be '2' (Incremented by 1)
Now, If I have an ad under 'AP', countadvertizment column should be '1'. Again if it is under 'Assam', countadvertizment column must be '3', as I have entered 2 ads under ASSAM.
Hope you got my question. Help me.
Thanks
Bhargav.456
29-May-13 1:24am
View
Thanks for the reply,
i need case2 pattern.
1 more query i need to ask.. Can I assign primary key for two columns?
Thanks
Bhargav.456
29-May-13 1:13am
View
I want to increment '+1'.
Bhargav.456
28-May-13 2:18am
View
Thanks for your reply Vani. But I need to implement query string in 3 -tier architecture.
(Query string which has 3-tier architecture)
How can I do it??
Bhargav.456
28-May-13 2:16am
View
Sorry!!
Bhargav.456
8-Mar-13 6:29am
View
I have asked the code for history in C#. . . not navigation (Read it properly and do answer)
Thanks
Bhargav.456
25-Feb-13 5:18am
View
Even I too expects the same Shubh Agrahari.. Even I vl also do some research. But i couldnt find any solution. I dont know how to start the project. so thats why I have posted.
Anyway thanks for ur comments.
Bhargav.456
18-Jan-13 1:32am
View
Thanks, Suppose if I have 40 textboxes, how can I do?
Bhargav.456
18-Jan-13 1:32am
View
Thanks, Suppose if I have 40 textboxes, how can I do?
Bhargav.456
9-Jan-13 0:44am
View
data base like this
id code qty osno
1 2 10 1
2 3 10 2
3 4 10 3
4 6 10 4
5 7 10 4
my question is to get max of osno value should show in a gridview as separate column
as well as the database also
i need gridview like this to show an output
id code qty osno max no
1 2 10 1 4
2 3 10 2 4
3 4 10 3 4
4 6 10 4 4
5 7 10 4 4
Bhargav.456
9-Jan-13 0:26am
View
please explain clearly
Bhargav.456
9-Jan-13 0:22am
View
i did the same one, but i used group query, its showing maximum of there particulars.
i need max value of column from database and show the all the values in grid view in that grid view i want max value should show in separate column.
Bhargav.456
21-Nov-12 5:54am
View
Sorry, I wrote the above code in gridview selectedindexchanged event.
I am getting the below error.
CS1061: 'System.Web.UI.WebControls.GridView' does not contain a definition for 'RowCount' and no extension method 'RowCount' accepting a first argument of type 'System.Web.UI.WebControls.GridView' could be found (are you missing a using directive or an assembly reference?)
Bhargav.456
21-Nov-12 5:50am
View
Sorry,
I am getting this error after writing code in textbox changed event.
CS1061: 'System.EventArgs' does not contain a definition for 'KeyCode' and no extension method 'KeyCode' accepting a first argument of type 'System.EventArgs' could be found (are you missing a using directive or an assembly reference?)
Bhargav.456
21-Nov-12 5:16am
View
I am not getting output, please help
Bhargav.456
21-Nov-12 4:20am
View
While I run the page, I am not getting gridview display on enter click of textbox
Bhargav.456
21-Nov-12 3:17am
View
Thanks, but I am not getting output. I have written like this.
design:
<asp:TextBox ID="TextBox1" runat="server" OnKeyDown="TextBox1_KeyDown()"
AutoPostBack="True">
in cs:
private void TextBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
GridView1.Visible = true;
}
}
is it correct?
Bhargav.456
10-Nov-12 4:30am
View
what code should i write under selectindexchanging?
where should i write the code in selectindexchanged or selectindexchanging?
i am not getting clearly?
Bhargav.456
10-Nov-12 3:28am
View
Thanks for the code, But I need to get the selected row data from the gridview1 to the table. How do I do it?
Bhargav.456
10-Nov-12 2:14am
View
Could you show ur code?
Bhargav.456
7-Nov-12 1:32am
View
Thank YOu, I even need to det an id displayed in that box.
Bhargav.456
6-Nov-12 0:39am
View
Thank You, but your solution is not working. If you have another idea, please do tell me
Bhargav.456
3-Nov-12 6:21am
View
Thank You, Can we implement in any other way other than membership provider? If yes, could you please tell me.
Bhargav.456
2-Nov-12 9:11am
View
Thank You, But i need to change the url i.e., if it is www.sample.com, the user for example abcd gets loggin, his name (abcd) should be indicated in the url i.e., abcd.sample.com
Bhargav.456
1-Nov-12 8:11am
View
TABLES:
<asp:Panel ID="Panel1" runat="server">
<table>
<tr>
<td>
<asp:TextBox ID="TextBox1" runat="server">
</td>
<td>
<asp:TextBox ID="TextBox2" runat="server">
</td>
<td>
<asp:TextBox ID="TextBox3" runat="server">
</td>
</tr>
</table>
<asp:Panel ID="Panel2" runat="server">
<table>
<tr>
<td>
<asp:TextBox ID="TextBox6" runat="server">
</td>
<td>
<asp:TextBox ID="TextBox7" runat="server">
</td>
<td>
<asp:TextBox ID="TextBox8" runat="server">
</td>
</tr>
</table>
GRIDVIEW Code:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1"
onselectedindexchanged="GridView1_SelectedIndexChanged2">
<columns>
<asp:CommandField ShowSelectButton="True" />
<asp:BoundField DataField="Code" HeaderText="Code" SortExpression="Code" />
<asp:BoundField DataField="Description" HeaderText="Description"
SortExpression="Description" />
<asp:BoundField DataField="UnitPrice" HeaderText="UnitPrice"
SortExpression="UnitPrice" />
<asp:BoundField DataField="Eup" HeaderText="Eup" SortExpression="Eup" />
<asp:BoundField DataField="Mrp" HeaderText="Mrp" SortExpression="Mrp" />
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:sruthiConnectionString %>"
SelectCommand="SELECT [Code], [Description], [UnitPrice], [Eup], [Mrp] FROM [sample_tbl]">
Bhargav.456
1-Nov-12 6:47am
View
Thank you, Could you please provide its code?
Bhargav.456
1-Nov-12 5:58am
View
Thank You, For example, If we have two different tables say table1 and table2. Both tables have 1 row, 5 columns each(each column has five textboxes naming from textbox1 to textbox5 for table1 and textbox6 to textbox10 for table2).
I placed those tables one by one i.e, first table1 as 1 row then table2 as 2nd row.
At first instance, For binding data from gridview (on select command) to table1, we write TextBox1.Text = GridView1.SelectedRow.Cells[1].Text;
TextBox2.Text = GridView1.SelectedRow.Cells[2].Text; etc. . then at next 2nd row i.e., we have table2. How can I insert data in that from gridview?
Show More