Click here to Skip to main content
16,005,037 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGenerate a XML file from SQL Serve table's data? Pin
chand108-Jul-07 20:55
chand108-Jul-07 20:55 
AnswerRe: Generate a XML file from SQL Serve table's data? Pin
N a v a n e e t h8-Jul-07 21:24
N a v a n e e t h8-Jul-07 21:24 
Questionproblems with break point and debugging in VS.NET Pin
anystudent8-Jul-07 20:53
anystudent8-Jul-07 20:53 
AnswerRe: problems with break point and debugging in VS.NET Pin
Michael Sync8-Jul-07 21:15
Michael Sync8-Jul-07 21:15 
AnswerRe: problems with break point and debugging in VS.NET Pin
N a v a n e e t h8-Jul-07 21:15
N a v a n e e t h8-Jul-07 21:15 
GeneralRe: problems with break point and debugging in VS.NET Pin
anystudent8-Jul-07 21:55
anystudent8-Jul-07 21:55 
GeneralRe: problems with break point and debugging in VS.NET Pin
N a v a n e e t h8-Jul-07 22:24
N a v a n e e t h8-Jul-07 22:24 
QuestionFrom stored procedure to bind datas to datagrid..., Pin
Member 38798818-Jul-07 20:52
Member 38798818-Jul-07 20:52 
Hi i am using one stored procedure...,
i am passing month value and year value to that procedure...,
So i am getting a month all dates...,
Its i checked with query analyzer...,
Now my question is,
I try to display those dates in my datagrid...,
So i have created one boundcolumn, in that i try to display those dates...,
But its displaying first date only...,
Becoz each and every loop its creating the date name as startdate...,
How to solve this probs...,
This is my stored procedure:

CREATE PROCEDURE datetesting
(
@months as tinyint,
@years as smallint
)
As

DECLARE
@startDate datetime,
@nextdate datetime,
@endDate datetime

begin

SET @startDate = CAST( CAST(@years AS varchar(4) ) + '0101' AS datetime )
SET @startDate = DATEADD( m, @months - 1, @startDate )

set @enddate=dateadd(m,1,@startdate)
set @enddate=dateadd(d,-1,@enddate)

select @startdate as startdate

if @startdate < @enddate
begin

SET @nextdate = DATEADD( d, 0, @startdate )
set @startdate=dateadd(d,1,@nextdate)
select @startdate as startdate

end

Advance thanks,

end
GO



Regards,
Magi

AnswerRe: From stored procedure to bind datas to datagrid..., Pin
N a v a n e e t h8-Jul-07 21:13
N a v a n e e t h8-Jul-07 21:13 
GeneralRe: From stored procedure to bind datas to datagrid..., Pin
Member 38798818-Jul-07 21:38
Member 38798818-Jul-07 21:38 
GeneralRe: From stored procedure to bind datas to datagrid..., Pin
N a v a n e e t h8-Jul-07 22:30
N a v a n e e t h8-Jul-07 22:30 
GeneralRe: From stored procedure to bind datas to datagrid..., Pin
Member 38798818-Jul-07 23:13
Member 38798818-Jul-07 23:13 
AnswerRe: From stored procedure to bind datas to datagrid..., Pin
Michael Sync8-Jul-07 21:13
Michael Sync8-Jul-07 21:13 
GeneralRe: From stored procedure to bind datas to datagrid..., Pin
Member 38798818-Jul-07 21:32
Member 38798818-Jul-07 21:32 
Questioncan we stop the (page(aspx) or div) postback through javascript Pin
Piyush Vardhan Singh8-Jul-07 20:47
Piyush Vardhan Singh8-Jul-07 20:47 
AnswerRe: can we stop the (page(aspx) or div) postback through javascript Pin
Michael Sync8-Jul-07 21:09
Michael Sync8-Jul-07 21:09 
GeneralRe: can we stop the (page(aspx) or div) postback through javascript Pin
Piyush Vardhan Singh8-Jul-07 21:37
Piyush Vardhan Singh8-Jul-07 21:37 
AnswerRe: can we stop the (page(aspx) or div) postback through javascript Pin
N a v a n e e t h8-Jul-07 21:11
N a v a n e e t h8-Jul-07 21:11 
QuestionASP.Net? Pin
| Muhammad Waqas Butt |8-Jul-07 20:47
professional| Muhammad Waqas Butt |8-Jul-07 20:47 
AnswerRe: ASP.Net? Pin
Michael Sync8-Jul-07 21:07
Michael Sync8-Jul-07 21:07 
Questionhow display the rating Pin
suparichit8-Jul-07 20:26
suparichit8-Jul-07 20:26 
AnswerRe: how display the rating Pin
N a v a n e e t h8-Jul-07 21:08
N a v a n e e t h8-Jul-07 21:08 
GeneralRe: how display the rating Pin
suparichit8-Jul-07 21:14
suparichit8-Jul-07 21:14 
GeneralRe: how display the rating Pin
N a v a n e e t h8-Jul-07 21:20
N a v a n e e t h8-Jul-07 21:20 
QuestionGenerating &lt;TD>'s at runtime Pin
Rajiya8-Jul-07 20:18
Rajiya8-Jul-07 20:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.