Click here to Skip to main content
Page 1 of 3
Page Size: 10 · 25 · 50


Author filtered by: Prasad C.M. [x]
Answer 13 May 2013   license: CPOL
Just change OnClientClick ="javascript:validate()" to OnClientClick ="return validate()"
Answer 10 May 2013   license: CPOL
try like this ..conn.Open();DataTable dtusers = new DataTable(); SqlDataAdapter da = new SqlDataAdapter("select name from admin_table where name not in (select name from daily_att where tdate='"+tdat+"' ) ", conn); SqlCommandBuilder cmd = new...
Answer 10 May 2013   license: CPOL
try with single query ...sql = "Select studid,Bfid,Rate,Class from student,batch";after this bind grid
C#
Answer 10 May 2013   license: CPOL
Try by removing double quote "vehicleId" as vehicleId[ { vehicleId: "1", status: "Running", position: "x", battery: "25", distanceTravelled: "123", destination: "y", freeSeats: "2", speed: "32" }]
Answer 10 May 2013   license: CPOL
Try this .. simple one ..$(".jcrop-holder div:not('.img')").remove();OR$(".jcrop-holder div:not('img')").remove();
Answer 10 May 2013   license: CPOL
Try this .. $(document).ready(function () { $("#btn").click(function () { var allListElements = $(".jcrop-holder").find('*'); ...
Answer 10 May 2013   license: CPOL
Try This ... function isNumberic(evt) { var charCode = (evt.which) ? evt.which : event.keyCode if (charCode > 31 && (charCode 57)) return false; return true; ...
Question 7 Sep 2012   license: CPOL
HI .. I am using AjaxFileUpload1 of Ajax control toolkit.I am passing query string to page where i am using AjaxFileUpload1 control(Say for example for page WebForm1.aspx?Key=22)But problem here is if i pass query string to WebForm1.aspx pagethat time protected void...
Re: Tip by Prasad C.M.
Forum Message 21 Apr 2012  
ur right.. thx.. Prasad C.M.
Problem with condition c# by Prasad C.M.
Answer 21 Apr 2012   license: CPOL
ok.. Just try this... All in one..Code for reading data from file..OpenFileDialog openFileDialog = new OpenFileDialog();openFileDialog.ShowDialog();string[] dataFromFile = System.IO.File.ReadAllLines(openFileDialog.FileName);Array.Sort(dataFromFile);listBox1.DataSource =...
C#
Date and Time in asp.net by Prasad C.M.
Answer 20 Apr 2012   license: CPOL
Just Use this code..protected void UpdateTimer_Tick(object sender, EventArgs e){ Label3.Text = "Last Updated at : " + DateTime.Now.AddMinutes(-5).ToLongTimeString();}
Answer 20 Apr 2012   license: CPOL
First, create a functioncreate function SplitString ( @str nvarchar(4000), @separator char(1) ) returns table AS return ( with tokens(p, a, b) AS ( select 1, 1, ...
Answer 14 Apr 2012   license: CPOL
Please cross check the version of theInterop.Microsoft.Office.Interop.Excel.dllInterop.Microsoft.Office.Core.dllthese two dll s with your refence.
Answer 14 Apr 2012   license: CPOL
I dont know how u r binding child grid view?Here is one exaple
Answer 14 Apr 2012   license: CPOL
Here is One more Solution...protected void GridView2_RowUpdating(object sender, GridViewUpdateEventArgs e){ int index = GridView1.EditIndex; GridViewRow row = GridView1.Rows[index]; GridView childGridView = (GridView)row.FindControl("GridView2"); string model =...
Answer 14 Apr 2012   license: CPOL
Instead of thisGridView gvwnested = (GridView)GridView1.Rows[e.RowIndex].Cells[1].FindControl("GridView2");Just try this one GridView gvwnested = (GridView)GridView1.Rows[0].Cells[1].FindControl("GridView2");Here u cant use GridView1.Rows[e.RowIndex] Since u r calling this...
Answer 13 Apr 2012   license: CPOL
I dont know how you are using gridviews, So i am just assuming GridView inside GridView like as follows.I hope this will help you. AutoGenerateColumns="False" onrowupdating="GridView1_RowUpdating"> ...
Answer 23 Jun 2011   license: CPOL
Try This One... connectionString= "data source=.\SQLEXPRESS; Integrated Security=SSPI; AttachDBFilename=|DataDirectory|\aspnetdb.mdf; User Instance=true" providerName="System.Data.SqlClient"/>
Forum Message 23 Jun 2011  
I never wrap single line statements - only multiple lines get wrapped. Prasad C.M. modified on Thursday, June 23, 2011 6:20 AM
Question 22 Jun 2011   license: CPOL
This is My Codevar txtFromDate = document.getElementById("").value;var txtToDate = document.getElementById("").value;var D1 = new Date(txtFromDate);var D2 = new Date(txtToDate);if(D1 > D2) alert("FromDate cannot be greater than...
Answer 22 Jun 2011   license: CPOL
Here is one Simple Solution... Just Try It..--> Inside btnSearch_Click Event MentionbtnSearch.Enabled = false--> Use One more Button "Clear"--> And Inside btnClear_Click Event MentionbtnSearch.Enabled = true
Answer 16 Jun 2011   license: CPOL
Try This One..string filepath = Server.MapPath("-- File Path Here --");// Create New instance of FileInfo class to get the properties of the file being downloadedFileInfo myfile = new FileInfo(filepath);// Checking if file existsif (myfile.Exists){// Clear the content of the...
Answer 15 Jun 2011   license: CPOL
U Can Try This Aslo...Go GridView PropertySet "ShowFooter" property to true
Answer 13 Jun 2011   license: CPOL
Try This...SqlConnection con = new SqlConnection("Data Source=(local);Database=UrDatabaseName;uid=sa;pwd=sa");con.Open();string Query = "Select * from Employee";SqlDataAdapter da = new SqlDataAdapter(Query, con);DataTable DT = new DataTable();da.Fill(DT);GridView2.DataSource =...

Page 1 of 3
1 2 3


Advertise | Privacy | Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid