Click here to Skip to main content
15,895,777 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: adding table to div at runtime.. but when i want to access it using findcontrol method its returning null Pin
Muhammad Mazhar17-Sep-09 9:07
Muhammad Mazhar17-Sep-09 9:07 
QuestionRemove tabindex from custom control Pin
sonalee230416-Sep-09 23:19
sonalee230416-Sep-09 23:19 
AnswerRe: Remove tabindex from custom control Pin
ss_hellhound15-Oct-09 2:04
ss_hellhound15-Oct-09 2:04 
Questionhow to save value in Ms Access using asp.net 2.0 C# Pin
prateekfgiet16-Sep-09 22:59
prateekfgiet16-Sep-09 22:59 
AnswerRe: how to save value in Ms Access using asp.net 2.0 C# Pin
Rajeshwar Code- Developer16-Sep-09 23:33
Rajeshwar Code- Developer16-Sep-09 23:33 
GeneralRe: how to save value in Ms Access using asp.net 2.0 C# Pin
prateekfgiet16-Sep-09 23:41
prateekfgiet16-Sep-09 23:41 
GeneralRe: how to save value in Ms Access using asp.net 2.0 C# Pin
sashidhar16-Sep-09 23:51
sashidhar16-Sep-09 23:51 
AnswerRe: how to save value in Ms Access using asp.net 2.0 C# Pin
Prabhakar Parihar18-Sep-09 22:02
Prabhakar Parihar18-Sep-09 22:02 
Firstly u add   <appSettings> tag in web config file
attach data base

   <appSettings>
      <add key="ConnectionStrings" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source={0}"/>
      <add key="dbfile" value="~/App_Data/data.mdb"/>
   </appSettings>


then after

   Pro = ConfigurationManager.AppSettings["ConnectionStrings"].ToString();
                        MyPath = ConfigurationManager.AppSettings["dbfile"].ToString();
                        Conns = String.Format(Pro, HttpContext.Current.Server.MapPath(MyPath));
                        con = new OleDbConnection(Conns);
                        con.Open();
                        string st = "Madhaya Pradesh";
                        string qql = "INSERT into Registration(UniqueID,Name,FName,DOB,TMarks,OMarks,PMarks,PClass,PLine,Board,District,Division,Category,Sex,PChallange,Address,Pin,RDistrict,State,Phone,SchoolAddress,SchoolPincode,SchoolDistrict) values('" + lbluniquid.Text + "','" + txtname.Text + "','" + txtfathername.Text + "','" + tbMyDate.Text + "'," + txttotalmarks.Text + "," + txtobtainmarks.Text + "," + p + ",'" + rdpresent.SelectedItem.Text + "','" + rdpovertyline.SelectedItem.Text + "','" + rdboard.SelectedItem.Text + "','" + ddldistrict.SelectedItem.Text + "','" + lbldivision.Text + "','" + rdcategory.SelectedItem.Text + "','" + rdsex.SelectedItem.Text + "','" + rdphysically.SelectedItem.Text + "','" + txtaddress.Text + "','" + txtpincode.Text + "','" + ddldistrict1.SelectedItem.Text + "','" + st   + "','" + txtcontact.Text + "','"+ txtschooladdress.Text +"','"+ txtschoolpincode.Text +"','"+ ddldistrict2.SelectedItem.Text +"')";
                        cmd = new OleDbCommand(qql, con);
                        int res;
                        res = cmd.ExecuteNonQuery();
                        res = 1;
                        con.Close();

prabhakar
AnswerRe: how to save value in Ms Access using asp.net 2.0 C# Pin
Prabhakar Parihar18-Sep-09 22:25
Prabhakar Parihar18-Sep-09 22:25 
Questioncan ajax run if javascript is disabled on client browser Pin
S.Aijaz16-Sep-09 22:57
S.Aijaz16-Sep-09 22:57 
AnswerRe: can ajax run if javascript is disabled on client browser Pin
Manas Bhardwaj16-Sep-09 23:16
professionalManas Bhardwaj16-Sep-09 23:16 
GeneralRe: can ajax run if javascript is disabled on client browser Pin
Rajeshwar Code- Developer16-Sep-09 23:32
Rajeshwar Code- Developer16-Sep-09 23:32 
GeneralRe: can ajax run if javascript is disabled on client browser Pin
Manas Bhardwaj16-Sep-09 23:56
professionalManas Bhardwaj16-Sep-09 23:56 
AnswerRe: can ajax run if javascript is disabled on client browser Pin
Muhammad Mazhar17-Sep-09 9:11
Muhammad Mazhar17-Sep-09 9:11 
QuestionPrint problem Pin
SUDHAKAR PALLAM16-Sep-09 22:03
SUDHAKAR PALLAM16-Sep-09 22:03 
AnswerRe: Print problem Pin
sashidhar16-Sep-09 22:52
sashidhar16-Sep-09 22:52 
GeneralRe: Print problem Pin
SUDHAKAR PALLAM16-Sep-09 23:09
SUDHAKAR PALLAM16-Sep-09 23:09 
GeneralRe: Print problem Pin
sashidhar16-Sep-09 23:31
sashidhar16-Sep-09 23:31 
QuestionBitkoo KeyStone Provider Pin
miniThomas16-Sep-09 21:55
miniThomas16-Sep-09 21:55 
AnswerRe: Bitkoo KeyStone Provider Pin
DGrinstein17-Sep-09 18:22
DGrinstein17-Sep-09 18:22 
GeneralRe: Bitkoo KeyStone Provider Pin
miniThomas17-Sep-09 18:54
miniThomas17-Sep-09 18:54 
GeneralRe: Bitkoo KeyStone Provider Pin
DGrinstein18-Sep-09 3:39
DGrinstein18-Sep-09 3:39 
QuestionRead binary of .RAW file as image Pin
RajeevKumarSharma16-Sep-09 21:32
RajeevKumarSharma16-Sep-09 21:32 
AnswerRe: Read binary of .RAW file as image Pin
ramki.pindi16-Sep-09 21:54
ramki.pindi16-Sep-09 21:54 
GeneralRe: Read binary of .RAW file as image Pin
RajeevKumarSharma16-Sep-09 23:45
RajeevKumarSharma16-Sep-09 23:45 

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.