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

anubhaw gupta

@anubhaw gupta
About
Posts
13
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to extract data of a table.
    A anubhaw gupta

    I need a help. what i exactly wanna do is that i want to make an android app for my college attendance and everything. (That's my final goal.) But before that i want to make a webpage where i can do the same. Suppose a guy will enter his id and password and then i'll show the content in a table. http://img404.imageshack.us/img404/5751/evar.jpg[^] Above is the college's page where i do the same. but when i extract the html source of the page, i dont get table's data. but when i manuallly select the table and then view the page source,i can see that. What i exactly wanna know is that how to that in dotnet? i mean how to get the source of the tabble. Help ::(

    ASP.NET csharp html android help tutorial

  • How to show the previous selected checked box in previous page in asp.net
    A anubhaw gupta

    If i have to give an opinion,i'll say that use javascript to store the value corresponding to the question no and show that everytime. By default keep nothing in the radiobutton. Hope this helps.

    ASP.NET csharp asp-net database help tutorial

  • Can we make a application to update FB status?
    A anubhaw gupta

    I am kinda new to fb related programming but am really keen to learn. I was wondering that how to make a application to update Status on FACEBOOK. I want it like it says, "updated by postcorn" or "updated by xyx". I know its possible as i have seen a lot of applications like that. Say somewhat automated updates of status? Please help me out. And yeah i tried google. Maybe my method was wrong o anything but i didn't got the desired result.

    ASP.NET help tutorial question announcement

  • Syntax error in store procedure
    A anubhaw gupta

    alter procedure mdi_anu
    (
    @entry_date varchar(20),
    @updated_date varchar(20),
    @status varchar(20),
    @cno varchar(20),
    @eno varchar(20)
    )

    as
    begin
    declare @SQL varchar(max)
    set @SQL='SELECT * FROM anu123 where 1=1 '

    --if (@status='ALL')  
    --	begin  
    --	set @status='ALL'  
    --	set @SQL=@SQL + 'and status=''' +@status
    --end  
    
    if (@status='A')  
    	begin  
    	set @status='A'  
    	--set @SQL=@SQL+' and status='''+@status
    end  
    
    if (@status='R')  
    	begin  
    	set @status='R'  
    	set @SQL=@SQL+' and status=''' +@status
    end  
    
    if (@status='D')  
    	begin  
    	set @status='D'  
    	set @SQL=@SQL+' and status=''' +@status
    end  
    
    if (@status='P')  
    	begin  
    	set @status='P'  
    	set @SQL=@SQL+' and status=''' +@status
    end 
    
    
     
    if (@entry\_date<>'' and @updated\_date<>'')  
    begin  
    
    set @entry\_date =CONVERT (datetime, @entry\_date, 103)        
    set @updated\_date= CONVERT(datetime, @updated\_date, 103)  
    set @SQL=@SQL+'and entry\_date>=''' +@entry\_date+'''and updated\_date<='''+@updated\_date+''''  
    end
    
    if (@cno<>'')  
    begin  
    set @cno=@cno  
    set @SQL=@SQL+'and cno=''' +@cno+
    end  
    
    
    if (@eno<>'')  
    begin  
    set @eno=@eno  
    set @SQL=@SQL+'and eno=''' +@eno+
    end 
    

    exec (@SQL)

    end

    the error which m getting is that,suppose m choosing 'D' as my input in the status i get "Unclosed quotation mark after the character string 'D'. Incorrect syntax near 'D'." Whats the problem?

    ASP.NET help database question

  • Syntax error in store procedure
    A anubhaw gupta

    Hey i got it. but that's not compulsory i guess. :|

    ASP.NET help database question

  • Syntax error in store procedure
    A anubhaw gupta

    here is my piece of code alter procedure mdi_anu ( @entry_date varchar(20), @updated_date varchar(20), @status varchar(20), @cno varchar(20), @eno varchar(20)) as declare @SQL varchar(max) set @SQL='SELECT * FROM anu123 where 1=1 ' if (@status='ALL') begin set @status='ALL' end if (@status='A') begin set @status='A' end if (@status='R') begin set @status='R' end if (@status='D') begin set @status='D' end if (@status='P') begin set @status='P' end if (@entry_date<>'' and @updated_date<>'') begin set @entry_date =CONVERT (datetime, @entry_date, 103) set @updated_date= CONVERT(datetime, @updated_date, 103) set @SQL=@SQL+'and entry_date>=''' +@entry_date+'''and updated_date<='''+@updated_date+'''' end if (@cno<>'') begin set @cno=@cno set @SQL=@SQL+'and cno=''' +@cno end if (@eno<>'') begin set @eno=@eno set @SQL=@SQL+'and eno=''' +@eno end exec (@SQL) End Can anyone tell me,where am wrong? stuck from 2 hr. Saying incorrect syntax near the last end :|

    ASP.NET help database question

  • Extract data from another site.
    A anubhaw gupta

    Thanks a lot. :)

    ASP.NET help

  • Extract data from another site.
    A anubhaw gupta

    I got that. One more question. Suppose i want to get the html of facebook.com. it'll give me that. but once i login,it will still give the old i.e the default html code. how to get the new changed code?

    ASP.NET help

  • Extract data from another site.
    A anubhaw gupta

    Thanks. It still showing tht problem. tried tweaking things up but aint working. Will try more. :)

    ASP.NET help

  • Extract data from another site.
    A anubhaw gupta

    Really sorry for bugging you. But the "unvalidated" is showing error. it says it doesnt contain a definition for unvalidated.

    ASP.NET help

  • Extract data from another site.
    A anubhaw gupta

    Hey thanks. Actually i got it. What i was missing was that i wasnt prefixing "http://" before. but it's ok now. but there's a diff issue now. I have a page say "http://ev~.in/.../..../~.jsp" It's showing error that "

    A potentially dangerous Request.Form value was detected from the client (txtdest="<!doctype html><html...").

    Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. To allow pages to override application request validation settings, set the requestValidationMode attribute in the httpRuntime configuration section to requestValidationMode="2.0". Example: <httpRuntime requestValidationMode="2.0" />. After setting this value, you can then disable request validation by setting validateRequest="false" in the Page directive or in the <pages> configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. For more information, see http://go.microsoft.com/fwlink/?LinkId=153133.

    " I guess we cant bypass that. right? What my main aim is that i have table under tht page (i have to login too) which shows attendance. I just want to extract the attendance thing. Is it possible?

    ASP.NET help

  • Extract data from another site.
    A anubhaw gupta

    Thanks for that. Really Appreciate that but am getting a problem. Error says: "Could not find file 'C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\www.google.com'." Am not getting that what's the problem.

    ASP.NET help

  • Extract data from another site.
    A anubhaw gupta

    Actually i have a doubt. I was thinking to make some tool but the problem is that it needs to extract some data which is in datagrid in some other site. Is it possible to extract those data from that site and store it in,say,textbox in my site. :doh:

    -ANUBHAW-

    ASP.NET 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