i got it... i have tried this for (int i = 0; i <= ds.Tables[0].Rows.Count - 1; i++) { ds.Tables[0].Rows[i]["UID"] = 12; // or your dates } instead of ds.Tables[0].Columns.Add("UID").defaultValue=12; Thanks to every one of those who could not help me
RajaAhmed
Posts
-
bulkcopy.writetoserver() -
bulkcopy.writetoserver()actully i want to copy the XML file into the database table, but in distination table there is an extra column. i want to add a new column and gave it a value. DataSet ds = new DataSet(); ds.ReadXml("C:\\abc.xml"); DataTable sourceData = new DataTable(); sourceData = ds.Tables[0]; DataColumn UID = new DataColumn(); UID.DataType = System.Type.GetType("System.Int32"); UID.ColumnName = "UID"; sourceData.Columns.Add(UID); sourceData.Columns["UID"] = 12; i have done the mapping.... bulkCopy.ColumnMappings.Add("UID", "UID"); . . . . and in end bulkCopy.DestinationTableName = "Contact"; bulkCopy.WriteToServer(sourceData); but UID column always gave the null value in database... any idea??
-
getting the value in javascriptnot at all actually its just typing mistake. in js.. var lbl = document.getElementById('<=title.ClientID>;').value; title is.. ;
-
getting the value in javascriptu meanz. var lbl = document.getElementById(<%=title.ClientID>').value; but still not working
-
getting the value in javascriptm looking to get the value of label or hidden input field in javascript .... var lbl = document.getElementById(Label1); . . so.addParam('flashvars', 'file=' + lbl.value + '&type=video'); . . > where Label1 is or but i m not geeting it right any help......... thanks in advance
-
url property of the embeded objectthanks but i want to change it dynamically.....
-
url property of the embeded objecti want to change the url property of the embeded object(media player) in my webpage.... is it possible through javascript or codebehind. sample code help???? thnks in advance
-
adobe flash palyeri want to use adobe flash palyer in my web page to display .flv videos. i have downloaded player.. how can i use it in my project.....
-
validate the extension of the uploaded fileactually i want to just validate whether the uploaded file is a video file or not i-e .dat, .mp4,.mpegv etc
-
fileUpload control of aspi want to assign a value oMediaManagerPro.SourceFile_Path =fuplVideo.PostedFile.FileName; oMediaManagerPro.Video_Bitrate = 300; oMediaManagerPro.Audio_Bitrate = 64; oMediaManagerPro.Audio_SamplingRate = 22050; MediaInfo oMediaInfo = oMediaManagerPro.ConvertTo_MP4(); but fuplVideo.PostedFile.FileName just give the name of the file not full path.....
-
validate the extension of the uploaded filei m looking for regex that validate the extension of the uploaded file
-
fileUpload control of aspi m using mozilla fire fox n looking for a full path of posted file from fileUpload control of asp string filepath= fileUpload1.PostedFile.FileName; but filepath only holds the file name.. no path............... helpp plzzzzzzzzzz
-
fileupload controll of aspi m using mozilla fire fox n looking for a full path of posted file from fileUpload control of asp string filepath= fileUpload1.PostedFile.FileName; but filepath only holds the file name.. no path............... helpp plzzzzzzzzzz
-
convert video to flash formatnot that new to buy a book actually i havnt use any external library yet,
-
convert video to flash formatTHANX stancrm i have downloaded class library.. as i am new in the programming, can you plz help me out how to use it in my web page thanks in advance
-
convert video to flash formati would like to upload the videos in any format and convert it in .flv or swf formats using VS 2008.... is there any third party control available for asp.net/C#
-
how to add a .dll in ur websitewww.dominion-web.com/applications/flvconverter/ i hve downloaded from this url . can u please help me how to use the dll in my website using .net
-
upload and convert the videos in .flv fomathttp://www.dominion-web.com/applications/flvconverter/ i hve downloaded from this address can u please help me how to use the dll in my project
-
upload and convert the videos in .flv fomatthax tamer.......
-
upload and convert the videos in .flv fomathi everyone can u please help me i m looking to upload and convert the videos in .flv fomat before saving on the server. is there any .net control available or any code?????????????