Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Arun kumar Gautam

@Arun kumar Gautam
About
Posts
45
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem in wpf prism
    A Arun kumar Gautam

    I have 2 view model in main window In which i have 1 button in one view model, while in my other view model i have a panel and initially tht panel is visible=fALSE I want tht while i click on tht button the panel from another view model will be visible

    WPF csharp wpf help

  • How to access remote file directories without sharing.
    A Arun kumar Gautam

    How to access remote file directories without permission from remote system.

    C# tutorial

  • accessing remote system
    A Arun kumar Gautam

    thnks mohit i really appreciate ur help.

    WPF csharp wpf sysadmin help tutorial

  • accessing remote system
    A Arun kumar Gautam

    bt ftp also needs client system username and password

    WPF csharp wpf sysadmin help tutorial

  • accessing remote system
    A Arun kumar Gautam

    How to perform file transfer same like as it happen in teamviewer and ammyy before in wpf i want to open a window in which on the left side i get complete directories of my own system and on the right side i get all the directories of remote system in wpf using c# can anyone halp me in it, to give me just an idea only i dont want to access any remote system using theri network username and password i jst want to access it through their ip addresses someone please help me in it, to give me an idea on it

    WPF csharp wpf sysadmin help tutorial

  • How to build up a teamviewer like windows application
    A Arun kumar Gautam

    what is the concept of teamviewer?? Can anyone just tell me what is the concept behind teamviewer??? I just need a simple concept to start.... Please someone help me in it...

    C# question help tutorial

  • Problems in asp.net website after publishing
    A Arun kumar Gautam

    I made the modification but it still doesn't working still

    ASP.NET csharp help asp-net database visual-studio

  • Problems in asp.net website after publishing
    A Arun kumar Gautam

    I created asp.net website who is holding a login page, Here is the code behind of my login page using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Data.SqlClient; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using DbProjectLibrary; public partial class Login : System.Web.UI.Page { string constr = ConfigurationManager.ConnectionStrings["constr"].ConnectionString.ToString(); DBClass db = new DBClass(); protected void Page_Load(object sender, EventArgs e) { } protected void loginbtn_Click(object sender, EventArgs e) { string type="Admin"; string get_login = "select * from login where Type='" + type + "'"; DataTable dt = db.get_data(get_login, type, constr); //gview.DataSource = dt; //gview.DataBind(); string user = usertxt.Text; string pass = Passwrdtxt.Text; string username = dt.Rows[0][1].ToString(); string password = dt.Rows[0][2].ToString(); if (username == user.ToLower() && password == pass) { Session["login"] = username; Response.Redirect("~/Profiles/Default.aspx?type=Admin"); } else { errlbl.Text = "You are not authorized to login"; } } } when i run this code using vs 2012 than it runs perfectly but when i publish it online and try to run it through iis than it shows that error Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'DBClass' could not be found (are you missing a using directive or an assembly reference?) Source Error: Line 9: public partial class Login : System.Web.UI.Page Line 10: { Line 11: DBClass db = new DBClass(); Line 12: protected void Page_Load(object sender, EventArgs e) Line 13: { can anyone help me with it

    ASP.NET csharp help asp-net database visual-studio

  • Treeview in windows application
    A Arun kumar Gautam

    wel m now able to resolve it by using #region TreeView private void CheckChildNode(TreeNode currNode) { //set the children check status to the same as the current node bool checkStatus = currNode.Checked; foreach (TreeNode node in currNode.Nodes) { node.Checked = checkStatus; CheckChildNode(node); } } private void CheckParentNode(TreeNode currNode) { TreeNode parentNode = currNode.Parent; if (parentNode == null) return; parentNode.Checked = true; foreach (TreeNode node in parentNode.Nodes) { if (!node.Checked) { parentNode.Checked = false; break; // TODO: might not be correct. Was : Exit For } } CheckParentNode(parentNode); } #endregion

    private void menuCollection_AfterCheck(object sender, TreeViewEventArgs e)
    {
    menuCollection.AfterCheck -= menuCollection_AfterCheck;
    CheckChildNode(e.Node);
    CheckParentNode(e.Node);
    menuCollection.AfterCheck+=menuCollection_AfterCheck;
    }

    hope this code helps someone in future

    C# help tutorial

  • Treeview in windows application
    A Arun kumar Gautam

    Hi, I have a problem with treeview in windows application for example i have a treeview as follows with checkboxes:- Root0 Node0 Node1 Root1 Node2 Node3 now if i checked node0 nothing will happn with root0 but if node0 and node1 both are checked thn root0 can be shows as checked and if i check on root0 thn both nodes with be checked automatically i m trying soo hard but m found nothing still, can anyone help me with it

    C# help tutorial

  • Problem with treeview in windows application
    A Arun kumar Gautam

    Hi, I have a problem with treeview in windows application for example i have a treeview as follows with checkboxes:- Root0 Node0 Node1 Root1 Node2 Node3 now if i checked node0 nothing will happn with root0 but if node0 and node1 both are checked thn root0 can be shows as checked and if i check on root0 thn both nodes with be checked automatically i m trying soo hard but m found nothing still, can anyone help me with it

    C# help tutorial

  • Problem in creating Report
    A Arun kumar Gautam

    no m jst taking an example m actually trying to make a sale invoice in which i used that particular idea, so can u help me in it

    Visual Studio 2015 & .NET 4.6 help question

  • Problem in creating Report
    A Arun kumar Gautam

    I have a table named login I am binded login table with rdlc report in a table whose showing username and password from login table into report but now m wanna tht in my rdlc report table show initially 10 rows thn as data comes from login table it just inerted automatically but as the number of rows are more thn 10 thn the other rows will be displayed on the next page in the same manner. can anyone help me with it???

    C# help question

  • Problem in creating Report
    A Arun kumar Gautam

    I have a table named login I am binded login table with rdlc report in a table whose showing username and password from login table into report but now m wanna tht in my rdlc report table show initially 10 rows thn as data comes from login table it just inerted automatically but as the number of rows are more thn 10 thn the other rows will be displayed on the next page in the same manner. can anyone help me with it???

    Visual Studio 2015 & .NET 4.6 help question

  • problem with datagridview in windows application
    A Arun kumar Gautam

    Hello Sir, Look i have a datagridview who is binded with database and shows those values Name Address admin Delhi adam India as i'm going to click on delhi my datagridview will show a combobox on click of it and shows a list of cities from database and after selecting any value from combobox i'm moving toward next row so as i'm going to next row m wanna tht combox will convert into textboxcolumn again thts the problem happening with me. Hope so tht now u can understand my problem...

    C# database help

  • problem with datagridview in windows application
    A Arun kumar Gautam

    I hav a datagridviewview in windows application whose column names are set from the fron end i setted their propertyname also cause i wanna to bind it with database, just like as Name Address Admin Delhi so m wanna tht as i will click on address cell of any row there is one combobox will show who is binded with database and as i will click on another row, the previous row will be show normally as a textboxcolumn and currentcell with show as a combobox column who will also binded with database

    C# database help

  • Problem with datagrid
    A Arun kumar Gautam

    I have a datagrid in which i used textbox in one cell and combobox in editing of that cell. m wanna tht as i write something in that textbox combobox will show the related contents from database . can anyone tell me how to do it

    WPF database help tutorial

  • getting common data
    A Arun kumar Gautam

    i have 3 tables named as patient, medicine, attachment patient table has columns name as patient_id patient_name medicine tables has columns med_id medicine_name patient_id and attachment has columns attachment_id attachment patient_id now i want data as patient_name medicine_name attachment where attachment_table has 2 or more columns who have same patient_id same as happn with attachment table but the main problem is i want to get all the data into a single row even if attachment has particular patient or no same as if medicine table has particular patient_id or no so can any one help me in it

    Database help

  • problem in saving an image in windows application
    A Arun kumar Gautam

    Hello to all guys, I am having a problem in windows application I have a button through which i can select an image using openfiledialog and thn after the path of the selected image is shown in another textbox but after tht m wanna to save tht save into another fold using savefiledialog but i cant do it for save an image i use this code Bitmap bit = new Bitmap(saveFileDialog1.FileName); bit.Save(saveFileDialog1.FileName, System.Drawing.Imaging.ImageFormat.Jpeg); but it doesnt work can anyone help in it

    C# graphics help

  • Problem in searching with multiple textboxes over datagridview
    A Arun kumar Gautam

    I have a datagridview in windows form application m also have 4 textboxes now m wanna to perform search in dataase using textboxes and thn show the result data into datagridview so m trying select * from Medicine where (Medicine_Name is null or Medicine_Name like '%" + Medicine_Name.Text + "%') or (Medicine_Dosage is null or Medicine_Dosage like '%" + Med_Dosage.Text + "%') or (Medicine_Symptons is null or Medicine_Symptons like '%" + Med_Symtoms.Text + "%') and Med_SubCat=(select Med_SubCat from Medicine_subcatagory where Med_Sub='" + this.Text + "') tht query but i doesnt find a correct answer can anyone tells me solution of it m jst wanna tht whether i put some text in 1 and 2 textbox and thn whenever i click on search datagridview will show me the common data only plzzz help me in it

    C# help database algorithms
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups