Click here to Skip to main content
15,912,400 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Is it possible to upload videos to Youtube from asp.net Pin
saanj8-Jun-09 23:47
saanj8-Jun-09 23:47 
GeneralRe: Is it possible to upload videos to Youtube from asp.net Pin
Baran M9-Jun-09 1:55
Baran M9-Jun-09 1:55 
GeneralRe: Is it possible to upload videos to Youtube from asp.net Pin
saanj9-Jun-09 2:06
saanj9-Jun-09 2:06 
QuestionPDF problem in ASP.net 2.0 Pin
Amit Patel19858-Jun-09 22:24
Amit Patel19858-Jun-09 22:24 
AnswerRe: PDF problem in ASP.net 2.0 Pin
Manas Bhardwaj8-Jun-09 22:44
professionalManas Bhardwaj8-Jun-09 22:44 
QuestionRe: PDF problem in ASP.net 2.0 Pin
Amit Patel198510-Jun-09 0:59
Amit Patel198510-Jun-09 0:59 
AnswerRe: PDF problem in ASP.net 2.0 Pin
Manas Bhardwaj10-Jun-09 1:05
professionalManas Bhardwaj10-Jun-09 1:05 
Questionerror String or binary data would be truncated. Pin
prateekfgiet8-Jun-09 21:41
prateekfgiet8-Jun-09 21:41 
hi i m using asp.net c#
n i m trying to save data in to data base it give error at time of save
code is
cmd.CommandText = "select invoice_no from invoice where invoice_no=(select Max(invoice_no) from invoice)";
adp.Fill(ds, "dm");
foreach (DataRow dm in ds.Tables["dm"].Rows)
{
Label2.Text = dm["invoice_no"].ToString();
}
Label2.Text = Convert.ToString( Convert.ToInt32(Label2.Text) + 1);
// add in the table material incoming
cmd.CommandText = "Select * from invoice";
adp.Fill(ds, "re");
dr = ds.Tables["re"].NewRow();
cb = new SqlCommandBuilder(adp);
adp.Update(ds.Tables["re"]);
dr = ds.Tables["re"].NewRow();
dr["invoice_no"] = Convert.ToString(l);
//dr["enterby"] = Label64.Text; //ddlinby.SelectedIndex.ToString();
dr["po_no"] = TextBox2.Text;
dr["dc_no"] = TextBox3.Text;
dr["comp_name"] = TextBox4.Text;
dr["comp_add"] = TextBox5.Text;
dr["tin_no"] = TextBox42.Text;
dr["total_vat"] = TextBox34.Text;
dr["prod1"] = TextBox35.Text;
dr["prod2"] = TextBox36.Text;
dr["prod3"] = TextBox37.Text;
dr["prod4"] = TextBox38.Text;
dr["prod5"] = TextBox39.Text;
dr["prod6"] = TextBox40.Text;
dr["prod1_q"] = TextBox12.Text;
dr["prod2_q"] = TextBox13.Text;
dr["prod3_q"] = TextBox14.Text;
dr["prod4_q"] = TextBox15.Text;
dr["prod5_q"] = TextBox16.Text;
dr["prod6_q"] = TextBox17.Text;
dr["prod1_p"] = TextBox18.Text;
dr["prod2_p"] = TextBox19.Text;
dr["prod3_p"] = TextBox20.Text;
dr["prod4_p"] = TextBox21.Text;
dr["prod5_p"] = TextBox22.Text;
dr["prod6_p"] = TextBox23.Text;
dr["vat"] = TextBox31.Text;
dr["total"] = TextBox30.Text;
dr["price"] = TextBox33.Text;
ds.Tables["re"].Rows.Add(dr);
cmd.CommandText = "Select * from invoice";
cb = new SqlCommandBuilder(adp);
adp.Update(ds.Tables["re"]);

and error is
String or binary data would be truncated.The statement has been terminated.
at this line
adp.Update(ds.Tables["re"]);
pls help me
AnswerRe: error String or binary data would be truncated. Pin
saanj8-Jun-09 21:52
saanj8-Jun-09 21:52 
AnswerRe: error String or binary data would be truncated. Pin
samMaster9-Jun-09 2:04
samMaster9-Jun-09 2:04 
Questionhow can hide the grid view data Pin
lakshmichawala8-Jun-09 21:33
lakshmichawala8-Jun-09 21:33 
AnswerRe: how can hide the grid view data Pin
demouser7438-Jun-09 21:37
demouser7438-Jun-09 21:37 
GeneralRe: how can hide the grid view data Pin
lakshmichawala8-Jun-09 21:41
lakshmichawala8-Jun-09 21:41 
GeneralRe: how can hide the grid view data Pin
demouser7438-Jun-09 22:34
demouser7438-Jun-09 22:34 
Questionshowing dashboard Pin
naveen attri8-Jun-09 21:11
naveen attri8-Jun-09 21:11 
AnswerRe: showing dashboard Pin
Viral Upadhyay9-Jun-09 0:52
Viral Upadhyay9-Jun-09 0:52 
QuestionReplacing the Old File With Newly Uploaded File Pin
demouser7438-Jun-09 21:05
demouser7438-Jun-09 21:05 
AnswerRe: Replacing the Old File With Newly Uploaded File Pin
Abhijit Jana8-Jun-09 21:14
professionalAbhijit Jana8-Jun-09 21:14 
GeneralRe: Replacing the Old File With Newly Uploaded File Pin
demouser7438-Jun-09 21:17
demouser7438-Jun-09 21:17 
GeneralRe: Replacing the Old File With Newly Uploaded File Pin
Kapil Thakur9-Jun-09 2:31
Kapil Thakur9-Jun-09 2:31 
QuestionInserting "Hindi" vlaue in MySql5.1 using Asp.net Pin
mkumar25118-Jun-09 21:03
mkumar25118-Jun-09 21:03 
Questionmultiple file upload Pin
saravanan058-Jun-09 21:00
saravanan058-Jun-09 21:00 
AnswerRe: multiple file upload Pin
Abhijit Jana8-Jun-09 21:04
professionalAbhijit Jana8-Jun-09 21:04 
QuestionExporting Report in ReportViewer Pin
jgotlt8-Jun-09 20:28
jgotlt8-Jun-09 20:28 
AnswerRe: Exporting Report in ReportViewer Pin
saanj8-Jun-09 20:39
saanj8-Jun-09 20:39 

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.