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
C

ChandrakanthGaddam

@ChandrakanthGaddam
About
Posts
34
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Asp.Net with C#
    C ChandrakanthGaddam

    Hi Thanks for Your suggestion. I have re installed MVC4. It works now. Thanks for your suggestions.

    C# csharp help asp-net database visual-studio

  • Asp.Net with C#
    C ChandrakanthGaddam

    Hi This is Chandrakanth. My Query is, I have already Visual Studio 2010 professional in my system.Now i have installed Asp.net MVC4 in my Computer. That system is running with Microsoft XP Professional 2002 with Service Pack3. I was trying to open MVC4 application with Rajor engine from visual studio 2010 but it is giving error. It says "Visaul Studio encountered problem and needs to close" Can any one suggest me to work MVC4 Properly. Thanks Chandra

    Chandrakanth

    C# csharp help asp-net database visual-studio

  • How to display Information window by clicking on the push pin in Google Maps in C#
    C ChandrakanthGaddam

    Hi This is Chandra, presently working on GoogleMaps. Right now i can able to bind the langitude and latitude dynamically based on selection of country. That is multiple locations i can able to display in the map.Here my problem is i want to display information window when i click any one of the location. Please find my code below in C~ as well as Asp.net C# Code:- protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { bindInfo(); } } protected void bindInfo() { try { SqlConnection con = new SqlConnection("Data Source=xxx;Initial Catalog=Test;Persist Security Info=True;User ID=xxx;Password=xxx$;Connect Timeout=38000;pooling='true'; Max Pool Size=200"); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.Connection = con; cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "GetCountryNames"; cmd.ExecuteNonQuery(); SqlDataAdapter da = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds); ddlPostalCode.DataTextField = "Country"; ddlPostalCode.DataValueField = "Country"; ddlPostalCode.DataSource = ds.Tables[0]; ddlPostalCode.DataBind(); con.Close(); } catch (Exception x) { Response.Write(x.ToString()); } } private void GetLocation(string CName) { try { SqlConnection con = new SqlConnection("Data Source=xxxx;Initial Catalog=Test;Persist Security Info=True;User ID=xxxx;Password=xxxx$;Connect Timeout=38000;pooling='true'; Max Pool Size=200"); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.Connection = con; cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "GetLocationWiseInfo"; SqlParameter param = new SqlParameter(); param.ParameterName = "@Name"; param.Value = ddlPostalCode.SelectedItem.Text.ToString(); cmd.Parameters.Add(param); cmd.ExecuteNonQuery(); SqlDataAdapter da = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds); con.Close(); BuildScript(ds); } catch (Exception x) { Response.Write(x.ToString()); } } public void BuildScript(DataSet tbl) { string Locations = ""; foreac

    C# csharp asp-net security help tutorial

  • How to bind extra column(sales) along with Latitude and logitude in GoogleMaps in C# with Asp.Net
    C ChandrakanthGaddam

    Hi This is Chandra, working on the google maps in Asp.net with C#.At present i can able to bind the Langitude and latitude from database to Google maps based on selection of country.But, my problem is i want to bind the Sales data information along with Latitude and longitude pushpin.Is it possible? Can any one give me some suggestion on this to implements. My table Data is looks like in the below format Country Latitude Longitude Sales England 51.479117 -3.178 33.32 England 51.478705 -3.177831 33.32 Thanks Chandrkanth

    C# csharp asp-net database sales help

  • Unable to deploy the Application into server from VS 2010 using Web set deployment type
    C ChandrakanthGaddam

    Hi This is Chandrakanth, My question is i was trying to deploy the application in to the server from Visual Studio 2010 using Web Setup, but unable to deploy the application. I am using 3 tier architecture in my application. The web set up is copying only one bin folder in to the destination folder in the server. All files and folders are not able to copy. Is there any thing i need to configure. Please suggest me whar are all the things i need to follow. Thanks Chandra

    .NET (Core and Framework) visual-studio sysadmin csharp architecture question

  • Conversion failed when converting the varchar value in SQLSERVER 2008
    C ChandrakanthGaddam

    Hi Scott,Thanks and lot. I got it. It is working fine from my end . Thanks Chandra

    Database database help

  • Conversion failed when converting the varchar value in SQLSERVER 2008
    C ChandrakanthGaddam

    Hi this is Chandra. i have one issue with Sql Stored procedure. Please find the query below. declare @Measure varchar(50) declare @Time varchar(50) declare @Manufacturer varchar(50) declare @CategoryID int SET @Measure ='Value' SET @Time ='4 Weeks&' SET @Manufacturer ='Jti Gallaher Ltd' SET @CategoryID = 377; Declare @SELECTtQuery1 varchar(1000) Declare @FromQuery1 varchar(1000) Declare @GROUPBYQuery1 varchar(1000) Declare @SQLQuery AS NVarchar(4000) Declare @ParamDefinition AS NVarchar(2000) SET @FromQuery1 = 'FROM [dbo].[iView_Data_TCG_Aggregated_Product] WHERE PeriodName = '''+@Time+''' AND Manufacturer = '''+@Manufacturer+''' AND CategoryId = '''+ @CategoryID+ print @FromQuery1 When i execute this query i am getting the conversion error. PLease find the error below. ---------------------- Conversion failed when converting the varchar value ' FROM [dbo].[iView_Data_TCG_Aggregated_Product] WHERE PeriodName = '4 Weeks' AND Manufacturer = 'Test1' AND CategoryId = '' to data type int. ---------------------------------------------- I am not getting categoryid value when i execute. It is giving error. Please suggest me wht to do. Thanks Chandrakanth

    Database database help

  • How to read and insert files from Application directory in to Data base in C#
    C ChandrakanthGaddam

    Hi Good morning. My query is,i have Some application. In that application i have some one sub directory. In that directory i have 3 jpg files. i want to read those files from directoiry and i need to store the Image file name, Image bytes into data base. Once completion of reading files from the directory i need to delete those files.Can any one sunggest me how to approach that.

    C# csharp database tutorial

  • Is it possible to export the Chart control as well as Gridview data to Excel format.
    C ChandrakanthGaddam

    Hi Sandeep, Thanks for your information. Meanwhile in my case i can not hard code the chat names because i have different types of grids like CategoryInfo,SubcategoryInfo Info,ProductInfo, SalesInfo etc. These are all grids contains lot of records and Each Grid has 3 types of charts. In this case how can i approach. Thanks Chandrakanth.

    C# database sales question

  • Is it possible to export the Chart control as well as Gridview data to Excel format.
    C ChandrakanthGaddam

    Hi This is Chandra and Good evening. My query is, i have one web page. In that web page i have GridView Control. At presnt i can able to export the data to Excel from Gridview control.I have also Charts control in the same Web Page which is displying sales information. Here My Question is.. Is it possible to export the Chart control as well as Gridview data to Excel format. Thanks Chandrakanth

    Chandrakanth

    C# database sales question

  • How to create existing chat control as a user control in C#
    C ChandrakanthGaddam

    Hi this is chandra. I have one question. I have some predefined Chat controls. I want to create a chat control as a user control in c# by assigning some properties like chat name, chat width, chat height.How can i create this. can any one please suggest me on this. Thanks Chandrasekar

    C# question csharp tutorial lounge

  • How to avoid postback of ASP: Image Button
    C ChandrakanthGaddam

    Hi, Once again from Chandrakanth. Thanks for prompt reply. Problem is when i click on Image button, CLIENT SIDE CODE is executing, next POST BACK is happening, C# CODE is executing. Actually my problem is i want to avoid that POST BACK when i click on ASP:IMAGE BUTTON. Any suggestion please............ Thanks and Regards Chandrakanth

    ASP.NET help csharp javascript tutorial question

  • How to avoid postback of ASP: Image Button
    C ChandrakanthGaddam

    Hi, Once again from Chandrakanth. if i use that code , Only Javascript code is working.But C# code is not working which was mention on onclick event. any suggestions for this. Thanks and Regards Chandrakanth

    ASP.NET help csharp javascript tutorial question

  • How to avoid postback of ASP: Image Button
    C ChandrakanthGaddam

    Hi, This is from Chandrakanth. i have one problem with update panel in Ajax in aspx page div tag is there. In that some controls are there. i kept that div tag in the Update Panel to avoid post back by Asp:Image button click event. I am using Asp:ImageButton. When i click on that image button client side code that is Javascript code should work as well as c# code should works. problem is when i click on that Asp:ImageButton, post back is happening for DIV Tag. I want to avoid that post back of DIV tag. How can i avoid that. Please help me out from this problem. Thanks and Regards Chandrakanth

    ASP.NET help csharp javascript tutorial question

  • How to find the Link button control in Datalist control usibng Javscript Code
    C ChandrakanthGaddam

    Hi, This is from chandrakanth. working on dotnet. Actually i got one problem with javascript in button click event. i have one Datalist control. In that Datalist control i have one Linkbutton. I am trying to find the ID of Link button ID through Javascript. But it is giving error here "obj.substring(0, 60);" --Object does not support this property"; Please see the below my Javascript code which i am using. --------------------------------------------------------------- 'sidebar' -- divtag id function SwitchMenus() { var divObj = document.getElementById('sidebar'); var objdatalist = document.getElementById('<%#dlstToDoList.ClientID%>;').childNodes[0]; var obj = objdatalist.getElementsByTagName('ctl00_dlstToDoList_ctl00_lnkTodo'); -- Link button id if (divObj.style.width == "22%") { divObj.style.width = "26%"; divObj.align = "left"; objdatalist.style.width = "100%"; obj.substring(0, 60); } else { divObj.style.width = "22%"; divObj.align = "left"; obj.substring(0,40); } } ------------------------------------------------------------- ----------------------------------------------------------------

    ASP.NET help csharp javascript tutorial

  • How to expand the Div Tag to left hand side when mouse button click on Left side of Div Tag
    C ChandrakanthGaddam

    hi, Thanks for the reply. Can you please give me some example for function. Thanks and Regardds Chandrakanth

    ASP.NET question help tutorial

  • How to expand the Div Tag to left hand side when mouse button click on Left side of Div Tag
    C ChandrakanthGaddam

    Hi, This is from Chandrakanth. i have one problem. I am using Mater Page . In that Master Page i have content Place Holder. That alignment of Content place holder is located under the Div Tag, align as a right side and position is vertical. My Question is when i click on the Left side of the div tag, that div tag sholud expand to lefthand side with width of 100% by showing all contenet. Initiallt it will show only few items positined as a vertical. can any one tell me how to go for that?

    ASP.NET question help tutorial

  • What is the difference between 3 Tier Architecture and N-Ties Architecture.
    C ChandrakanthGaddam

    Hi, This is from Chandra. Can any one tell me What is the difference between 3 Tier Architecture and N-Ties Architecture. Thanks and Regards Chandrakanth

    ASP.NET architecture question

  • How to down the Excel file from Application folder in WPF with C#
    C ChandrakanthGaddam

    Hi, Once again from Chandrakanth. Actually my requimet is... When i run the application i am providing some link to downlaod the excel file format by clicking the Hyperlink. After down loading the file user can enter some information and he can upload the file again That excel file format is default format. if any suggestions please reply back for this. Thanks and Regards Chandrakanth

    WPF csharp wpf help tutorial question

  • How to down the Excel file from Application folder in WPF with C#
    C ChandrakanthGaddam

    Hi, This is from Chandrakanth. Actullay my problem is I Want to downlaod the file from Application Directory. In my Application i have one folder called "EXCELFILE" In that folder i have once excel file called "USERCONTACTS.xls". I have one Hyperlink Button called "DOWNLOAD EXCEL FILE" When i click on Hyperlink button i have to down load the file from application directory. how can i go for that . Can any one tell me how to do that.. Thanks and Regards Chandrakanth.Gaddam

    WPF csharp wpf help tutorial question
  • Login

  • Don't have an account? Register

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