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
R

rujuc

@rujuc
About
Posts
14
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DataGrid Cell Merging
    R rujuc

    I am using Datagrid to show data.I am also using header template to show column headers. Now I want to have one row above the header which contains the name of the datagrid and colspan="no of columns" which can be achieved in HTML table. How can i do in Datagrid ?? Any ideas??:confused: Thanx in advance.

    C# question html

  • Validation Controls
    R rujuc

    Validation group will solve your problem ...check out this .. <asp:TextBox ID="TextBox1" Runat="server" ValidationGroup="First"></asp:TextBox> <asp:TextBox ID="TextBox2" Runat="server" ValidationGroup="First"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Runat="server" ValidationGroup="First" ErrorMessage="TextBox1 should not be blank" ControlToValidate="TextBox1"> </asp:RequiredFieldValidator> <asp:Button ID="Submit1" Runat="server" ValidationGroup="First" Text="Submit 1" />

    <asp:TextBox ID="TextBox3" Runat="server" ValidationGroup="Second"></asp:TextBox> <asp:TextBox ID="TextBox4" Runat="server" ValidationGroup="Second"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" Runat="server" ErrorMessage=" TextBox3 should not be blank" ControlToValidate="TextBox3" ValidationGroup="Second"> </asp:RequiredFieldValidator> <asp:Button ID="Submit2" Runat="server" ValidationGroup="Second" Text="Submit 2" />

    ASP.NET help

  • Serial No
    R rujuc

    Use this formula for the serial number column of the DataGrid (PageIndex * pagesize) + ItemIndex +1

    ASP.NET design

  • Gridview Column width
    R rujuc

    Try this dgTableCreator.HeaderRow.Cells[1].Width = System.Web.UI.WebControls.Unit.Pixel(50)

    ASP.NET tutorial

  • Gridview Column width
    R rujuc

    Use <ItemStyle Width="100px"></ItemStyle> for your particular column. happy coding!!!!:)

    ASP.NET tutorial

  • Disapear sln
    R rujuc

    hi Compile your project once, you will see .sln file under your folder. It will not appear in solution explorer. And wht do you want to do with .sln file???:confused::omg:

    C# question

  • Syntax error converting datetime from character string.
    R rujuc

    Hi szukuro Thanx for your suggestion. But your tric was not working for my solution. Some how i modified my stored procedure. Is this the correct way?? can we optimized it?? CREATE PROCEDURE ic_get_processeddata ( @frmDate DateTime, @toDate DateTime, @empType varchar(20), @ein varchar(15) ) as if(@empType !='') and (@ein !='') begin select EIN,empName,empType,I2C,callAnswered,I2CPer,USLeaves,CBF,SOS,SOI,FCR,Bonus from ic_process where frmDate=@frmDate and toDate=@toDate and empType=@empType and ein=@ein order by empType,empName end else if (@empType !='') and (@ein ='') begin select EIN,empName,empType,I2C,callAnswered,I2CPer,USLeaves,CBF,SOS,SOI,FCR,Bonus from ic_process where frmDate=@frmDate and toDate=@toDate and empType=@empType order by empName,empType end else if(@ein !='') and (@empType ='') begin select EIN,empName,empType,I2C,callAnswered,I2CPer,USLeaves,CBF,SOS,SOI,FCR,Bonus from ic_process where frmDate=@frmDate and toDate=@toDate and ein=@ein order by empName,empType end else begin select EIN,empName,empType,I2C,callAnswered,I2CPer,USLeaves,CBF,SOS,SOI,FCR,Bonus from ic_process where frmDate=@frmDate and toDate=@toDate order by empName,empType end GO

    Database database help tutorial

  • Syntax error converting datetime from character string.
    R rujuc

    I ve written a stored procedure to fetch data from a table. Here i m getting an error "Syntax error converting datetime from character string.". Please guide me. ////////////////////////////////////////////////////////////////////////// CREATE PROCEDURE ic_get_processeddata ( @frmDate DateTime, @toDate DateTime, @empType varchar(20), @ein varchar(15) ) as declare @sqlStr as varchar(255) set @sqlStr ='' set @sqlStr='select EIN,empName,empType,I2C,callAnswered,I2CPer,USLeaves,CBF,SOS,SOI,FCR,Bonus from ic_process where frmDate='+@frmDate+' and toDate='+@toDate if(@empType !='') begin set @sqlStr = @sqlStr + ' and empType=' + @empType end if(@ein !='') begin set @sqlStr = @sqlStr + ' and EIN='+@ein end set @sqlStr = @sqlStr + (' order by empName,empType') print(@sqlStr) exec @sqlStr GO thanx in advance

    Database database help tutorial

  • doubt about ds.Tables[0].DefaultView
    R rujuc

    ds.Tables[0].DefaultView referes to opening view or customized view of the table that may include a filtered view, or a cursor position.

    ASP.NET question

  • Remember Username and Password
    R rujuc

    Hi Socheat If your are using .net 2.0 then go for login control. Usage of this control is explained here http://www.codeproject.com/useritems/Remember_me_next_time.asp[^] Otherwise use cookies to store username and password and next time fetch their values from there. Hope this will help you.

    ASP.NET tutorial question

  • online exam
    R rujuc

    hey try this http://www.geekinterview.com/Interview-Questions/Microsoft[^] all d best for ur exam.:)

    ASP.NET csharp question

  • validating a date
    R rujuc

    Use this function for date validation. //Date validator public static bool validateDateTime(object _datetime) { try{ DateTime testdate = DateTime.Parse(_datetime as string); return true; } catch{ return false; } }

    ASP.NET tutorial question

  • Help with parameters
    R rujuc

    You can solve your problem by taking help from this link http://www.nigelrivett.net/SQLTsql/TableNameAsVariable.html[^] cheers!! :)

    Database database help question

  • HyperLink
    R rujuc

    Instead of www.rediff.com, use http://www.rediff.com and it will work fine. :)

    ASP.NET com help
  • Login

  • Don't have an account? Register

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