Click here to Skip to main content
16,016,736 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: vs2003 will support third party controls? Pin
Christian Graus15-Nov-08 2:14
protectorChristian Graus15-Nov-08 2:14 
QuestionProblem in DropdownList Pin
WinCrs14-Nov-08 18:59
WinCrs14-Nov-08 18:59 
AnswerRe: Problem in DropdownList Pin
mr_muskurahat14-Nov-08 20:18
mr_muskurahat14-Nov-08 20:18 
GeneralRe: Problem in DropdownList Pin
WinCrs14-Nov-08 20:38
WinCrs14-Nov-08 20:38 
GeneralRe: Problem in DropdownList Pin
mr_muskurahat14-Nov-08 21:12
mr_muskurahat14-Nov-08 21:12 
AnswerRe: Problem in DropdownList Pin
suresh_00115-Nov-08 4:32
suresh_00115-Nov-08 4:32 
AnswerRe: Problem in DropdownList Pin
AlexeiXX316-Nov-08 8:41
AlexeiXX316-Nov-08 8:41 
Questionto fetch the table name Pin
varsh1214-Nov-08 18:51
varsh1214-Nov-08 18:51 
I have a table which name is login & contain 3 columns. Such as: Name,password & code. In code column contains the table name. eg: table1,table2 so on.

And I also create the table of same name as mentioned in code column which is mentioned above.

My requirement is that I insert the value in table1 or table2. but in insert query I want to put the table name from the code column.

I use following two methods but it didn’t work::

string code = " select code from login where user_name= name";
da = new SqlDataAdapter(code, con);
string s = da.Fill(ds, "c");
            
string time = " insert into '"+s+"' values (getdate(),getdate())";
da = new SqlDataAdapter(time, con);
da.Fill(ds, "b");

------------OR-------------
string code = " select code from login where user_name = name'";
string time = " insert into '"+s+"' values (getdate(),getdate())";
da = new SqlDataAdapter(time, con);
da.Fill(ds, "b");    


thanks in advance
Questionuse sql User Defined Function in Asp.Net Pin
Sneha Bisht14-Nov-08 17:58
Sneha Bisht14-Nov-08 17:58 
AnswerRe: use sql User Defined Function in Asp.Net Pin
Christian Graus15-Nov-08 2:14
protectorChristian Graus15-Nov-08 2:14 
QuestionMore drop down lists questions Pin
Aptiva Dave14-Nov-08 8:42
Aptiva Dave14-Nov-08 8:42 
AnswerRe: More drop down lists questions Pin
Sneha Bisht14-Nov-08 17:18
Sneha Bisht14-Nov-08 17:18 
AnswerRe: More drop down lists questions Pin
Christian Graus15-Nov-08 2:15
protectorChristian Graus15-Nov-08 2:15 
QuestionTrace HTTP requests through server Pin
geekfromindia14-Nov-08 5:26
geekfromindia14-Nov-08 5:26 
AnswerRe: Trace HTTP requests through server Pin
jzonthemtn14-Nov-08 7:55
jzonthemtn14-Nov-08 7:55 
GeneralRe: Trace HTTP requests through server Pin
geekfromindia15-Nov-08 6:18
geekfromindia15-Nov-08 6:18 
GeneralRe: Trace HTTP requests through server Pin
N a v a n e e t h16-Nov-08 3:55
N a v a n e e t h16-Nov-08 3:55 
QuestionHello .. i'm new in asp.net : i need to use POST vars ... instead of GET : Request["myGetvar"] Pin
Mahhouraaaaaa14-Nov-08 3:40
Mahhouraaaaaa14-Nov-08 3:40 
AnswerRe: Hello .. i'm new in asp.net : i need to use POST vars ... instead of GET : Request["myGetvar"] Pin
Guffa14-Nov-08 4:54
Guffa14-Nov-08 4:54 
AnswerRe: Hello .. i'm new in asp.net : i need to use POST vars ... instead of GET : Request["myGetvar"] Pin
Sneha Bisht14-Nov-08 17:20
Sneha Bisht14-Nov-08 17:20 
QuestionWCF Web Service Problems... Pin
DotNetCoderJunior14-Nov-08 2:36
DotNetCoderJunior14-Nov-08 2:36 
AnswerRe: WCF Web Service Problems... Pin
Abhijit Jana15-Nov-08 1:09
professionalAbhijit Jana15-Nov-08 1:09 
QuestionWierd behavior in custom control's design time when namespace starts with Style Pin
Sivastyle14-Nov-08 2:35
Sivastyle14-Nov-08 2:35 
QuestionSession Timeout Problem!!! Pin
mr_muskurahat14-Nov-08 2:21
mr_muskurahat14-Nov-08 2:21 
AnswerRe: Session Timeout Problem!!! Pin
ToddHileHoffer14-Nov-08 5:36
ToddHileHoffer14-Nov-08 5:36 

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.