16,019,614 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 Visual Basic questions
View Javascript 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 Richard_Michael_RM (Top 12 by date)
Richard_Michael_RM
15-Dec-15 10:33am
View
No error but lost functionality after updating html..
i am generating the html table with complete functionality like searching, sorting and pagination. but after page load when i update the rows in table from update button it does not work
Richard_Michael_RM
27-Nov-14 6:55am
View
It would be really helpful if you could post some relevant code.
Richard_Michael_RM
25-Nov-14 6:08am
View
Deleted
cheers
Richard_Michael_RM
25-Nov-14 6:03am
View
use where clause for product in max query ...
Richard_Michael_RM
25-Nov-14 6:00am
View
sudeshna dont use is identity
insert values from code as i told you by query
Richard_Michael_RM
25-Nov-14 5:56am
View
Agreed #Bruno
Richard_Michael_RM
25-Nov-14 5:49am
View
Go To Database Right click table select design mode then select itemcode field goto properties in Identitiy Specification expand it and set Is Identity Yes and set Indentity Increment.
Richard_Michael_RM
25-Nov-14 5:05am
View
Deleted
Yes Tomas
Richard_Michael_RM
25-Nov-14 4:47am
View
Deleted
public void drawMenu()
{
int i = 0;
string InnerHTML = "";
string str = "select CAT_ID As id, CAT_NAME As name , PID As parentid , Description As path from CAT As menu where PID <> 0 and D_ID=47 and Store_ID=0";
SqlDataAdapter sqladp = new SqlDataAdapter(str, Conn);
DataTable dt = new DataTable();
sqladp.Fill(dt);
InnerHTML = InnerHTML + "<div class='panel-heading'>
";
for (i = 0; i < dt.Rows.Count; i++)
{
string CheckCat = InnerHTML;
string CheckString = "href='#" + dt.Rows[i]["id"].ToString() + "'";
InnerHTML = InnerHTML + "
";
// InnerHTML = InnerHTML + "
";
InnerHTML = InnerHTML + "
"+ dt.Rows[i]["name"].ToString() + "
";
InnerHTML = InnerHTML + "<div id='" + dt.Rows[i]["id"].ToString() + "' class='panel-collapse collapse in'>";
InnerHTML = InnerHTML + "<div class='panel-body'>";
InnerHTML = InnerHTML + hasChild;
InnerHTML = InnerHTML + "</div></div>";
}
InnerHTML = InnerHTML + "
</div>"; ;
divmenu.InnerHtml = InnerHTML;
}
DivMenu is my Div ...
[WebMethod]
public static string Update(string CAT_ID, string CAT_NAME, string DESCRIPTION, string PID)
{
var UID = int.Parse(CAT_ID);
var UPID = int.Parse(PID);
string retMessage = string.Empty;
DATABASE db = new DATABASE();
var empQuery = from t in CAT
where (t.CAT_ID == UID)
select t;
CAT obj = empQuery.Single();
obj.CAT_NAME = CAT_NAME;
obj.DESCRIPTION = DESCRIPTION;
obj.PID = UPID;
db.SaveChanges();
return retMessage;
}
now i want call my void function in Update(Static Method) .....
Richard_Michael_RM
25-Nov-14 4:42am
View
Deleted
#Aajmot I've done same but still problem exists.... run time generating div not appearing in form because class does not has add placeholder and i want to show my div in form ... Thanks
Richard_Michael_RM
25-Nov-14 4:38am
View
Thank you #Tomas glad to see your answer ..... Actually i have already class instance and i'm generating run time div for my menu list how is it possible by instance of class
Richard_Michael_RM
21-Nov-14 4:31am
View
Deleted
Thanks Praneet for your interest :) Actually i have a table Category
ID
NAME
ParentID
i want to retrive multilevel nested grid i mean unlimited level of grid...
Can you please explain how to retrieve data in c# and get by json using webmethod in c# page.. Thank You
Show More