15,886,799 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 Raghubir_Sarkar (Top 23 by date)
Raghubir_Sarkar
13-Oct-17 1:50am
View
I tried to provide all information, if you want to know anything else about the question please ask me.
Raghubir_Sarkar
2-Jan-15 0:08am
View
Thank you Ramza. But my tree is too large having both Horizontal and vertical scrolls and about 250 to 300 nodes. how can i draw an image for this, it will shrink all the nodes.
Raghubir_Sarkar
15-Jul-14 0:54am
View
Thanks for the comment. I have solved the issue, problem was in my selection formula of report. Anyway thank you very much.
Raghubir_Sarkar
23-Jun-14 10:20am
View
Thank you
It throws Following error -
"You tried to execute a query that does not include the specified expression 'PurID' as part of an aggregate function"
If i remove PurID then same error occur for ProName. Only Following query runs -
Select ProID, Max(Quantity) from MyTable Group BY ProID
But I want PurID also, it is primary key.
Raghubir_Sarkar
23-Jun-14 5:49am
View
Please use the forum to solve problems of other programmers not to find out grammatical mistakes in question.
If you know the solution please help me to write the query.
Raghubir_Sarkar
17-Jun-14 7:36am
View
Give some more details about your question. What control you are using is it Grid or something else?. How do you want to refresh on some buttons click event or automatically?
Raghubir_Sarkar
17-Jun-14 2:48am
View
Ya in access it is slow to get a single value from huge amount of rows but for SQL its a good solution. If in your project products are grouped into 2 or 3 group then you can create separate table for groups and implement this solution but making so many tables for each type of product will also slow the execution and it doesn't make any seance.
Raghubir_Sarkar
14-Jun-14 5:56am
View
You are right phil but My current project is too lengthy so it is not possible to change all insert or update queries. In future projects and new forms in current project i'll use parameterized quiry. Thank you so much for your support.
Raghubir_Sarkar
14-Jun-14 2:02am
View
Thanks phil it works, and also for your suggestion next time i'll use SqlCommand instead of dataadapter.
Raghubir_Sarkar
6-Jun-14 1:48am
View
Is there any problem with Gridview databinding method?. I think in search the gridview doesn't update it's just showing the required result.
Raghubir_Sarkar
6-Jun-14 1:46am
View
Thanks Mr. Das I tried your solution, it's not working for my problem. So it's not a problem of Update panel.
Raghubir_Sarkar
5-Jun-14 7:31am
View
Deleted
Search Button Click Event:
<pre lang="cs">protected void Button1_Click(object sender, EventArgs e)
{
refreshbothdd();
string SearchData;
int SearchIn;
SearchData = TextBox1.Text;
SearchIn = DropDownList3.SelectedIndex;
switch(SearchIn)
{
case 1:
FillGrid(4,SearchData );
break;
case 2 :
FillGrid(5,SearchData );
break;
}</pre>
Method to fill the grid according to Different Queries:
<pre lang="cs">public void FillGrid(int temp, string tempData)
{
switch (temp)
{
case 0:
da = new SqlDataAdapter("Select SRNo, DepositeType,PartyName,AccOf,CreditOf,DepositeDt,BankName,BranchName,ChequeNo,Amount,DepositeBy from ChTable order by SRNo desc ", conn);
break;
case 1:
da = new SqlDataAdapter("Select SRNo, DepositeType,PartyName,AccOf,CreditOf,DepositeDt,BankName,BranchName,ChequeNo,Amount,DepositeBy from ChTable where DepositeBy='" + tempData + "' order by SRNo desc", conn);
break;
case 2:
da = new SqlDataAdapter("Select SRNo, DepositeType,PartyName,AccOf,CreditOf,DepositeDt,BankName,BranchName,ChequeNo,Amount,DepositeBy from ChTable where AccOf='" + tempData + "' order by SRNo desc", conn);
break;
case 3:
da = new SqlDataAdapter("Select SRNo, DepositeType,PartyName,AccOf,CreditOf,DepositeDt,BankName,BranchName,ChequeNo,Amount,DepositeBy from ChTable where DepositeType='" + tempData + "' order by SRNo desc", conn);
break;
case 4:
da = new SqlDataAdapter("Select SRNo, DepositeType,PartyName,AccOf,CreditOf,DepositeDt,BankName,BranchName,ChequeNo,Amount,DepositeBy from ChTable where ChequeNo like '%" + tempData + "%' order by SRNo desc", conn);
break;
case 5:
da = new SqlDataAdapter("Select SRNo, DepositeType,PartyName,AccOf,CreditOf,DepositeDt,BankName,BranchName,ChequeNo,Amount,DepositeBy from ChTable where PartyName like '%" + tempData + "%' order by SRNo desc", conn);
break;
case 6:
da = new SqlDataAdapter("Select SRNo, DepositeType,PartyName,AccOf,CreditOf,DepositeDt,BankName,BranchName,ChequeNo,Amount,DepositeBy from ChTable where DepositeDt between '" + fromdt.Text + "' and '" + todt.Text + "' order by SRNo desc", conn);
break;
}
GridView1.DataSource = null;
GridView1.DataBind();
ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds.Tables[0];
GridView1.DataBind();
}</pre>
The GridView Rowcommand For Edit:
<pre lang="cs">protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Edit")
{
string SRID = e.CommandArgument.ToString();
Response.Redirect("EditTransact.aspx/?Transaction=" + SRID + "");
}
}</pre>
Raghubir_Sarkar
21-Dec-13 0:01am
View
Thanks Dave i'll remember it.
I have a doubt about installation. I think that a .msi installer will just copy the primary output of a .NET project. Is it correct? if it then i'll copy all the primary output files myself and catch its progress status.
Raghubir_Sarkar
23-Aug-13 1:09am
View
I have tried that its not working while i am using the picturebox inside the
datarepeater control.
Raghubir_Sarkar
23-Aug-13 1:08am
View
Sir i am using the picturebox into datarepeater control,
for that i must have to set its databinding property,
I have do it for other controls but not for picturebox.
Do you have any idea about how to set databinding of picturebox?
Raghubir_Sarkar
11-Jan-13 4:49am
View
Thank you sir, My website will be a good product and i am sure that it can make a huge ammount of users too. But how can i make money from it? Is there any registration or patent required? Who will give me the money?
Raghubir_Sarkar
11-Jan-13 4:48am
View
Thank you sir, My website will be a good product and i am sure that it can make a huge ammount of users too. But how can i make money from it? Is there any registration or patent required? Who will give me the money?
Raghubir_Sarkar
10-Jan-13 3:43am
View
Thanks
Raghubir_Sarkar
22-Sep-12 12:19pm
View
Thank you so much.
Raghubir_Sarkar
8-Sep-12 7:07am
View
Try this -
Process.Start(Page_Name.html)
It will Show your html page(Page_Name.html) in your default web browser.
Raghubir_Sarkar
6-Sep-12 4:53am
View
Thanks Sandeep
Raghubir_Sarkar
6-Sep-12 4:34am
View
Just before the code for copy the database file(.mdf).
Raghubir_Sarkar
5-Sep-12 7:51am
View
Thank you Mr. Prashant it works.
Show More