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 ::(
anubhaw gupta
Posts
-
How to extract data of a table. -
How to show the previous selected checked box in previous page in asp.netIf 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.
-
Can we make a application to update FB status?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.
-
Syntax error in store procedurealter 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?
-
Syntax error in store procedureHey i got it. but that's not compulsory i guess. :|
-
Syntax error in store procedurehere 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 :|
-
Extract data from another site.Thanks a lot. :)
-
Extract data from another site.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?
-
Extract data from another site.Thanks. It still showing tht problem. tried tweaking things up but aint working. Will try more. :)
-
Extract data from another site.Really sorry for bugging you. But the "unvalidated" is showing error. it says it doesnt contain a definition for unvalidated.
-
Extract data from another site.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?
-
Extract data from another site.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.
-
Extract data from another site.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-